:root {
    --primary: #0d6efd;
    --primary-soft: rgba(13, 110, 253, 0.12);
    --dark: #1c1f26;
    --muted: #6b7280;
    --card-bg: #ffffff;
    --page-bg: #f4f6fa;
    --radius: 14px;
    --max-w: 1200px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Ana container */
.about-container {
    max-width: var(--max-w);
    margin: 48px auto;
    padding: 0 22px;
}

/* HERO */
header.hero {
    background: linear-gradient(135deg, var(--primary-soft), rgba(13, 110, 253, 0.03));
    padding: 40px;
    border-radius: var(--radius);
    display: flex;
    gap: 28px;
    align-items: center;
    box-shadow: var(--shadow-soft);
    transition: .3s ease;
}

header.hero:hover {
    transform: translateY(-2px);
}

/* HERO text */
.hero-left {
    flex: 1;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
}

.hero-sub {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 15px;
}

/* HERO stats */
.hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.stat {
    background: var(--card-bg);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    min-width: 120px;
    text-align: center;
    border: 1px solid #eef2ff;
    transition: .25s ease;
}

.stat:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.stat strong {
    display: block;
    font-size: 22px;
    color: var(--primary);
}

/* HERO image */
.hero-image {
    width: 280px;
    height: 160px;
    background: #e7edff;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.05);
}

/* SECTION CARD */
section.card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--radius);
    margin-top: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #eef2ff;
    transition: .3s ease;
}

section.card:hover {
    transform: translateY(-2px);
}

/* Section title */
h2.section-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
}

/* Lead paragraphs */
p.lead {
    color: var(--muted);
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
}

/* Two-column layout */
.two-col {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.col {
    flex: 1 1 340px;
}

/* Services grid */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.service {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8ff;
    background: linear-gradient(180deg, #fff, #fafeff);
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: .25s ease;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

/* Contact list */
.contact-list {
    margin: 10px 0 0;
    color: var(--muted);
    list-style: none;
    padding: 0;
}

.contact-list li {
    margin-bottom: 6px;
}

/* Footer */


/* Mobile responsive */
@media (max-width: 600px) {
    header.hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }

    .hero-image {
        width: 100%;
        height: 170px;
    }
}


.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.pdf-card {
    background: #fff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e0e5f5;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.pdf-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.pdf-view {
    width: 100%;
    height: 360px;
    border-radius: 8px;
    border: none;
    background: #f1f3ff;
}

/*** HARİTA CSS  ***/

#map-area {
    padding: 0;
    margin: 0;
}

#map-area .map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    /* sabit istersen */
    overflow: hidden;
    border-radius: 10px;
    /* istersen */
}

/* Responsive yapmak istersen: height → oranlı */
@media (max-width: 768px) {
    #map-area .map-wrapper {
        height: 320px;
    }
}

#map-area .map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* KARİYER */

/* Başlık alanı */
.career-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #1c1c1c;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.career-subtitle {
    text-align: center;
    font-size: 17px;
    margin-bottom: 40px;
    color: #555;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Açık pozisyonlar kartı */
.career-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 25px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    transition: 0.3s;
}

.career-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
}

/* Kart başlık */
.career-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #1a1a1a;
}

/* Pozisyon listesi */
.position-item {
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border: 1px solid #ececec;
    transition: 0.2s;
    cursor: pointer;
}

.position-item:hover {
    background: #eef3ff;
    border-color: #d3ddff;
    transform: translateX(4px);
}

.position-item h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
}

.position-item p {
    font-size: 13px;
    margin: 5px 0 0;
    color: #666;
}

.invalid-feedback {
    color: #d93025 !important;
    /* Google kırmızısı */
    font-weight: 700;
    /* bold */
    margin-top: 4px;
    font-size: 14px;
}

.is-invalid {
    border-color: #d93025 !important;
}

.is-valid {
    border-color: #28a745 !important;
}

#careerForm .form-control {
    margin-bottom: 0 !important;
}

#careerForm .form-label {
    margin-top: 15px !important;
}

#contactForm .form-control {
    margin-bottom: 8px !important;
}

#contactForm .invalid-feedback {
    margin-bottom: 15px !important;
}

/*   Success - Error Message    */

#successMessage {
    padding: 15px;
    margin-top: 20px;
    border: 2px solid #28a745;
    background: #e9fbe9;
    color: #155724;
    font-weight: bold;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

#errorMessage {
    padding: 15px;
    margin-top: 20px;
    border: 2px solid #dc3545;
    background: #fdeaea;
    color: #a10f1c;
    font-weight: bold;
    border-radius: 8px;
}


/* Open Start Popup */

/* =========================
   VIDEO POPUP (RESPONSIVE)
   ========================= */

.popup {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 99999;
}

.popup.open {
    opacity: 1;
    visibility: visible;
}

/* Kutu */
.popup-inner {
    background: #0f172a;
    border-radius: 16px;
    width: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    animation: popupScale .35s ease;
}

/* Açılış animasyonu */
@keyframes popupScale {
    from {
        transform: scale(.92) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* ÜST BAŞLIK */
.popup-header {
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(135deg, #020617, #020617);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.popup-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .3px;
}

/* Kapatma */
.popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: .75;
    transition: opacity .2s;
}

.popup-close:hover {
    opacity: 1;
}

/* VIDEO ALANI */
.popup-body {
    background: #9e9e9e;
}

.popup video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
}

/* MOBİL */
@media (max-width: 768px) {
    .popup-inner {
        width: 95%;
        border-radius: 12px;
    }

    .popup-title {
        font-size: 15px;
    }

    .popup video {
        max-height: 60vh;
    }
}