/* =====================================================
   MIZA MEDİKAL ESTETİK - Premium Tasarım Sistemi
   ===================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand Colors */
  --gold: #ad8330;
  --gold-dark: #8a6826;
  --gold-deep: #6b4f1c;
  --gold-light: #c9a360;
  --gold-pale: #e6d5ad;
  --gold-mist: #f5ecd7;
  --gold-tint: rgba(173, 131, 48, 0.08);
  --gold-tint-strong: rgba(173, 131, 48, 0.18);

  /* Neutrals */
  --white: #ffffff;
  --cream: #faf7f1;
  --cream-deep: #f3ede0;
  --ink: #1f1a10;
  --text: #3a3326;
  --muted: #8a7e68;
  --line: rgba(173, 131, 48, 0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Italianno', 'Brush Script MT', cursive;

  /* Spacing */
  --container: 70rem;
  --radius: 4px;
  --radius-lg: 12px;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(31, 26, 16, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 26, 16, 0.08);
  --shadow-lg: 0 30px 80px rgba(31, 26, 16, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.9375rem, 0.45vw + 0.84rem, 1rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--white); }

/* ---------- 3. Utilities ---------- */
.container {
  width: min(100% - clamp(2rem, 6vw, 3.5rem), var(--container));
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
}

.section-header {
  text-align: center;
  margin: 0 auto clamp(2.5rem, 4vw, 3.75rem);
  max-width: 720px;
}
.section-header .section-subtitle { margin: 0 auto; }
.section-header .section-label { justify-content: center; }
.section-header .section-label::after {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: clamp(0.875rem, 1.1vw, 1.125rem) clamp(1.5rem, 2.4vw, 2.375rem);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-deep);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { box-shadow: 0 18px 40px rgba(173, 131, 48, 0.35); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

.btn-arrow {
  width: 18px;
  height: 10px;
  position: relative;
  transition: transform 0.45s var(--ease);
}
.btn-arrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}
.btn-arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn-arrow { transform: translateX(6px); }

/* ---------- 5. Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: clamp(0.75rem, 1.15vw, 1.25rem) 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: clamp(0.45rem, 0.8vw, 0.75rem) 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 26, 16, 0.04);
}
.navbar.nav-hidden {
  transform: translateY(-110%);
  box-shadow: none;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform 0.4s var(--ease);
}
.nav-logo img {
  width: clamp(5rem, 7.5vw, 7.875rem);
  height: auto;
  transition: width 0.4s var(--ease);
}
.navbar.scrolled .nav-logo img { width: clamp(4.25rem, 6vw, 6.5rem); }
.nav-logo:hover { transform: scale(1.03); }

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.45vw, 1.5rem);
}
.nav-menu a {
  position: relative;
  display: inline-block;
  padding: 0.625rem 0;
  font-size: clamp(0.72rem, 0.25vw + 0.66rem, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s var(--ease);
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a:hover::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.nav-menu a.active { color: var(--gold); }

.nav-cta {
  padding: clamp(0.85rem, 1vw, 1.125rem) clamp(1.35rem, 2.2vw, 2.125rem) !important;
  background: var(--gold);
  color: var(--white) !important;
  border-radius: 2px;
  margin-left: 0.25rem;
  transition: all 0.4s var(--ease) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold-deep);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(173, 131, 48, 0.3);
}

/* ---------- Language Switcher ---------- */
.nav-menu li.nav-lang { margin-left: 0.65rem; display: flex; align-items: center; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(173, 131, 48, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  gap: 2px;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-switch button:hover { color: var(--gold-dark); }
.lang-switch button.is-active {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(173, 131, 48, 0.28);
}
.navbar.scrolled .lang-switch { background: rgba(255, 255, 255, 0.85); }

/* ---------- Catalog (Dergi) Nav Button ---------- */
.nav-menu li.nav-katalog { margin-left: 0.25rem; display: flex; align-items: center; }
.nav-catalog-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.68rem 1.35rem;
  border: 1px solid rgba(173, 131, 48, 0.34);
  border-radius: 2px;
  background: rgba(173, 131, 48, 0.06);
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.25vw + 0.66rem, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark) !important;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.35s var(--ease), background 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}
/* "K" ilk harfinin solunda hafif altın çizgi - subtle luxury aksent */
.nav-catalog-btn > span {
  position: relative;
  display: inline-block;
  padding-left: 0.18em;
}
/* Üzerinden geçen subtle parıltı (shine) */
.nav-catalog-btn::after {
  display: none;
  animation: none;
}
.nav-catalog-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: none;
}

/* Pulse dot ve svg gizlenir (HTML'de kalmış olabilirler) */
.nav-catalog-btn .pulse-dot,
.nav-catalog-btn svg { display: none; }

/* Scrolled */
.navbar.scrolled .nav-catalog-btn {
  padding: 0.62rem 1.2rem;
  background: rgba(173, 131, 48, 0.08);
  box-shadow: none;
}
.navbar.scrolled .nav-catalog-btn:hover,
.navbar.scrolled .nav-catalog-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

/* Active (dergi sayfasındayken) */
.nav-catalog-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
  box-shadow: none;
}
.nav-catalog-btn.active::after { display: none; }

/* ---------- Mega Menu ---------- */
.nav-has-dropdown { position: static; }
.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}
.nav-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.nav-has-dropdown:hover .nav-chevron { transform: rotate(180deg); }
.nav-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(31, 26, 16, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 99;
}
.nav-has-dropdown:hover .nav-megamenu,
.nav-has-dropdown.open .nav-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.megamenu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  padding: clamp(1.5rem, 2.25vw, 2.25rem) 0 clamp(1.5rem, 2.5vw, 2.5rem);
}
.megamenu-col {
  padding: 0 clamp(1rem, 2vw, 2rem);
  border-right: 1px solid var(--line);
}
.megamenu-col:first-child { padding-left: 4px; }
.megamenu-col:last-child { border-right: none; }
.megamenu-cat {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 14px;
  margin-top: 0;
}
.megamenu-cat + .megamenu-cat { margin-top: 28px; }
.megamenu-col ul { list-style: none; padding: 0; margin: 0; display: block; }
.megamenu-col ul li { padding: 4px 0; display: block; }
.megamenu-col ul li a {
  font-size: 13.5px;
  color: var(--text);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
  display: block;
  white-space: normal;
}
.megamenu-col ul li a:hover { color: var(--gold); padding-left: 5px; }
.megamenu-divider { border: none; border-top: 1px solid var(--line); margin: 24px 0 20px; }
.megamenu-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gold-mist);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  transition: background 0.3s var(--ease), border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.megamenu-all-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(6rem, 8.5vw, 9rem) 0 clamp(3rem, 5.5vw, 5.5rem);
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 60%, var(--gold-mist) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--gold-tint-strong) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--gold-tint) 0%, transparent 65%);
  border-radius: 50%;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.hero-content { animation: fadeUp 1.2s var(--ease-out) both; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border: 1px solid var(--gold-pale);
  border-radius: 100px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: clamp(1.25rem, 2vw, 1.875rem);
}
.hero-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(173, 131, 48, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: clamp(1rem, 1.8vw, 1.75rem);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  display: block;
}
.hero-title .script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.2em;
  font-weight: 400;
  font-style: normal;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.65;
  color: var(--text);
  max-width: 560px;
  margin-bottom: clamp(1.5rem, 2.75vw, 2.625rem);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: clamp(0.875rem, 1.5vw, 1.5rem);
  flex-wrap: wrap;
}

.hero-meta {
  display: flex;
  gap: clamp(1.75rem, 2.8vw, 2.75rem);
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.hero-meta-item .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 3/4;
  max-width: clamp(18rem, 28vw, 26rem);
  margin-left: auto;
  animation: fadeIn 1.6s var(--ease-out) 0.3s both;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 20px 60px rgba(107, 79, 28, 0.15);
  }

.hero-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--white) 0%, var(--gold-mist) 50%, var(--gold-pale) 100%);
  box-shadow:
    inset 0 0 60px rgba(255, 255, 255, 0.6),
    0 30px 80px rgba(173, 131, 48, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}
.hero-orb img {
  width: 70%;
  filter: drop-shadow(0 10px 30px rgba(107, 79, 28, 0.2));
}

.hero-ring {
  position: absolute;
  border: 1px solid var(--gold-pale);
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring-1 { inset: -30px; border-style: dashed; animation: spin 60s linear infinite; }
.hero-ring-2 { inset: -70px; border-color: var(--gold-tint-strong); }

.hero-badge {
  position: absolute;
  padding: clamp(0.875rem, 1.1vw, 1.125rem) clamp(1rem, 1.4vw, 1.375rem);
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: floatBadge 5s ease-in-out infinite;
}
.hero-badge.top-left { top: 10%; left: -30px; animation-delay: 0s; }
.hero-badge.bottom-right { bottom: 8%; right: -20px; animation-delay: 1.5s; }
.hero-badge .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gold-mist);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.hero-badge .icon svg { width: 22px; height: 22px; }
.hero-badge .text { font-size: 13px; line-height: 1.3; }
.hero-badge .text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
}
.hero-badge .text span { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; }

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 3;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

/* ---------- 7. Services ---------- */
.services {
  padding: clamp(4rem, 7.5vw, 7.5rem) 0;
  background: var(--white);
  position: relative;
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: clamp(2rem, 3.75vw, 3.5rem);
  position: relative;
}
.services-tabs::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: var(--line);
}
.tab-btn {
  padding: clamp(0.75rem, 1.1vw, 1.125rem) clamp(1.5rem, 2.5vw, 2.5rem);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
  position: relative;
  transition: color 0.4s var(--ease);
  letter-spacing: 0.02em;
}
.tab-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.45s var(--ease);
}
.tab-btn.active {
  color: var(--gold);
  font-weight: 500;
}
.tab-btn.active::after { width: 70%; }
.tab-btn:hover:not(.active) { color: var(--gold-dark); }

.tab-pane { display: none; animation: fadeUp 0.6s var(--ease-out); }
.tab-pane.active { display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.service-card {
  position: relative;
  padding: 44px 32px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.5s var(--ease);
  overflow: hidden;
  cursor: default;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.55s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--gold-mist) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-pale);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 0.4; }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: clamp(3rem, 3.75vw, 4rem);
  height: clamp(3rem, 3.75vw, 4rem);
  border-radius: 50%;
  background: var(--gold-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: clamp(1rem, 1.6vw, 1.625rem);
  transition: all 0.5s var(--ease);
}
.service-icon svg { width: 30px; height: 30px; stroke-width: 1.4; }
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.3vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.service-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.4s var(--ease);
}
.service-link:hover { gap: 16px; }
.service-link::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.4s var(--ease);
}

/* ---------- 8. Catalog ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.catalog-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background 0.3s var(--ease);
  text-decoration: none;
}
.catalog-item:hover { background: var(--gold-mist); }
.catalog-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  min-width: 20px;
}
.catalog-info { flex: 1; }
.catalog-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}
.catalog-info span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.catalog-arrow {
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.catalog-item:hover .catalog-arrow {
  opacity: 1;
  transform: translateX(0);
}
.catalog-cta {
  text-align: center;
  margin-top: 8px;
}

/* ---------- 9. Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--ink) 0%, #14110a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(4.5rem, 7vw, 6.25rem) 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(173, 131, 48, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(24rem, 1.6fr) minmax(18rem, 1fr);
  gap: clamp(2rem, 4vw, 3.75rem);
  position: relative;
  z-index: 2;
}

.footer-brand .footer-logo,
.footer-brand p {
  display: none;
}

.footer-brand::before {
  content: var(--footer-social-label, "Sosyal Medya");
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: clamp(1.25rem, 2vw, 1.625rem);
  padding-bottom: 0.875rem;
  position: relative;
}

.footer-brand::after {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(2.95rem, 4vw, 3.45rem);
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.footer-socials {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  align-items: center;
}
.footer-social {
  --social-size: clamp(2.5rem, 2.6vw, 2.85rem);
  position: relative;
  width: var(--social-size);
  height: var(--social-size);
  border-radius: 50%;
  border: 1px solid rgba(201, 163, 96, 0.35);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.footer-social::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, rgba(230, 213, 173, 0.85), rgba(173, 131, 48, 0.95) 60%, rgba(107, 79, 28, 1) 100%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
  z-index: -1;
}
.footer-social:hover {
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(173, 131, 48, 0.28);
}
.footer-social:hover::before {
  opacity: 1;
  transform: scale(1);
}
.footer-social:active { transform: translateY(-2px); }
.footer-social svg {
  width: 42%;
  height: 42%;
  transition: transform 0.35s var(--ease);
}
.footer-social:hover svg { transform: scale(1.08); }

@media (max-width: 900px) {
  .footer-socials { flex-wrap: wrap; }
}

.iletisim-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.iletisim-socials .footer-social {
  color: var(--gold);
  background: var(--white);
  border-color: rgba(173, 131, 48, 0.28);
  box-shadow: 0 8px 20px rgba(31, 26, 16, 0.06);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.7vw + 1rem, 1.3rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: clamp(1.25rem, 2vw, 1.625rem);
  position: relative;
  padding-bottom: 0.875rem;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: "›";
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s var(--ease);
}
.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}
.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-map-col {
  min-width: 0;
}
.footer-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(10rem, 16vw, 16.25rem);
  overflow: hidden;
  border: 1px solid rgba(173, 131, 48, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}
.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.1) contrast(0.95) saturate(0.9);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.7rem, 1vw, 0.875rem);
  margin-bottom: clamp(0.9rem, 1.4vw, 1.125rem);
}
.footer-contact-item .icon {
  flex-shrink: 0;
  width: clamp(2rem, 2.8vw, 2.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(173, 131, 48, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}
.footer-contact-item .icon svg { width: 16px; height: 16px; }
.footer-contact-item .text {
  font-size: clamp(0.8125rem, 0.25vw + 0.75rem, 0.875rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact-item .text strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
  color: var(--gold-light);
}

.footer-bottom {
  margin-top: clamp(3.25rem, 6vw, 5rem);
  padding: clamp(1.25rem, 2vw, 1.625rem) 0;
  border-top: 1px solid rgba(173, 131, 48, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: clamp(0.75rem, 0.25vw + 0.7rem, 0.8125rem);
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
}
.footer-bottom .signature {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--gold);
}
.footer-made-with {
  width: 100%;
  text-align: center;
  font-size: 0.725rem;
  color: rgba(255, 255, 255, 0.35);
  padding-top: 0.75rem;
  margin-top: 0.125rem;
  border-top: 1px solid rgba(173, 131, 48, 0.1);
  letter-spacing: 0.04em;
}
.footer-made-with span { color: var(--gold); }

/* -- Footer newsletter strip -- */
.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding: clamp(1.25rem, 2.2vw, 1.75rem) 0 clamp(1.5rem, 2.8vw, 2.25rem);
  border-bottom: 1px solid rgba(173, 131, 48, 0.2);
  margin-bottom: clamp(2rem, 4vw, 3.75rem);
  position: relative;
  z-index: 2;
}
.footer-newsletter-text strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer-newsletter-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.footer-newsletter-btn {
  flex-shrink: 0;
  border: none !important;
  background: var(--gold) !important;
  color: #fff !important;
  padding: clamp(0.75rem, 1vw, 0.875rem) clamp(1.2rem, 2vw, 1.875rem) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 6px 22px rgba(173, 131, 48, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease) !important;
}
.footer-newsletter-btn:hover {
  background: #c9a04e !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(173, 131, 48, 0.55), 0 3px 8px rgba(0, 0, 0, 0.28);
}
.footer-newsletter-btn .btn-arrow {
  background: transparent;
  opacity: 0.9;
}
.footer-newsletter-btn:hover .btn-arrow {
  transform: translateX(4px);
}
.footer-newsletter-btn .btn-arrow::before,
.footer-newsletter-btn .btn-arrow::after {
  box-shadow: none;
}
@media (max-width: 600px) {
  .footer-newsletter { flex-direction: column; align-items: flex-start; }
}

/* -- Floating subscribe (bell) button -- */
.float-subscribe {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(173, 131, 48, 0.45), 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  text-decoration: none;
}
.float-subscribe::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: bellPulse 3.5s ease-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
}
.float-subscribe:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(173, 131, 48, 0.58);
  color: #fff;
}
.float-subscribe svg.bell-icon {
  width: 26px;
  height: 26px;
  transform-origin: 50% 4px;
  animation: bellRing 3.5s ease-in-out infinite;
}
.float-subscribe:hover svg.bell-icon { animation-duration: 0.9s; }

@keyframes bellRing {
  0%, 70%, 100% { transform: rotate(0); }
  72%  { transform: rotate(18deg); }
  76%  { transform: rotate(-15deg); }
  80%  { transform: rotate(12deg); }
  84%  { transform: rotate(-9deg); }
  88%  { transform: rotate(6deg); }
  92%  { transform: rotate(-3deg); }
  96%  { transform: rotate(0); }
}
@keyframes bellPulse {
  0%   { transform: scale(0.85); opacity: 0.6; }
  70%  { transform: scale(1.4);  opacity: 0;   }
  100% { transform: scale(1.4);  opacity: 0;   }
}
@media (prefers-reduced-motion: reduce) {
  .float-subscribe svg.bell-icon,
  .float-subscribe::after { animation: none; }
}

/* ---------- 9. Page Hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(8.5rem, 13vw, 12.5rem) 0 clamp(4rem, 6vw, 5.625rem);
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold-mist) 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-tint-strong) 0%, transparent 65%);
}
.page-hero::before { width: 500px; height: 500px; top: -250px; left: -150px; }
.page-hero::after { width: 600px; height: 600px; bottom: -300px; right: -200px; }

.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--ink);
  line-height: 1.1;
  margin: 14px 0;
}
.page-hero h1 em { color: var(--gold); font-weight: 500; }
.page-hero p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.breadcrumb a { transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-pale); }

/* ---------- 10. About Page Sections ---------- */
.about-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  position: relative;
}
.about-section.bg-cream { background: var(--cream); }

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
.split-content.reverse > :first-child { order: 2; }

.split-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-visual .img-wrap {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold-mist));
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-visual .img-wrap img { width: 65%; opacity: 0.85; }

.split-visual .img-wrap.photo-frame {
  background:
    linear-gradient(135deg, rgba(173,131,48,0.16), rgba(245,236,215,0.48)),
    var(--gold-mist);
}
.split-visual .img-wrap.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31,26,16,0.04), transparent 32%, rgba(31,26,16,0.08)),
    radial-gradient(circle at 70% 18%, rgba(255,255,255,0.28), transparent 34%);
  pointer-events: none;
}
.split-visual .img-wrap.photo-frame img {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}
.split-visual .img-wrap.vision-photo img { object-position: 50% 50%; }
.split-visual .img-wrap.mission-photo img { object-position: 52% 50%; }

.split-visual .accent-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  box-shadow: 0 20px 50px rgba(173, 131, 48, 0.4);
}
.split-visual .accent-circle.top-right { top: 30px; right: -50px; }
.split-visual .accent-circle.bottom-left { bottom: 30px; left: -50px; }
.split-visual .accent-circle .num { font-size: 3rem; font-weight: 500; line-height: 1; }
.split-visual .accent-circle .label { font-size: 0.85rem; font-style: italic; margin-top: 6px; }

.split-text .section-title { text-align: left; }
.split-text p {
  margin-bottom: 18px;
  line-height: 1.75;
  color: var(--text);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 1.75vw, 1.75rem);
  margin-top: clamp(1rem, 1.75vw, 1.75rem);
}
.value-card {
  text-align: center;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) clamp(1rem, 1.6vw, 1.625rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.5s var(--ease);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.value-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--gold-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.value-card .icon svg { width: 32px; height: 32px; stroke-width: 1.4; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.quote-section {
  padding: clamp(4.5rem, 7.5vw, 7.5rem) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(173, 131, 48, 0.18) 0%, transparent 60%);
  border-radius: 50%;
}
.quote-section blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.45;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.quote-section blockquote::before {
  content: "“";
  display: block;
  font-size: 6rem;
  font-family: var(--font-display);
  color: var(--gold);
  line-height: 0.5;
  margin-bottom: 30px;
}
.quote-section cite {
  display: block;
  margin-top: 40px;
  font-family: var(--font-script);
  font-size: 2.4rem;
  font-style: normal;
  color: var(--gold);
}

/* ---------- 11. Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(173, 131, 48, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(173, 131, 48, 0.05); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3.75rem); }
  .hero-visual { max-width: min(100%, 26.25rem); margin: 0 auto; }
  .hero-meta { gap: clamp(1.25rem, 3vw, 1.75rem); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.125rem); }
  .footer-map-col { grid-column: span 2; }
  .split-content { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.125rem); }
  .split-content.reverse > :first-child { order: 0; }
  .split-visual { max-width: min(100%, 30rem); margin: 0 auto; aspect-ratio: 4/4.5; }
}

@media (max-width: 768px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .nav-logo img { width: clamp(4.5rem, 22%, 6.25rem); }
  .navbar.scrolled .nav-logo img { width: clamp(3.75rem, 18%, 5.5rem); }
  /* backdrop-filter creates a fixed-position containing block; disable on mobile
     so the full-screen nav-menu overlay covers the entire viewport correctly.
     z-index raised above .float-subscribe (990) so the open menu overlay wins. */
  .navbar,
  .navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
  }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    padding: clamp(5.5rem, 18vw, 6.25rem) clamp(1.25rem, 6vw, 1.875rem) 1.875rem;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { padding: 1.125rem 0; display: block; font-size: 0.875rem; }
  .nav-menu a::after { display: none; }
  .nav-cta {
    margin: 1.25rem 0 0 !important;
    text-align: center;
    border-radius: 4px;
  }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu li.nav-lang { margin: 1rem 0 0; justify-content: center; padding-bottom: 1rem; }
  .nav-menu li.nav-katalog { margin: 0.5rem 0 0; justify-content: center; padding-bottom: 1rem; border-bottom: none; }
  .nav-catalog-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 22px;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }
  .navbar.scrolled .nav-catalog-btn {
    padding: 14px 22px;
  }
  .nav-catalog-btn svg { width: 16px; height: 16px; }
  .nav-megamenu { display: none !important; }
  .nav-chevron { display: none; }

  .hero { padding: clamp(7.25rem, 22vw, 8.125rem) 0 clamp(3.5rem, 10vw, 4.375rem); }
  .hero-meta { flex-wrap: wrap; gap: clamp(1rem, 4vw, 1.375rem) clamp(1.5rem, 6vw, 2.25rem); margin-top: clamp(2rem, 7vw, 3.125rem); padding-top: clamp(1.25rem, 5vw, 1.875rem); }
  .hero-meta-item .num { font-size: 1.8rem; }
  .hero-badge { padding: 14px 18px; }
  .hero-badge.top-left { left: 0; }
  .hero-badge.bottom-right { right: 0; }

  .services { padding: clamp(4rem, 10vw, 5rem) 0; }
  .section-header { margin-bottom: clamp(2.5rem, 7vw, 3.125rem); }

  .about-section { padding: clamp(3.5rem, 9vw, 4.375rem) 0; }
  .quote-section { padding: clamp(4rem, 10vw, 5rem) 0; }
  .split-visual .accent-circle { width: 130px; height: 130px; }
  .split-visual .accent-circle .num { font-size: 2.2rem; }

  .footer { padding: clamp(3.5rem, 10vw, 4.375rem) 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: clamp(2rem, 7vw, 2.5rem); }
  .footer-map-col { grid-column: auto; }
  .footer-map { min-height: auto; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1.5rem 0; margin-top: clamp(2.5rem, 8vw, 3.75rem); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem; }
  .btn { padding: 1rem 1.625rem; font-size: 0.75rem; }
  .hero-cta { gap: 0.875rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .service-card { padding: 2.25rem 1.625rem 2rem; }
  .catalog-item { padding: 0.875rem 1rem; }
}

/* ---------- 13. Fluid Layout Safeguards ---------- */
.blog-grid,
.urun-grid,
.urun-details-grid,
.gallery-grid,
.related-grid,
.abone-benefits,
.sor-info-grid,
.surec-timeline {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)) !important;
  gap: clamp(1rem, 2.4vw, 1.75rem) !important;
}

.iletisim-grid,
.urun-hero-grid,
.video-grid,
.randevu-form-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)) !important;
  gap: clamp(2rem, 5vw, 4rem) !important;
}

.form-row,
.rform-row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important;
  gap: clamp(0.85rem, 2vw, 1rem) !important;
}

.sor-card,
.iletisim-form-wrap,
.abone-form-card,
.randevu-form-wrap,
.randevu-form-panel,
.success-modal,
.urun-card,
.detail-card,
.related-card,
.value-card,
.service-card,
.blog-card-body {
  padding: clamp(1.25rem, 3vw, 2.5rem) !important;
}

.blog-empty,
.post-body,
.post-footer,
.sor-wrap,
.abone-form-card,
.post-cover-wrap,
.post-not-found,
.urun-hero-grid.no-image,
.urun-details-grid.cols-1 {
  max-width: min(100%, var(--container)) !important;
}

.harita-wrap {
  aspect-ratio: 16 / 5.5 !important;
}
.harita-wrap iframe,
.harita-placeholder {
  height: 100% !important;
  min-height: clamp(14rem, 28vw, 21.25rem) !important;
}

@media (max-width: 640px) {
  .blog-grid,
  .urun-grid,
  .urun-details-grid,
  .gallery-grid,
  .related-grid,
  .abone-benefits,
  .sor-info-grid,
  .surec-timeline,
  .iletisim-grid,
  .urun-hero-grid,
  .video-grid,
  .randevu-form-grid,
  .form-row,
  .rform-row {
    grid-template-columns: 1fr !important;
  }

  .harita-wrap {
    aspect-ratio: 4 / 3 !important;
  }
}

/* ---------- 14. Footer Consistency Lock ---------- */
.footer-grid {
  grid-template-columns: 16% 46% 30% !important;
  column-gap: 4% !important;
  row-gap: clamp(2rem, 5vw, 3.5rem) !important;
  align-items: start;
}

.footer-brand,
.footer-map-col,
.footer-col {
  min-width: 0;
}

.footer-brand {
  position: relative;
}

.footer-map {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
}

.footer-contact-item .text {
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 34% 62% !important;
    column-gap: 4% !important;
  }

  .footer-map-col {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .footer-col {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: clamp(2rem, 8vw, 2.75rem) !important;
  }

  .footer-map-col,
  .footer-col {
    grid-column: auto;
    grid-row: auto;
  }
}

/* =====================================================
   15. Ek Mobil Uyumluluk Düzeltmeleri
   ===================================================== */

/* Servis sekmeleri: küçük ekranlarda yatay kaydırmalı */
@media (max-width: 767px) {
  .services-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .services-tabs::-webkit-scrollbar { display: none; }
  .services-tabs .tab-btn { flex-shrink: 0; }
}

/* Hero badge: çok küçük ekranlarda sığ düzeni */
@media (max-width: 420px) {
  .hero-badge {
    padding: 10px 12px !important;
    gap: 8px;
  }
  .hero-badge .icon {
    width: 32px;
    height: 32px;
  }
  .hero-badge .icon svg { width: 18px; height: 18px; }
  .hero-badge .text strong { font-size: 13px; }
  .hero-badge .text span { font-size: 10px; }
  .hero-scroll { display: none; }
}

/* Alıntı bölümü: çok küçük ekranlarda imza boyutu */
@media (max-width: 420px) {
  .quote-section blockquote::before { font-size: 4rem; }
  .quote-section cite { font-size: 1.75rem; }
}

/* Split visual: accent circle mobilde taşmayı engelle */
@media (max-width: 768px) {
  .split-visual .accent-circle.top-right { right: -20px; }
  .split-visual .accent-circle.bottom-left { left: -20px; }
}

/* Float subscribe butonu: küçük ekranlarda boyut küçültme */
@media (max-width: 480px) {
  .float-subscribe {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 16px;
  }
  .float-subscribe svg.bell-icon {
    width: 22px;
    height: 22px;
  }
}

/* Sayfa hero alt metin: çok küçük ekranlarda kenar boşluğu */
@media (max-width: 480px) {
  .page-hero p { padding: 0 0.5rem; }
}

/* Katalog ızgarası: 360px altı cihazlarda tek sütun */
@media (max-width: 400px) {
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}
