/* Sandeco tarzı navbar + hero — style.css ile birlikte yüklenir */

:root {
    --header-cream: #f5f2ed;
    --hero-burgundy: #6d2f3f;
    --header-h: 132px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: var(--header-cream);
    border-bottom: 1px solid rgba(14, 21, 32, .06);
    transition: box-shadow .4s cubic-bezier(.22, .61, .36, 1), transform .4s cubic-bezier(.22, .61, .36, 1);
}

.site-header.scrolled {
    box-shadow: 0 10px 36px rgba(14, 21, 32, .08);
}

.header-shell {
    max-width: calc(1280px + 80px);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 72px);
}

.header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 18px 0 10px;
}

.header-bar__left,
.header-bar__right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-bar__right {
    justify-content: flex-end;
}

.brand--lux {
    justify-self: center;
    text-align: center;
    line-height: 1;
    color: #0e1520;
    text-decoration: none;
}

.brand-lux {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    letter-spacing: .22em;
    color: #0e1520;
    text-transform: uppercase;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #0e1520;
    font-size: 1rem;
    text-decoration: none;
}

.header-icon-btn:hover {
    color: var(--hero-burgundy);
}

.site-header .main-nav {
    border-top: 1px solid rgba(14, 21, 32, .06);
    padding: 0 0 14px;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(14px, 2vw, 34px);
}

.site-header .main-nav li {
    margin: 0;
    padding: 0;
}

.site-header .main-nav a {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: .92rem;
    letter-spacing: .01em;
    text-transform: none;
    color: #0e1520;
    text-decoration: none;
    padding: 4px 0;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
    color: var(--hero-burgundy);
}

.site-header .lang-switch {
    position: relative;
}

.site-header .lang-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 14px;
    background: rgba(255, 255, 255, .6);
    border: 1px solid rgba(14, 21, 32, .1);
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .12em;
    color: #0e1520;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.site-header .lang-switch__trigger:hover,
.site-header .lang-switch.is-open .lang-switch__trigger {
    background: #fff;
    border-color: rgba(14, 21, 32, .14);
    box-shadow: 0 4px 16px rgba(14, 21, 32, .07);
}

.site-header .lang-switch__chevron {
    font-size: .55rem;
    opacity: .6;
    transition: transform .25s ease;
}

.site-header .lang-switch.is-open .lang-switch__chevron {
    transform: rotate(180deg);
}

.site-header .lang-switch__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 172px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(14, 21, 32, .08);
    border-radius: 14px;
    box-shadow:
        0 18px 44px rgba(14, 21, 32, .12),
        0 4px 12px rgba(14, 21, 32, .05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transform-origin: top right;
    transition:
        opacity .25s cubic-bezier(.22, .61, .36, 1),
        visibility .25s,
        transform .25s cubic-bezier(.22, .61, .36, 1);
    z-index: 1100;
}

.site-header .lang-switch__menu::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-left: 1px solid rgba(14, 21, 32, .08);
    border-top: 1px solid rgba(14, 21, 32, .08);
    transform: rotate(45deg);
}

.site-header .lang-switch.is-open .lang-switch__menu,
.site-header .lang-switch:hover .lang-switch__menu,
.site-header .lang-switch:focus-within .lang-switch__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.site-header .lang-switch__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    text-align: left;
    transition: background .2s ease;
}

.site-header .lang-switch__item:hover {
    background: rgba(14, 21, 32, .04);
}

.site-header .lang-switch__item.is-active {
    background: rgba(109, 47, 63, .08);
}

.site-header .lang-switch__label {
    font-size: .88rem;
    font-weight: 500;
    color: #0e1520;
}

.site-header .lang-switch__abbr {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(14, 21, 32, .42);
}

.site-header .lang-switch__item.is-active .lang-switch__abbr {
    color: var(--hero-burgundy);
}

/* Mobil menü içi dil seçici — masaüstünde gizli */
.lang-switch--mobile {
    display: none;
}

.site-header .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.site-header .menu-toggle span {
    display: block;
    height: 2px;
    width: 26px;
    background: #0e1520;
}

/* Masaüstünde mobil menü başlığı gizli */
.main-nav__top { display: none; }

.btn-hero {
    background: var(--hero-burgundy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 15px 28px;
    border: none;
    text-decoration: none;
}

.btn-hero:hover {
    background: #542430;
    color: #fff;
}

/* Hero */
body.is-home .hero {
    position: relative;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    min-height: 520px;
    margin-top: var(--header-h);
    overflow: hidden;
    background: #0e1520;
}

body.is-home .hero__overlay {
    background:
        linear-gradient(90deg, rgba(14, 21, 32, .58) 0%, rgba(14, 21, 32, .28) 42%, rgba(14, 21, 32, .08) 68%),
        linear-gradient(to top, rgba(14, 21, 32, .35) 0%, transparent 50%);
}

body.is-home .hero__small {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 18px;
    padding-left: 0;
}

body.is-home .hero__small::before {
    display: none !important;
}

body.is-home .hero__title {
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 3.15rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.02em;
    text-transform: none;
    margin-bottom: 18px;
}

body.is-home .hero__desc {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.98rem, 1.2vw, 1.12rem);
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.7;
}

body.is-home .hero__nav {
    bottom: clamp(24px, 4vh, 40px);
    justify-content: flex-end;
}

body.is-home .hero__nav .container {
    justify-content: flex-end;
}

body.is-home .hero__dot {
    width: 44px;
    height: 2px;
    background: rgba(255, 255, 255, .35);
    border: none;
    padding: 0;
}

body.is-home .hero__dot.active {
    background: #fff;
    width: 64px;
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }

    .header-bar {
        padding: 14px 0;
    }

    /* Tam ekran mobil menü */
    .site-header .main-nav {
        border-top: none;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        background: #0e1520;
        padding: 0;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.22, .61, .36, 1);
        z-index: 1001;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-shadow: none;
    }

    .site-header .main-nav.open {
        transform: translateX(0);
    }

    .main-nav__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        min-height: var(--header-h);
        padding: 0 clamp(20px, 5vw, 28px);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        gap: 12px;
    }

    .lang-switch--mobile {
        display: inline-flex;
        align-items: center;
        padding: 3px;
        margin-left: auto;
        background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 999px;
        gap: 2px;
    }

    .lang-switch__pill {
        min-width: 42px;
        padding: 7px 12px;
        border: none;
        border-radius: 999px;
        background: transparent;
        cursor: pointer;
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        font-size: .72rem;
        letter-spacing: .1em;
        color: rgba(255, 255, 255, .55);
        transition: background .2s ease, color .2s ease, box-shadow .2s ease;
    }

    .lang-switch__pill.is-active {
        background: #fff;
        color: #0e1520;
        box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    }

    .lang-switch__pill:hover:not(.is-active) {
        color: rgba(255, 255, 255, .9);
    }

    .main-nav__label {
        font-family: 'Cormorant Garamond', Georgia, serif;
        font-weight: 600;
        font-size: 1.35rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        color: #fff;
    }

    .main-nav__close {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-right: -8px;
        background: none;
        border: none;
        color: #fff;
        font-size: 1.35rem;
        cursor: pointer;
        transition: color .25s ease;
    }

    .main-nav__close:hover {
        color: #d9b988;
    }

    .site-header .main-nav ul {
        flex: 1;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px clamp(20px, 5vw, 28px) clamp(28px, 6vw, 40px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .main-nav li {
        width: 100%;
    }

    .site-header .main-nav a {
        display: block;
        color: rgba(255, 255, 255, .88) !important;
        font-family: 'Archivo', sans-serif;
        font-weight: 600;
        font-size: .92rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        padding: 17px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        transition: color .25s ease, padding-left .25s ease;
    }

    .site-header .main-nav a:hover,
    .site-header .main-nav a.active {
        color: #d9b988 !important;
        padding-left: 4px;
    }

    .site-header .menu-toggle {
        display: flex;
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 20px;
        padding-top: 8px;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .nav-cta-mobile .btn {
        width: 100%;
        justify-content: center;
        margin-top: 16px;
        border-bottom: none !important;
        padding: 17px 28px !important;
    }

    /* menü açıkken üst bar gizlensin, çift X olmasın */
    body.menu-open .site-header .header-bar {
        visibility: hidden;
        pointer-events: none;
    }

    body.menu-open .site-header .menu-toggle {
        display: none;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .site-header {
        transform: none !important;
    }

    body.is-home .hero {
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        min-height: 480px;
    }

    body.is-home .hero,
    body.is-home .hero__slide {
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
    }

    body.is-home .hero__inner {
        min-height: calc(100vh - var(--header-h));
        min-height: calc(100dvh - var(--header-h));
        padding: 48px 0 72px;
    }
}
