/* ==========================================================================
   SALUS PSİKOLOJİ KLİNİĞİ - LUMINOUS BOTANICAL & PRISTINE IVORY DESIGN SYSTEM
   World-Class Modern Luxury Wellness Tech UI (Two Chairs & Alma Inspired)
   ========================================================================== */

:root {
  /* Renk Paleti: Luminous Botanical & Pristine Ivory */
  --c-pine-deep: #0D281E;        /* Deep authoritative pine green */
  --c-pine: #13382B;             /* Primary brand dark pine */
  --c-sage-leaf: #2A6F56;        /* Vibrant botanical sage */
  --c-sage-soft: #E8F5EE;        /* Calming soft mint surface */
  --c-sage-mist: #F2F8F5;        /* Subtlest botanical tint */

  /* Accent & Empathy */
  --c-warm-terracotta: #D97757;  /* Warm terracotta / empathy */
  --c-terracotta-soft: #FDF3EF;  /* Soft peach / blush accent */
  --c-champagne: #C48458;        /* Elegant champagne gold */

  /* Canvas & Cards */
  --c-bg: #FAFCFB;               /* Pristine snow alabaster - crisp & clean */
  --c-card: #FFFFFF;             /* Pure crisp white */
  --c-border: #E5EBE8;           /* Ultra-subtle hairline border */
  --c-border-subtle: #EDF2EF;    /* Secondary hairline */

  /* Typography */
  --c-text-main: #14211D;        /* High-contrast soft charcoal */
  --c-text-muted: #566961;       /* Readable secondary body */
  --c-text-light: #879991;       /* Tertiary captions */

  /* Shadows */
  --shadow-soft: 0 4px 20px -2px rgba(13, 40, 30, 0.04);
  --shadow-elevated: 0 12px 36px -4px rgba(13, 40, 30, 0.07), 0 2px 8px -2px rgba(13, 40, 30, 0.03);
  --shadow-float: 0 20px 48px -6px rgba(13, 40, 30, 0.12), 0 4px 12px -2px rgba(13, 40, 30, 0.04);
  --shadow-glow-pine: 0 10px 30px rgba(19, 56, 43, 0.22);
  --shadow-glow-terracotta: 0 10px 30px rgba(217, 119, 87, 0.28);
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: #A3BFB2 transparent;
}

/* Modern Lüks Salus Kaydırma Çubuğu (Varsayılan Gri/Kaba Çubuğu Yok Eder) */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #A3BFB2;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #2A6F56;
}

html,
body {
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--c-bg);
  color: var(--c-text-main);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   1. NAVBAR & HEADER (FROSTED GLASS WITH HAIRLINE BORDER)
   ========================================================================== */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled,
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 4px 28px rgba(13, 40, 30, 0.08) !important;
  border-bottom-color: rgba(42, 111, 86, 0.18) !important;
}

.nav-item-link {
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item-link:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   2. TYPOGRAPHY ACCENTS & GRADIENTS
   ========================================================================== */
.text-gradient-pine {
  background: linear-gradient(135deg, #0D281E 0%, #13382B 60%, #2A6F56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-terracotta {
  background: linear-gradient(135deg, #C48458 0%, #D97757 50%, #E88E71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   3. MODERN SALUS SIVI DALGA BUTONLARI (UIVERSE SLIPPERY-JELLYFISH ENTEGRASYONU)
   ========================================================================== */

/* Ortak Sıvı Dalga Taşıyıcı ve Katman Kuralları */
.btn-uiverse,
a.btn-uiverse,
button.btn-uiverse,
.btn-primary,
a.btn-primary,
button.btn-primary,
.btn-accent,
a.btn-accent,
button.btn-accent,
.btn-gold,
a.btn-gold,
button.btn-gold,
.btn-outline,
a.btn-outline,
button.btn-outline,
.btn-white-3d,
a.btn-white-3d,
button.btn-white-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
  border-radius: 9999px;
  overflow: hidden;
  isolation: isolate; /* Yeni bağımsız stacking context oluşturur, z-index: -1 elementleri buton içinde tutar */
  text-decoration: none;
  cursor: pointer;
  transform: translateZ(0);
  transition: color 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.22s ease;
}

/* İkon ve Metinlerin Sıvı Katmanın Üstünde Net Kalması */
.btn-uiverse > *,
a.btn-uiverse > *,
button.btn-uiverse > *,
.btn-primary > *,
a.btn-primary > *,
button.btn-primary > *,
.btn-accent > *,
a.btn-accent > *,
button.btn-accent > *,
.btn-gold > *,
a.btn-gold > *,
button.btn-gold > *,
.btn-outline > *,
a.btn-outline > *,
button.btn-outline > *,
.btn-white-3d > *,
a.btn-white-3d > *,
button.btn-white-3d > * {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease, transform 0.2s ease;
}

/* --------------------------------------------------------------------------
   3.1. VARYANT A: SALUS ÇAM YEŞİLİ SIVI DOLGULU OUTLINE BUTONLAR
   (Örn: "WhatsApp İle Sorun", "Kliniğimizi Tanıyın", İkincil Eylemler)
   -------------------------------------------------------------------------- */
.btn-outline,
a.btn-outline,
button.btn-outline,
.btn-white-3d,
a.btn-white-3d,
button.btn-white-3d {
  background: #FFFFFF !important;
  color: #13382B !important;
  border: 1.5px solid #13382B !important;
  box-shadow: 0 2px 8px rgba(13, 40, 30, 0.05);
}

.btn-outline::before,
a.btn-outline::before,
button.btn-outline::before,
.btn-white-3d::before,
a.btn-white-3d::before,
button.btn-white-3d::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(135deg, #091D15 0%, #13382B 60%, #1C4E3D 100%);
  width: 440px;
  height: 340px;
  border-radius: 50%;
  top: 100%;
  left: 100%;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.btn-white-3d:hover,
a.btn-white-3d:hover,
button.btn-white-3d:hover {
  color: #FFFFFF !important;
  border-color: #091D15 !important;
  transform: translateY(-2.5px);
  box-shadow: 0 12px 30px rgba(13, 40, 30, 0.24);
}

.btn-outline:hover::before,
a.btn-outline:hover::before,
button.btn-outline:hover::before,
.btn-white-3d:hover::before,
a.btn-white-3d:hover::before,
button.btn-white-3d:hover::before {
  top: -60px;
  left: -60px;
}

.btn-outline:hover svg,
.btn-outline:hover i,
a.btn-outline:hover svg,
a.btn-outline:hover i {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.btn-outline:active,
a.btn-outline:active,
button.btn-outline:active,
.btn-white-3d:active,
a.btn-white-3d:active,
button.btn-white-3d:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 4px 12px rgba(13, 40, 30, 0.2);
}

/* --------------------------------------------------------------------------
   3.2. VARYANT B: SALUS BİRİNCİL ZÜMRÜT IŞILTILI SIVI BUTONLAR
   (Örn: "15 Dk Ücretsiz Ön Görüşme Al", "Randevu Oluştur", "Randevu Al")
   -------------------------------------------------------------------------- */
.btn-uiverse,
a.btn-uiverse,
button.btn-uiverse,
.btn-primary,
a.btn-primary,
button.btn-primary {
  background: linear-gradient(135deg, var(--btn-from, #13382B) 0%, var(--btn-to, #0D281E) 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(42, 111, 86, 0.5) !important;
  box-shadow: 0 4px 16px rgba(13, 40, 30, 0.22);
}

.btn-uiverse::before,
a.btn-uiverse::before,
button.btn-uiverse::before,
.btn-primary::before,
a.btn-primary::before,
button.btn-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(135deg, #1C4E3D 0%, #2A6F56 60%, #348E6C 100%);
  width: 440px;
  height: 340px;
  border-radius: 50%;
  top: 100%;
  left: 100%;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-uiverse:hover,
a.btn-uiverse:hover,
button.btn-uiverse:hover,
.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
  color: #FFFFFF !important;
  border-color: #348E6C !important;
  transform: translateY(-2.5px);
  box-shadow: 0 14px 36px rgba(42, 111, 86, 0.38);
}

.btn-uiverse:hover::before,
a.btn-uiverse:hover::before,
button.btn-uiverse:hover::before,
.btn-primary:hover::before,
a.btn-primary:hover::before,
button.btn-primary:hover::before {
  top: -60px;
  left: -60px;
}

.btn-uiverse:hover > *,
a.btn-uiverse:hover > *,
button.btn-uiverse:hover > *,
.btn-primary:hover > *,
a.btn-primary:hover > *,
button.btn-primary:hover > * {
  color: #FFFFFF !important;
}

.btn-uiverse:active,
a.btn-uiverse:active,
button.btn-uiverse:active,
.btn-primary:active,
a.btn-primary:active,
button.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(19, 56, 43, 0.25);
}

/* --------------------------------------------------------------------------
   3.3. VARYANT C: TERRACOTTA / SICAK ALTIN VURGU BUTONLARI
   (Örn: WhatsApp Danışma Hattı, 15 Dk Free CTA, Vurgulu Randevu Adımları)
   -------------------------------------------------------------------------- */
.btn-accent,
a.btn-accent,
button.btn-accent,
.btn-gold,
a.btn-gold,
button.btn-gold {
  background: linear-gradient(135deg, #D97757 0%, #C46747 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 16px rgba(217, 119, 87, 0.25);
}

.btn-accent::before,
a.btn-accent::before,
button.btn-accent::before,
.btn-gold::before,
a.btn-gold::before,
button.btn-gold::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: linear-gradient(135deg, #E88C6E 0%, #EFA58C 100%);
  width: 440px;
  height: 340px;
  border-radius: 50%;
  top: 100%;
  left: 100%;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.btn-accent:hover,
a.btn-accent:hover,
button.btn-accent:hover,
.btn-gold:hover,
a.btn-gold:hover,
button.btn-gold:hover {
  color: #FFFFFF !important;
  border-color: #EFA58C !important;
  transform: translateY(-2.5px);
  box-shadow: 0 14px 38px rgba(217, 119, 87, 0.42);
}

.btn-accent:hover::before,
a.btn-accent:hover::before,
button.btn-accent:hover::before,
.btn-gold:hover::before,
a.btn-gold:hover::before,
button.btn-gold:hover::before {
  top: -60px;
  left: -60px;
}

.btn-accent:hover > *,
a.btn-accent:hover > *,
button.btn-accent:hover > * {
  color: #FFFFFF !important;
}

.btn-accent:active,
a.btn-accent:active,
button.btn-accent:active,
.btn-gold:active,
a.btn-gold:active,
button.btn-gold:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.25);
}

/* ==========================================================================
   4. KUSURSUZ ZARİF KARTLAR (CLEAN ELEVATED CLINIC CARDS)
   ========================================================================== */
.glass-card,
.clinic-card,
.card-3d,
.card-3d-item {
  background: #FFFFFF;
  border: 1px solid var(--c-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover,
  .card-3d:hover,
  .card-3d-item:hover {
    transform: translateY(-4px);
    border-color: #D1DED6;
    box-shadow: var(--shadow-elevated);
  }
}

/* Koyu Alanlardaki Kartlar */
section.bg-forest-deep .card-3d,
section[class*="from-[#0D281E]"] .card-3d,
section[class*="from-[#13382B]"] .card-3d,
section[class*="from-[#1C2C25]"] .card-3d {
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #FFFFFF;
}

/* ==========================================================================
   5. RANDEVU FORMU SAAT SEÇİCİ
   ========================================================================== */
.time-slot-btn {
  border: 1px solid var(--c-border) !important;
  background: #FFFFFF !important;
  color: var(--c-pine) !important;
  border-radius: 0.875rem;
  box-shadow: 0 2px 4px rgba(13, 40, 30, 0.02);
  transition: all 0.2s ease;
  cursor: pointer;
}

.time-slot-btn:hover {
  border-color: var(--c-sage-leaf) !important;
  background: var(--c-sage-mist) !important;
  transform: translateY(-1px);
}

.time-slot-btn.is-selected {
  background: var(--c-pine) !important;
  color: #FFFFFF !important;
  border-color: var(--c-pine) !important;
  box-shadow: 0 6px 16px rgba(19, 56, 43, 0.24) !important;
  transform: translateY(0);
}

/* ==========================================================================
   6. AKORDEON (SSS)
   ========================================================================== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

.faq-content.open {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   7. MOBİL SABİT DOCK (TEMİZLENDİ & DEVRE DIŞI)
   ========================================================================== */
.mobile-action-dock {
  display: none !important;
}

/* ==========================================================================
   8. YÜZEN SAĞ ALT BUTONLAR
   ========================================================================== */
.floating-3d-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(13, 40, 30, 0.18);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-3d-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(13, 40, 30, 0.25);
}

/* ==========================================================================
   9. DEVICE MOCKUP & ROZET ANİMASYONLARI
   ========================================================================== */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes floatGentleDelay {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}

.anim-float {
  animation: floatGentle 5s ease-in-out infinite;
}

.anim-float-delay {
  animation: floatGentleDelay 5.5s ease-in-out infinite 0.75s;
}

/* ==========================================================================
   10. STERLING GATE: KINETIC NAVIGATION (SALUS QUIET LUXURY ADAPTATION)
   ========================================================================== */

/* Font Declaration: PP Neue Corp Tight */
@font-face {
  font-family: 'PP Neue Corp Tight';
  src: url('../fonts/PPNeueCorp-TightUltrabold.otf') format('opentype'),
       url('https://cdn.prod.website-files.com/673af51dea86ab95d124c3ee/673b0f5784f7060c0ac05534_PPNeueCorp-TightUltrabold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Header: "click me" Label (Caveat Font) */
.nav-toggle-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease;
}
.nav-toggle-label:hover {
  transform: translateY(-1px);
}
.nav-toggle-label .toggle-text {
  font-family: 'Caveat', cursive, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #13382B;
  transition: color 0.3s ease;
}
.nav-toggle-label:hover .toggle-text {
  color: #D97757;
}

/* Header: Sterling Gate Minimal Toggle Button */
.nav-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.15rem;
  border-radius: 9999px;
  background: #E8F5EE;
  border: 1px solid rgba(42, 111, 86, 0.22);
  color: #13382B;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 40, 30, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.nav-close-btn:hover {
  background: #13382B;
  color: #FFFFFF;
  border-color: #13382B;
  box-shadow: 0 6px 20px rgba(13, 40, 30, 0.15);
  transform: translateY(-1px);
}
.nav-close-btn:not(.is-open):hover .icon-wrap {
  transform: rotate(90deg);
}

/* Rolling Text in Menu Button ("Menü" / "Kapat") */
.menu-button-text {
  height: 1.25em;
  min-width: 2.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  line-height: 1.25em;
}
.menu-button-text .p-large {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
  transition: transform 0.45s cubic-bezier(0.65, 0.05, 0, 1);
}
body.kinetic-nav-open .menu-button-text .p-large {
  transform: translateY(-100%);
}

/* Animated Menu Icon */
.icon-wrap {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.65, 0.05, 0, 1);
}
.menu-button-icon {
  width: 14px;
  height: 14px;
  display: block;
}
body.kinetic-nav-open .icon-wrap {
  transform: rotate(315deg);
}

/* Fullscreen Overlay Container */
.nav-overlay-wrapper {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-overlay-wrapper[data-nav="open"],
.nav-overlay-wrapper.is-active {
  pointer-events: auto;
  visibility: visible;
}

/* Dim Backdrop Layer */
.nav-overlay-wrapper .overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 40, 30, 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 0;
}
.nav-overlay-wrapper[data-nav="open"] .overlay,
.nav-overlay-wrapper.is-active .overlay {
  opacity: 1;
}

/* Sliding Menu Panel (Right Side Sterling Gate Drawer) */
.menu-content {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 44em;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
  overflow: hidden;
  transform: translateX(102%);
  transition: transform 0.48s cubic-bezier(0.65, 0.05, 0.36, 1);
  will-change: transform;
}

/* When open, drawer snaps to translateX(0) instantly so internal curtains can animate in */
.nav-overlay-wrapper[data-nav="open"] .menu-content,
.nav-overlay-wrapper.is-active .menu-content {
  transform: translateX(0);
  transition: none;
}

/* Curtains & Background Container */
.menu-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.backdrop-layer {
  position: absolute;
  inset: 0;
  border-top-left-radius: 2rem;
  border-bottom-left-radius: 2rem;
  transform: translateX(101%);
  transition: transform 0.6s cubic-bezier(0.65, 0.05, 0, 1);
  will-change: transform;
}
/* Layer 1: Salus Terracotta */
.backdrop-layer.first {
  background: linear-gradient(135deg, #D97757 0%, #C48458 100%);
  z-index: 1;
}
/* Layer 2: Salus Soft Mint */
.backdrop-layer.second {
  background: #E8F5EE;
  z-index: 2;
}
/* Layer 3: Salus Primary Alabaster Canvas */
.backdrop-layer:not(.first):not(.second) {
  background: #FAFCFB;
  box-shadow: -25px 0 70px rgba(13, 40, 30, 0.22);
  border-left: 1px solid rgba(229, 235, 232, 0.85);
  z-index: 3;
}

/* Stagger Curtains on Open */
.nav-overlay-wrapper[data-nav="open"] .backdrop-layer.first,
.nav-overlay-wrapper.is-active .backdrop-layer.first {
  transform: translateX(0);
  transition-delay: 0s;
}
.nav-overlay-wrapper[data-nav="open"] .backdrop-layer.second,
.nav-overlay-wrapper.is-active .backdrop-layer.second {
  transform: translateX(0);
  transition-delay: 0.08s;
}
.nav-overlay-wrapper[data-nav="open"] .backdrop-layer:not(.first):not(.second),
.nav-overlay-wrapper.is-active .backdrop-layer:not(.first):not(.second) {
  transform: translateX(0);
  transition-delay: 0.16s;
}

/* On Close: Keep curtains solid inside the drawer while the whole drawer (.menu-content) slides off! */
.nav-overlay-wrapper.is-closing .backdrop-layer,
.nav-overlay-wrapper[data-nav="closing"] .backdrop-layer {
  transform: translateX(0) !important;
  transition: none !important;
}

/* Ambient Interactive Background Shapes (SVGs) */
.ambient-background-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}
.bg-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.bg-shape.active {
  opacity: 1;
  transform: scale(1);
}
.shape-element {
  transform-origin: 50% 50%;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bg-shape.active .shape-element {
  animation: ambientFloat 8s ease-in-out infinite alternate;
}
@keyframes ambientFloat {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

/* Menu Content Wrapper */
.menu-content-wrapper {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2.25rem 2.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-overlay-wrapper[data-nav="open"] .menu-content-wrapper,
.nav-overlay-wrapper.is-active .menu-content-wrapper {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.18s,
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
}

/* Inside Top Bar */
.menu-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(229, 235, 232, 0.85);
  margin-bottom: 1rem;
}
.nav-close-btn-inside {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E5EBE8;
  color: #13382B;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(13, 40, 30, 0.04);
}
.nav-close-btn-inside:hover {
  background: #13382B;
  color: #FFFFFF;
  border-color: #13382B;
}
.nav-close-btn-inside:hover .icon-wrap {
  transform: rotate(90deg);
}

/* Menu List */
.menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.25rem;
}
.menu-list-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

/* Nav Link */
.nav-link {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0.65rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #14211D;
  transition: color 0.35s ease;
  z-index: 1;
}

/* Eyebrow Number (01, 02...) */
.nav-link .eyebrow {
  font-family: 'Plus Jakarta Sans', monospace, sans-serif;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #D97757;
  margin-right: 1.25rem;
  position: relative;
  z-index: 2;
  transition: color 0.35s ease;
  flex-shrink: 0;
}
.nav-link:hover .eyebrow {
  color: #F5C7A9;
}

/* THE SIGNATURE STERLING GATE TEXT ROLL */
.nav-link-text {
  font-family: 'PP Neue Corp Tight', 'Plus Jakarta Sans', Impact, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 0.85;
  text-transform: uppercase;
  color: #14211D;
  text-shadow: 0px 1em 0px transparent;
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0, 1), text-shadow 0.25s ease, color 0.25s ease;
  position: relative;
  z-index: 2;
  margin: 0;
  letter-spacing: -0.01em;
}

.nav-link:hover .nav-link-text,
.menu-list-item.is-hovered .nav-link-text {
  color: #FAFCFB;
  text-shadow: 0px 1em 0px #FAFCFB;
  transform: translateY(-1em);
  transition-delay: 0.03s;
}

/* Hover Background Ripple */
.nav-link-hover-bg {
  position: absolute;
  inset: 0;
  background-color: #0D281E;
  border-radius: 1rem;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform 0.5s cubic-bezier(0.65, 0.05, 0, 1);
  z-index: 1;
}

.nav-link:hover .nav-link-hover-bg,
.menu-list-item.is-hovered .nav-link-hover-bg {
  transform: scaleY(1);
}

/* Nav Link Arrow Indicator */
.nav-link-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-15px);
  color: #D97757;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.nav-link:hover .nav-link-arrow,
.menu-list-item.is-hovered .nav-link-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #F5C7A9;
}

.nav-link:hover .eyebrow,
.menu-list-item.is-hovered .eyebrow {
  color: #F5C7A9;
}

/* Bottom Details & Luxury Action Suite */
.menu-details {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.85rem;
  padding-top: 1.25rem;
  margin-top: auto;
  border-top: 1px solid rgba(229, 235, 232, 0.85);
  position: relative;
  z-index: 10;
}

/* 1. Hero Concierge CTA Card */
.menu-cta-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, #0D281E 0%, #13382B 65%, #1c4636 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 28px -6px rgba(13, 40, 30, 0.35), 0 0 0 1px rgba(13, 40, 30, 0.05);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.menu-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(217, 119, 87, 0.3), transparent 60%);
  opacity: 0.6;
  transition: opacity 0.4s ease, transform 0.6s ease;
  pointer-events: none;
}

.menu-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(13, 40, 30, 0.45), 0 0 0 1px rgba(217, 119, 87, 0.35);
}

.menu-cta-card:hover::before {
  opacity: 1;
  transform: scale(1.15);
}

.menu-cta-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  z-index: 2;
}

.menu-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Plus Jakarta Sans', monospace, sans-serif;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F5C7A9;
}

.menu-cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FAFCFB;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.menu-cta-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FAFCFB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-cta-card:hover .menu-cta-arrow {
  background: #D97757;
  border-color: #D97757;
  color: #FFFFFF;
  transform: translateX(2px) rotate(45deg);
  box-shadow: 0 4px 14px rgba(217, 119, 87, 0.45);
}

/* 2. Dual Auth Action Cards */
.menu-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  width: 100%;
}

.menu-auth-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1.1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(13, 40, 30, 0.03);
}

/* Login Variant */
.menu-auth-card.is-login {
  background: #FFFFFF;
  border: 1px solid #E5EBE8;
  color: #14211D;
}

.menu-auth-card.is-login:hover {
  background: #FAFCFB;
  border-color: #13382B;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 40, 30, 0.08);
}

.menu-auth-card.is-login .menu-auth-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.75rem;
  background: #FAECE7;
  color: #D97757;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.menu-auth-card.is-login:hover .menu-auth-icon {
  background: #D97757;
  color: #FFFFFF;
  transform: scale(1.06);
}

/* Register / Account Variant */
.menu-auth-card.is-register {
  background: #E8F5EE;
  border: 1px solid rgba(42, 111, 86, 0.22);
  color: #0D281E;
}

.menu-auth-card.is-register:hover {
  background: #13382B;
  border-color: #13382B;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 40, 30, 0.18);
}

.menu-auth-card.is-register .menu-auth-icon {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.75rem;
  background: #FFFFFF;
  color: #2A6F56;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.menu-auth-card.is-register:hover .menu-auth-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  transform: scale(1.06);
}

.menu-auth-text {
  display: flex;
  flex-direction: column;
}

.menu-auth-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
}

.menu-auth-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  color: #879991;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.menu-auth-card.is-register:hover .menu-auth-sub {
  color: #A8C9B9;
}

/* 3. Refined Contact Bar */
.menu-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(229, 235, 232, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.menu-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.menu-contact-link.is-whatsapp {
  color: #047857;
}
.menu-contact-link.is-whatsapp:hover {
  color: #065f46;
  transform: translateY(-1px);
}

.menu-contact-link.is-phone {
  color: #13382B;
}
.menu-contact-link.is-phone:hover {
  color: #D97757;
  transform: translateY(-1px);
}

.menu-contact-location {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #879991;
  font-size: 0.6875rem;
  margin-left: auto;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .menu-content {
    width: 100%;
  }
  .backdrop-layer {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .menu-content-wrapper {
    padding: 1.25rem 1rem;
  }
  .nav-link-text {
    font-size: clamp(1.2rem, 5.2vw, 1.75rem);
    letter-spacing: 0.02em;
    line-height: 1.25;
  }
  .nav-link {
    padding: 0.55rem 0.75rem;
  }
  .nav-close-btn {
    padding: 0.45rem 0.85rem;
    gap: 0.45rem;
  }
}

@media screen and (max-width: 640px) {
  .nav-close-btn {
    padding: 0.45rem !important;
    gap: 0 !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    justify-content: center !important;
    border-radius: 9999px !important;
  }
  .nav-close-btn .menu-button-text {
    display: none !important;
  }
}

/* ==========================================================
   CARLOS AI (3D KEDİ MASKOTU) & YENİLENMİŞ FLOATING BUTON STİLLERİ
   ========================================================== */

/* 1. Carlos 3D Maskot Canlı Süzülme ve Kafa Hareketi (Life-like Motion) */
@keyframes carlos-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  35% {
    transform: translateY(-6px) rotate(1.5deg);
  }
  65% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
}

@keyframes carlos-wiggle {
  0%, 82%, 100% {
    transform: rotate(0deg) scale(1);
  }
  85% {
    transform: rotate(-6deg) scale(1.05);
  }
  88% {
    transform: rotate(6deg) scale(1.05);
  }
  91% {
    transform: rotate(-3deg) scale(1.03);
  }
  94% {
    transform: rotate(3deg) scale(1.02);
  }
  97% {
    transform: rotate(0deg) scale(1);
  }
}

/* Carlos Maskot Butonu */
#salus-mascot-container {
  max-width: 100vw;
}

#mascot-trigger-btn {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  animation: carlos-float 4s ease-in-out infinite, carlos-wiggle 7s ease-in-out infinite;
  transform-origin: bottom center;
}

#mascot-trigger-btn img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  display: block !important;
}

#mascot-trigger-btn:hover {
  animation-play-state: paused;
  transform: translateY(-6px) scale(1.08) !important;
}

/* 2. Carlos Etrafında Yayılan Zümrüt Aura Dalgaları (Halo / Radar Wave) */
@keyframes carlos-halo-wave {
  0% {
    transform: scale(0.95);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.carlos-halo {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(42, 111, 86, 0.4) 0%, rgba(42, 111, 86, 0) 70%);
  pointer-events: none;
  animation: carlos-halo-wave 2.8s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* 3. 3 Saniye Sonra Açılan "Miyav!" Baloncuğu Yaylanma Animasyonu */
@keyframes carlos-pop-in {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.75);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.04);
  }
  80% {
    transform: translateY(1px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.carlos-bubble-pop {
  animation: carlos-pop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* 4. Chat Modal Spring Pop-in */
#salus-mascot-chat {
  box-shadow: 0 24px 64px -12px rgba(9, 30, 22, 0.28), 0 0 0 1px rgba(229, 235, 232, 0.9);
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

/* 5. Mesaj Balonları Kayma Animasyonu */
@keyframes msg-pop-up {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.carlos-msg-anim {
  animation: msg-pop-up 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Quick Chips in Mascot Chat */
.quick-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.42rem 0.8rem;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #DFE8E3;
  color: #13382B;
  font-weight: 600;
  font-size: 0.6875rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(13, 40, 30, 0.04);
}

.quick-chip:hover {
  background: #E8F5EE;
  border-color: #2A6F56;
  color: #0D281E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 111, 86, 0.16);
}

.quick-chip:active {
  transform: translateY(0);
}

/* Mascot In-Message Action Buttons */
.mascot-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #13382B 0%, #2A6F56 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.6875rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(19, 56, 43, 0.25);
  text-decoration: none;
}

.mascot-cta-btn:hover {
  background: linear-gradient(135deg, #1C4E3D 0%, #348366 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 5px 14px rgba(19, 56, 43, 0.35);
}

.mascot-cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 9999px;
  background: #FAFCFB;
  border: 1px solid #2A6F56;
  color: #13382B !important;
  font-weight: 700;
  font-size: 0.6875rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mascot-cta-btn-outline:hover {
  background: #E8F5EE;
  border-color: #13382B;
  transform: translateY(-1.5px);
}

/* Floating WhatsApp & Instagram Smooth Transitions */
.salus-float-btn {
  will-change: transform, box-shadow;
}

/* Carlos Chat Modal Messages Scrollbar */
#mascot-messages::-webkit-scrollbar {
  width: 6px;
}
#mascot-messages::-webkit-scrollbar-track {
  background: #F4F8F6;
  border-radius: 9999px;
}
#mascot-messages::-webkit-scrollbar-thumb {
  background: #C4D9CD;
  border-radius: 9999px;
}
#mascot-messages::-webkit-scrollbar-thumb:hover {
  background: #2A6F56;
}

/* Hide scrollbars for quick chips */
#mascot-quick-chips {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#mascot-quick-chips::-webkit-scrollbar {
  display: none;
}

/* Teaser Bubble Speech Arrow Tail */
.carlos-bubble-tail {
  position: absolute;
  bottom: -6px;
  left: 26px;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-right: 1px solid #D5E5DC;
  border-bottom: 1px solid #D5E5DC;
  transform: rotate(45deg);
  pointer-events: none;
}

/* ==========================================================
   LÜKS KLİNİK CONCIERGE SOHBET MENÜSÜ & KARTLARI
   ========================================================== */
.dm-prompt-card-container {
  background: #FFFFFF;
  border: 1px solid #E1EBE5;
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 4px 20px rgba(13, 40, 30, 0.05);
  margin-top: 0.5rem;
}

.dm-prompt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 1.15rem;
  background: #FFFFFF;
  border: 1px solid #E3ECE6;
  box-shadow: 0 2px 8px rgba(13, 40, 30, 0.03);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: left;
}

.dm-prompt-btn:hover {
  background: #F4FAF6;
  border-color: #2A6F56;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(42, 111, 86, 0.14);
}

.dm-prompt-btn:active {
  transform: translateY(0) scale(0.99);
}

/* Chat Input Bar Modern Soft Glow */
.carlos-input-pill:focus-within {
  border-color: #2A6F56 !important;
  box-shadow: 0 0 0 3px rgba(42, 111, 86, 0.12), inset 0 1px 2px rgba(0,0,0,0.02);
}

/* Carlos Chat Modal Responsive & Backdrop Glow */
#salus-mascot-chat {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ==========================================================================
   5. ERİŞİLEBİLİRLİK & HAREKET DUYARLILIĞI (PREFERS-REDUCED-MOTION)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   6. WCAG 2.1 ERİŞİLEBİLİRLİK ODAK HALKASI (:focus-visible)
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #2A6F56 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(42, 111, 86, 0.25) !important;
}

/* ==========================================================================
   7. PRE-FOOTER WHATSAPP BUTONU İKON GÜVENLİĞİ
   ========================================================================== */
.pre-footer-whatsapp-btn svg {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

