:root {
    --brand-orange: #f37022;
    --ink: #2d3b45;
}

/* ===================== NAVBAR (style.css ile bire bir) ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(45, 59, 69, .85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color .3s ease, opacity 800ms ease;
}

.site-header.intro-hidden {
    opacity: 0;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 24px;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 50px;
    display: block;
    margin-left: 150px;
}

.logo img:hover {
    transform: scale(1.05);
    transition: transform .2s ease;
}

.menu {
    flex: 1 1 auto;
}

.menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: .1px;
    transition: color .2s ease;
}

.menu a:hover {
    color: var(--brand-orange);
}

/* Sağ blok (dil + CTA) */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-switch img {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: block;
    object-fit: cover;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1.5px solid #fff;
    color: #fff !important;
    border-radius: 8px;
    font-weight: 700;
    background: transparent;
    transition: background .2s, color .2s, border-color .2s, transform .1s;
}

.btn-ghost:hover {
    background: #fff;
    color: #22303a !important;
    border-color: #fff;
    transform: translateY(-1px);
}

/* Dropdownlar */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: #2d3b45;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
}

.dropdown:hover>.submenu {
    display: flex;
}

.submenu li {
    padding: 6px 16px;
}

.submenu li:hover {
    background: var(--brand-orange);
}

.submenu li:hover a {
    color: #fff;
}

.has-sub {
    position: relative;
}

.has-sub>.sub-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #2d3b45;
    display: none;
}

.has-sub:hover>.sub-submenu {
    display: block;
}

/* Orta ekranlarda taşıma olmasın diye ferahlık ayarları */
@media (max-width:1240px) {
    .logo img {
        margin-left: 80px;
    }

    .menu ul {
        gap: 22px;
    }

    .menu a {
        font-size: 14px;
    }
}

@media (max-width:1100px) {
    .logo img {
        margin-left: 0;
    }

    .menu ul {
        gap: 18px;
    }

    .menu a {
        font-size: 13px;
    }
}

/* Hamburger + mobil menü */
.hamburger {
    display: none;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: #2d3b45;
    z-index: 1000;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--brand-orange);
}

.mobile-menu.open {
    display: block;
}

.menu li.has-submenu>a::after {
    content: " ▼";
    font-size: .7em;
}

.menu li.has-submenu .submenu {
    display: none;
    padding-left: 10px;
    background: #344854;
    border-radius: 4px;
}

.menu li.has-submenu.open .submenu {
    display: block;
}

#mobileMenu .has-submenu ul.submenu {
    padding-left: 15px;
    margin-top: 5px;
    background: #2e3b42;
    border-left: 2px solid #ff7a00;
}

#mobileMenu .has-submenu ul.submenu li {
    margin: 5px 0;
    font-size: 14px;
}

#mobileMenu .has-submenu ul.submenu li a {
    color: #ddd;
    display: block;
}

#mobileMenu .has-submenu ul.submenu li a:hover {
    color: #fff;
}

#mobileMenu ul.sub-menu-mobile {
    display: none;
    padding-left: 20px;
}

#mobileMenu li.has-sub-mobile.open>ul.sub-menu-mobile {
    display: block;
}

@media (max-width:991px) {
    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .language-switch {
        display: none;
    }

    .navbar {
        padding: 12px 20px;
    }
}

/* Skip-link erişilebilir ama görünmez */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    background: #fff;
    color: #111;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

/* ===================== HERO ===================== */
.page-hero {
    position: relative;
    z-index: 1;
}

.hero-media {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .25), rgba(0, 0, 0, .35));
}

.hero-caption {
    position: absolute;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    padding: 0 16px;
}

.hero-caption h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    margin-bottom: 10px;
}

.hero-caption p {
    font-size: clamp(14px, 1.6vw, 18px);
    opacity: .95;
}

.hero-ctas {
    margin-top: 16px;
    display: inline-flex;
    gap: 12px;
}

.btn-orange {
    background: var(--brand-orange);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(243, 112, 34, .25);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width:768px) {
    .hero-media {
        height: auto;
    }

    .hero-video {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

/* ===================== İÇERİK ===================== */
#pageContent.show {
    opacity: 1 !important;
    visibility: visible;
    transform: none !important;
}

#pageContent .desc-section {
    padding: 80px 0 50px;
    background: #fff;
    text-align: center;
    scroll-margin-top: 120px;
}

#pageContent .desc-section .container {
    max-width: 900px;
    margin: 0 auto;
}

#pageContent .desc-section h2 {
    font-size: 32px;
    color: var(--brand-orange);
    margin: 0 0 18px;
}

#pageContent .desc-section .lead {
    font-size: 18px;
    line-height: 1.8;
    color: #3c3c3c;
    margin: 0 auto 16px;
}

#pageContent .desc-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
    margin: 0 auto 12px;
}

#pageContent .bullets {
    max-width: 900px;
    margin: 22px auto 0;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

#pageContent .bullets li {
    list-style: none;
    position: relative;
    padding-left: 22px;
    text-align: left;
    color: #2a2a2a;
}

#pageContent .bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-orange);
}

/* ===================== ÖNE ÇIKAN KARTLAR ===================== */
.highlights {
    padding: 30px 0 80px;
    background: #fff;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.card {
    background: #f5f6f7;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .06);
}

.card h3 {
    color: var(--ink);
    margin-bottom: 8px;
    font-size: 20px;
}

.card p {
    color: #4b4b4b;
    line-height: 1.7;
}

/* ===================== WHATSAPP ===================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* ===================== FOOTER ===================== */
.site-footer {
    background: #2d3b45;
    color: #fff;
    padding: 60px 0 30px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.site-footer .footer-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 40px;
    align-items: start;
}

.site-footer .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--brand-orange);
}

.site-footer .footer-col p {
    line-height: 1.7;
    color: #d9e1e6;
}

.site-footer .social-icons a {
    display: inline-block;
    margin-right: 10px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width:991px) {
    #pageContent .bullets {
        grid-template-columns: 1fr;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Logo ile menü arasına boşluk */
.navbar-brand img {
    margin-right: 50px;
}

/* Küçük ekranlarda menü ve buton düzeni */
@media (max-width: 1200px) {
    .navbar-nav {
        flex-wrap: wrap;
    }

    .navbar-nav li {
        margin-bottom: 5px;
    }

    .navbar .btn {
        margin-top: 5px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

/***** NAVBAR sıkışma düzeltmeleri + logo–menü aralığı *****/

/* 1) Logo–menü arasını aç */
.logo {
    margin-right: 32px;
}

/* isteyen 40px yapabilir */
.navbar {
    gap: 24px;
}

/* genel boşluk */

/* 2) Menü gerektiğinde küçülebilsin (Flex kısıtı) */
.menu {
    min-width: 0;
}

/* kritik: aksi halde sağ blok taşar */
.menu ul {
    flex-wrap: nowrap;
}

/* tek satırda kal */

/* 3) Yazılar tek satır kalsın */
.menu a {
    white-space: nowrap;
}

/* 4) Orta genişliklerde taşmayı önlemek için ferahlık ayarları */
@media (max-width: 1366px) {
    .logo img {
        margin-left: 100px;
    }

    /* soldaki payı biraz düşürüp dengeleyelim */
    .menu ul {
        gap: 24px;
    }

    .menu a {
        font-size: 14.5px;
    }

    .btn-ghost {
        padding: 8px 12px;
    }

    /* CTA biraz kompakt */
}

/* 5) 1280 ve altı: dil ikonlarını gizle, gap’i azalt — CTA garanti sığsın */
@media (max-width: 1280px) {
    .language-switch {
        display: none;
    }

    /* butona alan aç */
    .menu ul {
        gap: 20px;
    }

    .menu a {
        font-size: 14px;
    }
}

/* 6) 1150 ve altı: menüyü daha da sıkıştır */
@media (max-width: 1150px) {
    .menu ul {
        gap: 16px;
    }

    .menu a {
        font-size: 13.5px;
    }

    .logo {
        margin-right: 24px;
    }
}

/* 7) Mobil davranış zaten 991px'de hamburger'e geçiyor (style.css ile uyumlu) */