/* ==============================================================================
   ANILARIM GÜVENDE — LUXURY GOLD & CHARCOAL DESIGN SYSTEM
   Zarif Altın Sarısı, Derin Şampanya & Siyah Lüks Arayüz
   ============================================================================== */

:root {
  /* Altın Sarısı & Lüks Palet */
  --primary-gold: #D4AF37;        /* Zarif Altın Sarısı */
  --primary-gold-dark: #AA8B22;   /* Derin Mat Altın */
  --primary-gold-glow: rgba(212, 175, 55, 0.12);
  
  --bg-dark: #0B0D12;             /* Derin Siyah / Şerit */
  --bg-card: #FAF8F5;             /* Sıcak Şampanya Krem (saf beyaz değil) */
  --bg-surface: #FAF8F5;          /* Sıcak Şampanya Krem */
  
  --border-color: #E2DDD5;        /* Zarif Krem Sınır */
  --border-gold: #D4AF37;
  
  --text-dark: #12151E;           /* Derin Koyu Gri */
  --text-muted: #525866;          /* Gövde Metni */
  --text-light: #F4F5F7;          /* Açık Metin */
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 4px 16px rgba(18, 21, 30, 0.04);
  --shadow-lg: 0 16px 40px rgba(18, 21, 30, 0.08);
  --shadow-gold: 0 16px 45px rgba(212, 175, 55, 0.15);

  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  overflow-x: clip; /* clip: scroll container oluşturmaz, position:sticky güvenli kalır */
  width: 100%;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-surface);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 2px solid var(--primary-gold, #d4af37);
  outline-offset: 2px;
}

@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;
  }
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
}

/* ============================================================
   Mobil Taban Kuralları (v4.3.0)
   1) iOS odak zoom'u: metin girişli alanlar mobilde asla 16px
      altı fontla render edilmez (inline stiller dahil ezilir).
   ============================================================ */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], input[type="search"], input[type="url"], input[type="date"],
  input[type="time"], input[type="datetime-local"], input[type="month"], input[type="week"],
  input:not([type]), select, textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: clamp(1.85rem, 5.2vw, 3.2rem);
}

h2 {
  font-size: clamp(1.45rem, 4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
}

.font-serif {
  font-family: var(--font-heading);
  font-style: italic;
}

.gold-text {
  color: var(--primary-gold-dark);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px auto;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-top: 10px;
  margin-bottom: 14px;
  font-weight: 600;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-gold-dark);
  margin-bottom: 8px;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  /* viewport-fit=cover: çentikli iPhone'larda yatay güvenli alan */
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}

.nav-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Üst satır: logo + arama + aksiyonlar (Trendyol tarzı) */
.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  color: var(--text-dark);
}

.logo-gold {
  color: var(--primary-gold-dark);
  margin-left: 5px;
}

/* Arama çubuğu */
.nav-search {
  flex: 1;
  max-width: 560px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--primary-gold);
  border-radius: 50px;
  padding: 4px 4px 4px 16px;
  gap: 8px;
  transition: box-shadow 0.2s;
}
.nav-search:focus-within { box-shadow: 0 0 0 4px var(--primary-gold-glow); }
.nav-search-ico { display: flex; color: var(--text-muted); }
.nav-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  padding: 8px 0;
  min-width: 0;
}
.nav-search-input::placeholder { color: var(--text-muted); }
.nav-search-btn {
  border: none;
  background: var(--primary-gold);
  color: #12151E;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-search-btn:hover { background: var(--primary-gold-dark); color: #fff; }

/* Alt satır: kategori menüsü */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  height: 44px;
  border-top: 1px solid var(--border-color);
  padding-top: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}
.nav-link-store { font-weight: 600; color: var(--text-dark); }
.nav-link-code { color: var(--primary-gold-dark); }

.nav-link:hover,
.nav-link-store:hover {
  color: var(--primary-gold-dark);
}

.nav-caret { transition: transform 0.2s; }
.nav-item-has-menu:hover .nav-caret,
.nav-item-has-menu.menu-open .nav-caret { transform: rotate(180deg); }

/* Icon linkleri (favori, sepet) */
.nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.nav-icon-link:hover {
  background: var(--primary-gold-glow);
  color: var(--primary-gold-dark);
}
.nav-icon-link .svgicon { width: 22px; height: 22px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-cart-badge, .nav-fav-badge {
  background: var(--primary-gold);
  color: #12151E;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 50px;
  min-width: 16px;
  text-align: center;
  position: absolute;
  top: 2px;
  right: 2px;
  line-height: 1.4;
}
.nav-fav-badge { background: #E11D48; color: #fff; }

.nav-account-btn { white-space: nowrap; }

.nav-item-right { margin-left: auto; }

/* === MEGA-MENU === */
.nav-item-has-menu { position: relative; }
.nav-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  max-width: calc(100vw - 24px);
  background: #faf8f5;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
@media (max-width: 480px) {
  .nav-megamenu {
    min-width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
    grid-template-columns: 1fr;
  }
}
.nav-item-has-menu:hover .nav-megamenu,
.nav-item-has-menu.menu-open .nav-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-dark);
  transition: background 0.15s;
}
.megamenu-item:hover { background: var(--bg-surface); }
.megamenu-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-gold-glow);
  color: var(--primary-gold-dark);
  flex-shrink: 0;
}
.megamenu-text { display: flex; flex-direction: column; }
.megamenu-text strong { font-size: 0.92rem; font-weight: 600; }
.megamenu-text small { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  line-height: 1.2;
}

.btn-gold {
  background: var(--primary-gold-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(170, 139, 34, 0.25);
}

.btn-gold:hover {
  background: #8F741B;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-color);
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary-gold-dark);
  color: var(--primary-gold-dark);
}

.btn-ghost {
  background: rgba(226, 221, 213, 0.35);
  color: var(--text-dark);
}

.btn-ghost:hover {
  background: var(--border-color);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  gap: 6px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.98rem;
  gap: 10px;
}

.btn i,
.btn .svgicon,
.btn svg,
button i,
button .svgicon,
button svg,
a.btn i,
a.btn .svgicon,
a.btn svg {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-sm i,
.btn-sm .svgicon,
.btn-sm svg {
  font-size: 0.95em;
}

.btn-lg i,
.btn-lg .svgicon,
.btn-lg svg {
  font-size: 1.15em;
}

/* FULL-BLEED HERO BACKGROUND VIDEO SECTION */
.hero-full-bleed {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #06080C;
  color: #FFFFFF;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: brightness(0.42);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.72) 0%, rgba(6, 8, 12, 0.5) 50%, rgba(6, 8, 12, 0.92) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 24px;
}

.hero-subtitle-tag {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.05rem, 1.4rem + 3.2vw, 3.6rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #D1D5DB;
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-quick-form {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto 32px auto;
}

.hero-quick-form input {
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 20px;
  font-size: 0.92rem;
  color: #FFFFFF;
  width: 100%;
  font-family: var(--font-body);
}

.hero-quick-form input::placeholder {
  color: #9CA3AF;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Stats Strip */
.stats-strip {
  background: var(--bg-card);
  padding: 36px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-box h3,
.stat-box .stat-num {
  font-size: 2.2rem;
  color: var(--primary-gold-dark);
  font-family: var(--font-heading);
  margin: 0 0 4px 0;
}

.stat-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Role Switcher Section */
.role-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.role-tabs-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.role-tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.role-tab-btn.active {
  background: #12151E;
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.role-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  padding: clamp(24px, 5vw, 44px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.role-panel.active {
  display: grid;
}

.role-panel-content h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.role-panel-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.role-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.role-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.role-feature-item span {
  color: var(--primary-gold-dark);
  font-weight: 700;
}

.role-panel-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.role-panel-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Masa QR Kartları & Canlı Ekran */
.feature-row-section {
  padding: 80px 0;
}

.feature-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.clean-img-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.clean-img-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* SADE & ZARİF HIZLI HESAPLAYICI */
.calculator-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.calculator-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 5vw, 40px);
  max-width: 760px;
  margin: 0 auto;
}

.guest-count-val {
  color: var(--primary-gold-dark);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.custom-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #E5E0D8;
  outline: none;
  accent-color: var(--primary-gold-dark);
  cursor: pointer;
}

.calc-result-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.calc-price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

/* DETAYLI & ŞIK PRICING SECTION */
.pricing-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: clamp(24px, 5vw, 40px) clamp(18px, 4vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--primary-gold-dark);
  box-shadow: var(--shadow-gold);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold-dark);
  color: #FFFFFF;
  padding: 3px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-header {
  margin-bottom: 20px;
}

.package-header h3 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.package-price {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 10px;
}

.package-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.package-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.92rem;
}

.package-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.package-feature-item span.icon-check {
  color: var(--primary-gold-dark);
  font-weight: 800;
}

.package-feature-item.disabled {
  color: #A1A5B0;
  text-decoration: line-through;
}

.package-feature-item.disabled span.icon-check {
  color: #C5C9D3;
}

/* ============================================================
   INLINE SVG İKON SİSTEMİ (emoji yerine geçer)
   Renk currentColor'dan gelir; boyut font-size veya width/height.
   ============================================================ */
.svgicon {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svgicon.ico-inline {
  margin-right: 6px;
}

.btn .svgicon.ico-inline,
.btn-sm .svgicon.ico-inline,
.btn-lg .svgicon.ico-inline,
button .svgicon.ico-inline,
a.btn .svgicon.ico-inline,
[style*="display:flex"] > .svgicon.ico-inline,
[style*="display: flex"] > .svgicon.ico-inline,
[style*="display:inline-flex"] > .svgicon.ico-inline,
[style*="display: inline-flex"] > .svgicon.ico-inline {
  margin-right: 0;
}

/* Check ikonu — yeşil/altın, dolu çerçeve */
.role-feature-item .svgicon,
.clean-check .svgicon,
.package-feature-item .svgicon.icon-check {
  width: 1.15em;
  height: 1.15em;
  color: var(--primary-gold-dark);
  stroke-width: 2.5;
}
.package-feature-item.disabled .svgicon {
  color: #C5C9D3;
}

/* FAQ chevron — altın, rotate ile açılır */
.faq-icon .svgicon {
  width: 1.1em;
  height: 1.1em;
  color: var(--primary-gold-dark);
  transition: transform 0.3s ease;
  display: block;
}
.faq-item.active .faq-icon .svgicon {
  transform: rotate(180deg);
}

/* Mobil menü hamburger ikonu */
.mobile-toggle .svgicon {
  width: 1.5em;
  height: 1.5em;
  color: var(--text-dark);
}

/* Buton içindeki ok ikonu — inherit renk */
.btn .svgicon.icon-arrow {
  width: 1em;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.1em;
}

/* Sipariş formu: WhatsApp ve kilit ikonları */
.wa-icon .svgicon,
.order-submit-wrap .wa-icon .svgicon {
  width: 1.3em;
  height: 1.3em;
  color: currentColor;
}
.order-form-note .note-icon .svgicon {
  width: 1.25em;
  height: 1.25em;
  color: var(--primary-gold-dark);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 18px 24px;
}

/* Footer */
.footer {
  background: #080A0E;
  color: #9CA3AF;
  padding: 70px 0 32px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer-desc {
  margin-top: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 360px;
}

.footer-trust-badges {
  font-size: 0.8rem;
  color: var(--primary-gold);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .footer-links-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Code Modal */
.code-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.code-modal-card {
  background: var(--bg-card);
  padding: clamp(24px, 6vw, 36px);
  border-radius: var(--radius-xl);
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
}

.code-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .code-modal-close {
    min-width: 44px;
    min-height: 44px;
  }
}

.input-group {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.input-group input {
  flex: 1;
  padding: 10px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-size: 0.95rem;
  font-family: var(--font-body);
}

/* ============================================================
   SİPARİŞ FORMU MODALI (paket seçilince açılır)
   ============================================================ */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11,13,18,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
}
.order-modal-overlay.show {
  display: flex;
}

.order-modal-card {
  background: var(--bg-card, #FAF8F5);
  max-width: 560px;
  width: 100%;
  margin: auto;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: orderModalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes orderModalIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Modal üst başlık şeridi — paket özeti */
.order-modal-header {
  background: linear-gradient(135deg, #0B0D12 0%, #1a1f2e 100%);
  color: #FFFFFF;
  padding: 28px 32px 24px;
  position: relative;
}
.order-modal-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}
.order-modal-tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.order-modal-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.2;
}
.order-modal-price {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
}
.order-modal-price strong {
  color: var(--primary-gold);
  font-size: 1.15rem;
}

.order-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.order-modal-close:hover {
  background: rgba(255,255,255,0.22);
}

/* Form gövdesi */
.order-modal-body {
  padding: 28px 32px 32px;
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.order-form-grid .full {
  grid-column: 1 / -1;
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.order-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.order-field label .req {
  color: #e11d48;
}
.order-field input,
.order-field select,
.order-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border-color, #E8E2D9);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-body, inherit);
  background: #fdfcfa;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px var(--primary-gold-glow, rgba(212,175,55,0.12));
}
.order-field textarea {
  resize: vertical;
  min-height: 72px;
}

.order-form-note {
  background: var(--primary-gold-glow, rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
  line-height: 1.5;
}
.order-form-note .note-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}

.order-submit-wrap {
  margin-top: 22px;
}
.order-submit-wrap .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.02rem;
}
.order-submit-wrap .btn .wa-icon {
  font-size: 1.2rem;
}

@media (max-width: 560px) {
  .order-modal-card { border-radius: 16px; }
  .order-modal-header,
  .order-modal-body { padding-left: 22px; padding-right: 22px; }
  .order-form-grid { grid-template-columns: 1fr; gap: 14px; }
  .order-modal-title { font-size: 1.6rem; }
}

/* Guest Upload Page Styling (u.php) */
.guest-wrapper {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background: var(--bg-surface);
}

.guest-card {
  background: #faf8f5;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: clamp(26px, 6vw, 44px) clamp(20px, 5vw, 36px);
  box-shadow: var(--shadow-lg);
}

.guest-event-header {
  text-align: center;
  margin-bottom: 28px;
}

.event-type-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-gold-dark);
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.guest-event-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.guest-event-date {
  font-size: 0.95rem;
  color: var(--primary-gold-dark);
  font-weight: 600;
  margin-bottom: 12px;
}

.guest-event-msg {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background: #fdfcfa;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--primary-gold-dark);
}

.dropzone {
  border: 2px dashed var(--primary-gold-dark);
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-lg);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  margin-top: 24px;
  transition: all 0.25s ease;
}

.dropzone:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
}

.dropzone-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid var(--border-color);
}

.progress-box {
  display: none;
  margin-top: 20px;
}

.progress-bar-bg {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-gold-dark);
  transition: width 0.2s ease;
}

.progress-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Responsive Media Queries */
@media (max-width: 1140px) {
  .nav-menu { gap: 16px; font-size: 0.85rem; }
  .logo { font-size: 1.2rem; }
  .nav-search { max-width: 380px; }
}

@media (max-width: 992px) {
  .hero-title { font-size: 2.6rem; }
  .stats-grid, .pricing-grid, .role-panel, .feature-row-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  /* Mobilde nav-menu alt satırı gizlenir, mobil menü açılır */
  .nav-menu { display: none; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    border-radius: 10px;
  }
  /* Arama çubuğu mobilde tam genişlik alta iner */
  .nav-top-row { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 12px; }
  .nav-search { order: 3; flex: 1 1 100%; max-width: 100%; min-height: 44px; }
  .nav-account-btn { display: none; }
  .nav-megamenu { position: static; grid-template-columns: 1fr; box-shadow: none; border: none; padding: 0; opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 640px) {
  .footer-links-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col h4 { margin-bottom: 12px; font-size: 1.05rem; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { display: inline-block; padding: 4px 0; font-size: 0.92rem; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-socials { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .logo { font-size: 1.05rem; }
  .nav-search-btn { padding: 10px 16px; font-size: 0.82rem; min-height: 44px; }
  .nav-icon-link { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
}

/* Yatay Kaydırılabilir Çip Barı Ortak Yardımcısı */
.horizontal-chip-bar {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
  padding: 4px 0 8px;
}
.horizontal-chip-bar::-webkit-scrollbar {
  display: none;
}
.horizontal-chip-bar > * {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ============================================================
   SEAMLESS INFINITE MARQUEE TICKER BAR
   ============================================================ */
.topbar-announcement {
  background: #0b0d12;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  width: 100%;
}

.topbar-announcement-track {
  display: inline-flex;
  align-items: center;
  gap: 35px;
  width: max-content;
  animation: marqueeContinuous 30s linear infinite;
}

.topbar-announcement-track:hover {
  animation-play-state: paused;
}

.topbar-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #e2e8f0;
}

.topbar-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #D4AF37;
  font-size: 0.65rem;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

@keyframes marqueeContinuous {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brand-logo-img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 480px) {
  .brand-logo-img { max-height: 34px; }
}

@media (max-width: 330px) {
  html, body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .brand-logo-img { max-height: 28px; }
}


