/* =====================================================================
   loca-header.css — Loca Spa üst başlığı, boutiqspa.com ile AYNI görünüm (2026-11-15)
   - Üst şerit: koyu orman yeşili (#06180f), saat ikonu yeşil, sağda ikonlar + TR / EN
   - Menü: koyu yeşil cam zemin, ince büyük harfli beyaz yazılar (Inter)
   - Logo: Loca'nın kendi logosu (değişmedi)
   - Düğmeler: altın "Üye Ol %20 İndirim" (site.css) + yeşil hap "Online Randevu"
   site.css'ten SONRA yüklenir (layout.php).
   ===================================================================== */

/* ---------- Üst şerit ---------- */
.site-header .topbar {
    background: #06180f !important;
    border-bottom: 1px solid rgba(255, 255, 255, .05) !important;
    color: rgba(243, 248, 244, .78);
    font-family: 'Inter', system-ui, sans-serif;
}
.site-header .topbar__hours { color: rgba(243, 248, 244, .82); font-size: 12.5px; letter-spacing: .03em; }
.site-header .topbar__hours .bi { color: #3fcf73; }
.site-header .topbar__ic { color: rgba(243, 248, 244, .78) !important; }
.site-header .topbar__ic:hover { color: #3fcf73 !important; }
.site-header .topbar__sep { background: rgba(255, 255, 255, .14) !important; }
.site-header .lang-inline a { color: rgba(243, 248, 244, .78) !important; font-family: 'Inter', system-ui, sans-serif; }
.site-header .lang-inline a.is-active,
.site-header .lang-inline a:hover { color: #3fcf73 !important; }

/* ---------- Menü çubuğu ---------- */
.site-header,
.site-header--overlay,
.site-header.is-scrolled {
    background: transparent !important;
    border-bottom: 0 !important;
}
.site-header .site-nav {
    background: rgba(24, 25, 27, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled .site-nav {
    background: rgba(40, 41, 44, .95);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .25);
}
.site-header .site-nav .nav-link {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .8rem !important;
    font-weight: 500 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
    color: rgba(243, 248, 244, .78) !important;
}
.site-header .site-nav .nav-link:hover,
.site-header .site-nav .nav-link.active,
.site-header .site-nav .nav-link.show { color: #fff !important; }
.site-header .site-nav .nav-link::after { background: #3fcf73 !important; }
.site-header .dropdown-menu {
    background: rgba(32, 33, 36, .97);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.site-header .dropdown-item { color: rgba(243, 248, 244, .85); font-family: 'Inter', system-ui, sans-serif; font-size: .82rem; }
.site-header .dropdown-item:hover,
.site-header .dropdown-item:focus,
.site-header .dropdown-item.active { background: rgba(63, 207, 115, .12); color: #fff; }

/* ---------- Logo: Boutiq'teki çizgi ikon + LOCA / SPA WELLNESS (2026-11-15) ---------- */
.site-header .navbar-brand { color: #fff !important; text-decoration: none; padding: .25rem 0; }
.brandmark { display: inline-flex; align-items: center; gap: .7rem; color: inherit; line-height: 1; }
.brandmark__icon { width: 46px !important; height: 46px !important; flex: none; transition: width .35s ease, height .35s ease; }
.site-header.is-scrolled .brandmark__icon { width: 40px !important; height: 40px !important; }
.brandmark__text { display: flex; flex-direction: column; gap: .3rem; }
.brandmark__name {
    font-family: 'Inter', system-ui, sans-serif; font-weight: 600;
    font-size: 1.25rem; letter-spacing: .3em; text-transform: uppercase; color: inherit;
}
.brandmark__sub {
    font-family: 'Inter', system-ui, sans-serif; font-weight: 400;
    font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: inherit; opacity: .7;
}
body:has(.hero) .site-header:not(.is-scrolled) .brandmark { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45)); }
@media (max-width: 480px) {
    .brandmark { gap: .5rem; }
    .brandmark__icon { width: 40px !important; height: 40px !important; }
    .brandmark__name { font-size: 1rem; letter-spacing: .24em; }
    .brandmark__sub { font-size: .48rem; letter-spacing: .26em; }
}
/* Düğme ikonları (Boutiq: workspace_premium / event_available) */
.site-header .nav-cta__ic { width: 22px; height: 22px; flex: none; display: inline-block; }
.site-header .nav-cta--book .nav-cta__ic { width: 19px; height: 19px; }

/* ---------- Online Randevu: parlak yeşil hap (Boutiq .btn--primary) ---------- */
.site-header .nav-cta--book,
.site-header--overlay .nav-cta--book {
    height: 46px;
    padding: 0 1.4rem;
    gap: .45rem;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: #06180f !important;
    background: linear-gradient(180deg, #4ad97e 0%, #2fbf63 100%) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    box-shadow: 0 0 0 1px rgba(63, 207, 115, .25), 0 8px 26px rgba(63, 207, 115, .32), inset 0 1px 0 rgba(255, 255, 255, .35) !important;
}
.site-header .nav-cta--book:hover,
.site-header .nav-cta--book:focus {
    color: #06180f !important;
    background: linear-gradient(180deg, #5be38b 0%, #36c96b 100%) !important;
    box-shadow: 0 0 0 1px rgba(63, 207, 115, .35), 0 12px 34px rgba(63, 207, 115, .45), inset 0 1px 0 rgba(255, 255, 255, .4) !important;
}
/* Altın varak ışık huzmesi bu düğmede yok */
.site-header .nav-cta--book::after { display: none !important; }

/* Üye Ol düğmesi: Boutiq'teki gibi Inter + koyu yeşil rozet */
.site-header .nav-cta--member { font-family: 'Inter', system-ui, sans-serif; height: 50px; }
.site-header .nav-cta__badge { background: #0b2a19; }
.site-header .site-nav__actions { gap: .9rem; }

/* ---------- Mobil açılır menü ---------- */
@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        background: rgba(32, 33, 36, .97) !important;
        border-color: rgba(255, 255, 255, .08) !important;
    }
    .site-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(243, 248, 244, 0.9)' stroke-width='1.6' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
    }
}

/* ---------- Menü zemini şeffaf: görsel menünün arkasında görünsün (2026-11-15) ----------
   Görselli üst bölümü (.hero) olan sayfalarda, sayfa en üstteyken menü çubuğunun koyu
   zemini yok. Aşağı kaydırınca okunabilirlik için koyu zemin geri gelir. Üst şerit koyu kalır. */
body:has(.hero) .site-header:not(.is-scrolled) .site-nav {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}
body:has(.hero) .site-header:not(.is-scrolled) .site-nav .nav-link,
body:has(.hero) .site-header:not(.is-scrolled) .brand-logo { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
body:has(.hero) .site-header:not(.is-scrolled) .brand-logo { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .4)); }
/* Görselin üst kısmı hafif koyulaşsın ki beyaz menü yazıları okunsun */
.hero__overlay {
    background:
        linear-gradient(180deg, rgba(24, 25, 27, .45) 0%, rgba(24, 25, 27, 0) 24%),
        linear-gradient(180deg, rgba(24, 25, 27, .30) 0%, rgba(24, 25, 27, .06) 32%, rgba(24, 25, 27, .08) 58%, rgba(24, 25, 27, .52) 100%);
}

/* ---------- Menü: kalın yazı + düğmelerle çakışmasın (2026-11-15) ----------
   site.css menüyü sayfanın ortasına "absolute" sabitliyordu; başlık sayısı artınca
   "Üye Ol" düğmesinin altına giriyordu. Artık logo ile düğmeler arasında normal akışta. */
.site-header .site-nav .nav-link {
    font-weight: 700 !important;
    font-size: .82rem !important;
    color: rgba(255, 255, 255, .93) !important;
    white-space: nowrap;
}
/* Menü düzeni (2026-11-15, işaretlenen sıkışma düzeltildi):
   - Menü dar Bootstrap kutusuna (1320px) sıkışmasın: başlık geniş alana yayılır
   - Logo ve düğmeler ASLA küçülmez / üst üste binmez
   - 1200px altında hamburger menü (header.php: navbar-expand-xl) */
.site-header .site-nav > .container,
.site-header .topbar > .container { max-width: 1680px; }
@media (min-width: 1200px) {
    .site-header .navbar-brand,
    .site-header .site-nav__actions,
    .site-header .site-nav__actions .nav-cta { flex-shrink: 0; }
    .site-header .brand-logo { height: 70px; width: auto; max-width: none; }
    .site-header .site-nav .navbar-collapse { justify-content: space-between; gap: 1.25rem; }
    .site-header .site-nav__links {
        position: static !important;
        transform: none !important;
        margin: 0 auto;
        flex-wrap: nowrap;
        gap: .1rem;
        min-width: 0;
    }
    .site-header .site-nav .nav-link { padding-inline: .75rem !important; }
    .site-header .nav-cta--member,
    .site-header .nav-cta--book { white-space: nowrap; }
}
/* 1400–1699px: yazılar biraz küçülür */
@media (min-width: 1200px) and (max-width: 1699.98px) {
    .site-header .site-nav .nav-link { font-size: .74rem !important; padding-inline: .5rem !important; letter-spacing: .04em !important; }
    .site-header .nav-cta--member { height: 46px; padding-left: .8rem; }
    .site-header .nav-cta--member .nav-cta__ic { display: none; }
    .site-header .nav-cta--book { height: 46px; padding: 0 1.05rem; font-size: .7rem; }
    .site-header .site-nav__actions { gap: .6rem; }
    .site-header .brand-logo { height: 62px; }
}
/* 1200–1399px: düğmelerde yalnız rozet ve takvim ikonu */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .site-nav .nav-link { font-size: .7rem !important; padding-inline: .4rem !important; }
    .site-header .nav-cta--member > span:not(.nav-cta__badge) { display: none; }
    .site-header .nav-cta--member { padding-left: .45rem; }
    .site-header .nav-cta--book > span { display: none; }
    .site-header .nav-cta--book { width: 46px; padding: 0; justify-content: center; }
}
/* 1200px altı: hamburger açılır panel (site.css'in 992px altı panel stili 1200'e taşındı) */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse {
        background: rgba(32, 33, 36, .97) !important;
        border: 1px solid rgba(255, 255, 255, .08) !important;
        margin-top: .7rem; padding: .8rem 1rem; border-radius: 12px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
        max-height: calc(100vh - 140px); overflow-y: auto;
    }
    .site-header .site-nav__links { position: static !important; transform: none !important; }
    .site-header .site-nav__actions { flex-direction: column; align-items: stretch; gap: .6rem; margin-top: .8rem; }
    .site-header .site-nav__actions .nav-cta { width: 100%; justify-content: center; margin: 0 !important; }
    .site-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(243, 248, 244, 0.9)' stroke-width='1.6' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e");
    }
    .site-header .dropdown-menu { position: static; float: none; box-shadow: none; border: 0; background: transparent; padding-left: .8rem; }
    .site-header .dropdown-submenu:hover > .dropdown-menu { display: none; }
    .site-header .dropdown-submenu > .dropdown-menu.show { display: block; }
}

/* ---------- Yeni yatay logo (2026-11-16): büyük, ikon belirgin, işaretlenen alana ortalı ---------- */
.site-header .navbar-brand { padding: 0 !important; }
.site-header .site-nav { padding-top: .45rem !important; padding-bottom: .45rem !important; }
@media (min-width: 1200px) {
    :root { --header-h: 128px; }
    .site-header .navbar-brand { margin-left: clamp(1rem, 3vw, 3.25rem); margin-right: clamp(1rem, 2vw, 2.5rem); }
    .site-header.is-scrolled .brand-logo { height: 56px; }
}
@media (max-width: 1199.98px) {
    .site-header .brand-logo { height: 58px; }
    .site-header.is-scrolled .brand-logo { height: 50px; }
}
@media (max-width: 480px) {
    .site-header .brand-logo { height: 46px; }
}
/* Altın Loca logosu (2026-11-16): logo daha yüksek olduğu için başlık yüksekliği güncellendi */
@media (min-width: 992px) and (max-width: 1199.98px) { :root { --header-h: 124px; } }
@media (max-width: 991.98px) { :root { --header-h: 116px; } }
@media (max-width: 575.98px) { :root { --header-h: 104px; } }
@media (max-width: 480px) { .site-header .brand-logo { height: 46px; } }

/* ==========================================================================
   MEGA MENÜ (2026-11-16) — Masajlar / Spa Bakımları: alt gruplar yan yana
   (boutiqspa.com düzeni). Renkler sitenin gri paletinden.
   ========================================================================== */
@media (min-width: 1200px) {
    .site-header .site-nav > .container { position: relative; }
    .site-header .site-nav__links { position: static !important; }
    .site-header .nav-item.has-mega { position: static; }
    .site-header .mega-menu {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(1080px, calc(100vw - 3rem));
        margin: 0 !important;
        padding: 2.25rem 2.5rem 2.5rem !important;
        background: rgba(38, 39, 42, .98) !important;
        border: 1px solid rgba(214, 195, 145, .14) !important;
        border-radius: 16px !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, .45) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }
    /* Fare panele geçerken kapanmasın diye görünmez köprü */
    .site-header .mega-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
    .site-header .nav-item.has-mega:hover > .mega-menu,
    .site-header .nav-item.has-mega:focus-within > .mega-menu,
    .site-header .mega-menu.show { display: grid !important; }
    .site-header .nav-item.has-mega:hover > .nav-link { color: #fff !important; }
    /* (ok döndürme kaldırıldı: ::after alt çizgi olarak kullanılıyor) */
    .site-header .nav-item.has-mega > .dropdown-toggle::after { transition: transform .25s ease; }
}
.site-header .mega-menu__title {
    display: block; margin-bottom: 1rem;
    font-family: 'Inter', system-ui, sans-serif; font-size: 1.05rem; font-weight: 600;
    color: #fff; text-decoration: none;
}
.site-header .mega-menu__title:hover { color: var(--brand-light, #e4d5aa); }
.site-header .mega-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.site-header .mega-menu__link {
    display: block; padding: .45rem 0;
    font-family: 'Inter', system-ui, sans-serif; font-size: .92rem;
    color: rgba(238, 239, 241, .78); text-decoration: none;
    transition: color .15s, transform .15s;
}
.site-header .mega-menu__link:hover,
.site-header .mega-menu__link.active { color: #fff; transform: translateX(3px); }
.site-header .mega-menu__col--extra {
    display: flex; flex-direction: column; gap: .9rem;
    padding-top: 2.6rem; padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, .07);
}
.site-header .mega-menu__extra {
    font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 1rem;
    color: #fff; text-decoration: none;
}
.site-header .mega-menu__extra:hover { color: var(--brand-light, #e4d5aa); }

/* Hamburger menüde (1200px altı): sütunlar alt alta, dokununca açılır */
@media (max-width: 1199.98px) {
    .site-header .mega-menu { padding: .4rem 0 .6rem .8rem !important; }
    .site-header .mega-menu.show { display: block; }
    .site-header .mega-menu__col { margin-bottom: .9rem; }
    .site-header .mega-menu__title { font-size: .92rem; margin-bottom: .35rem; }
    .site-header .mega-menu__link { font-size: .86rem; padding: .3rem 0; }
    .site-header .mega-menu__col--extra { border-left: 0; padding: 0; gap: .6rem; }
    .site-header .mega-menu__extra { font-size: .9rem; }
}

/* ---------- Menü alt çizgisi: tüm linklerde aynı renk/kalınlık, yazının tam altında (2026-11-18) ---------- */
@media (min-width: 1200px) {
    .site-header .site-nav .nav-link::after,
    .site-header .site-nav .nav-link.dropdown-toggle::after {
        content: "" !important;
        position: absolute !important;
        left: .75rem !important; right: .75rem !important; bottom: .25rem !important;
        width: auto !important; height: 1px !important;
        margin: 0 !important; border: 0 !important; vertical-align: 0 !important;
        background: #3fcf73 !important;
        transform: scaleX(0); transform-origin: left;
        transition: transform .35s ease !important;
    }
    .site-header .site-nav .nav-link:hover::after,
    .site-header .site-nav .nav-link.active::after,
    .site-header .site-nav .nav-link.show::after,
    .site-header .nav-item.has-mega:hover > .nav-link::after { transform: scaleX(1); }
}
@media (min-width: 1200px) and (max-width: 1699.98px) {
    .site-header .site-nav .nav-link::after { left: .5rem !important; right: .5rem !important; }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .site-header .site-nav .nav-link::after { left: .4rem !important; right: .4rem !important; }
}

/* ---------- Mega menü: uzun sütun (9+ madde, ör. Masaj Çeşitleri) iki sütun, başlık ortada (2026-11-19, boutiqspa ile aynı) ---------- */
@media (min-width: 1200px) {
    .site-header .mega-menu.mega-menu--wide { width: min(1280px, calc(100vw - 3rem)); gap: 2.25rem; }
    .site-header .mega-menu__col--2 { grid-column: span 2; }
    .site-header .mega-menu__col--2 .mega-menu__title { text-align: center; }
    .site-header .mega-menu__col--2 .mega-menu__list { display: block; columns: 2; column-gap: 1.75rem; }
    .site-header .mega-menu__col--2 .mega-menu__list li { break-inside: avoid; }
}

/* ---------- Mobil menü (2026-11-19): satırlar daha geniş ve yüksek, dokunması kolay ---------- */
@media (max-width: 1199.98px) {
    .site-header .navbar-collapse { padding: 1rem .9rem 1.1rem; }
    .site-header .site-nav__links { width: 100%; gap: .35rem; }
    .site-header .site-nav__links > .nav-item { width: 100%; }
    .site-header .site-nav__links > .nav-item > .nav-link {
        display: flex !important; align-items: center; justify-content: space-between;
        width: 100%; min-height: 3.6rem;
        padding: 1rem 1.25rem !important;
        font-size: 1.12rem !important; letter-spacing: .06em;
        border-radius: 12px;
        background: rgba(255, 255, 255, .035);
        border: 1px solid rgba(255, 255, 255, .06);
    }
    .site-header .site-nav__links > .nav-item > .nav-link:active,
    .site-header .site-nav__links > .nav-item > .nav-link:hover { background: rgba(214, 195, 145, .1); border-color: rgba(214, 195, 145, .3); }
    /* Alt menü bağlantıları da daha geniş */
    .site-header .mega-menu__title { font-size: 1rem !important; padding: .55rem 0; }
    .site-header .mega-menu__link, .site-header .mega-menu__extra { font-size: .98rem !important; padding: .6rem 0 !important; }
    /* Üye ol / Online randevu butonları biraz daha yüksek */
    .site-header .site-nav__actions .nav-cta { min-height: 3.6rem; font-size: 1.05rem; }
}

/* Mobil üyelik şeridi (2026-11-19): telefonda üst şeridin solunda "Üye Ol · %20 İndirim" */
.site-header .topbar__member { display: none; }
@media (max-width: 767.98px) {
    .site-header .topbar__inner { justify-content: space-between !important; gap: .5rem; }
    .site-header .topbar__member {
        display: inline-flex; align-items: center; gap: .4rem; min-width: 0;
        height: 30px; padding: 0 .45rem 0 .65rem; border-radius: 999px;
        background: linear-gradient(135deg, #efe2bd, #d6c391); color: #1f2119; text-decoration: none;
        font-size: .78rem; font-weight: 600; white-space: nowrap;
        box-shadow: 0 4px 14px -6px rgba(214,195,145,.8);
    }
    .site-header .topbar__member b { padding: .15rem .55rem; border-radius: 999px; background: #1f2119; color: #efe2bd; font-weight: 700; }
    .site-header .topbar__member-go { font-size: .75rem; }
}
@media (max-width: 575.98px) {
    /* Dar telefonda yer açmak için sosyal ikonlar gizlenir (telefon / WhatsApp alt menüde var) */
    .site-header .topbar__icons, .site-header .topbar__sep { display: none !important; }
}

/* Spa Rehberi düğmesi (2026-11-19): mobil menü açıkken (Online Randevu butonunun üstüne biniyordu)
   ve randevu özet çubuğu görünürken gizli */
body:has(#mainNav.show) .sg-fab,
body:has(#mainNav.collapsing) .sg-fab { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 991.98px) {
    body:has(.rsv-bar:not([hidden])) .sg-fab { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
}

/* ---------- SPA360 reklam şeridi (2026-11-20): sitenin en altı (footer'ın son satırı) ---------- */
.spa360-strip {
    position: relative; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    min-height: 34px; padding: 6px 16px;
    background: linear-gradient(90deg, rgba(6, 24, 15, .94), rgba(18, 52, 36, .94), rgba(6, 24, 15, .94));
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(201, 169, 110, .28);
    color: rgba(243, 248, 244, .82) !important;
    font-family: "Inter", system-ui, sans-serif; font-size: 12px; letter-spacing: .03em;
    text-decoration: none !important; white-space: nowrap; overflow: hidden;
    transition: background .3s ease;
}
.spa360-strip:hover { background: linear-gradient(90deg, rgba(6, 24, 15, .98), rgba(24, 68, 46, .98), rgba(6, 24, 15, .98)); color: #fff !important; }
.spa360-strip__brand { font-weight: 700; letter-spacing: .12em; color: #c9a96e; }
.spa360-strip__txt { overflow: hidden; text-overflow: ellipsis; }
.spa360-strip__go { font-weight: 600; color: #3fcf73; }
.spa360-strip:hover .spa360-strip__go { text-decoration: underline; }
@media (max-width: 575.98px) {
    .spa360-strip { font-size: 11px; gap: .5rem; min-height: 30px; }
    .spa360-strip__go { display: none; }
}
