:root {
  --brown-900: #3b2a1f;
  --brown-800: #4a3629;
  --brown-700: #5b4232;
  --brown-600: #6b4d3a;
  --brown-500: #8a654a;
  --brown-400: #a3785b;
  --cream-100: #f6efe9;
  --cream-200: #efe4da;
  --accent: #c38a5f;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--brown-900);
  background: var(--cream-100);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 233, 0.85);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--cream-200);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  position: relative;
  gap: 20px;
}
.brand { 
  display: flex; 
  align-items: center; 
  gap: 10px;
  flex-shrink: 0;
  order: -1;
}
.brand .logo { font-size: 22px; }
.brand h1 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin: 0;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

/* Header Actions Container - sağa daya */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
  order: 1;
}

/* Navigation */
.nav { 
  display: flex; 
  gap: 18px;
  align-items: center;
  order: 0;
  flex: 1;
  justify-content: center;
  position: relative;
}
.nav a {
  text-decoration: none;
  color: var(--brown-800);
  font-weight: 600;
  transition: color 200ms ease;
}
.nav a:hover { color: var(--accent); }

/* Burger Menu Button */
.burger-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background 200ms ease;
}

.burger-menu-btn:hover {
  background: rgba(195, 138, 95, 0.1);
}

.burger-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--brown-800);
  border-radius: 2px;
  transition: all 300ms ease;
}

.burger-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.burger-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.burger-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Responsive: Burger menu tetikleme */
@media (max-width: 768px) {
  .burger-menu-btn {
    display: flex;
  }

  /* Mobil'de eski düzeni koru */
  .header-inner {
    justify-content: space-between;
  }

  .brand {
    order: unset;
  }

  .header-actions {
    order: unset;
    margin-left: 0;
  }

  .nav {
    order: unset;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(246, 239, 233, 0.95);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--cream-200);
    border-bottom: 1px solid var(--cream-200);
    padding: 12px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease;
    justify-content: flex-start;
    flex: unset;
  }

  .nav.active {
    max-height: 300px;
  }

  .nav a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--cream-200);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Nav Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 42, 31, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 40;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(59,42,31,0.55) 0%,
    rgba(59,42,31,0.45) 50%,
    rgba(59,42,31,0.65) 100%
  );
}
.overlay.soft { background: rgba(59,42,31,0.45); }
.overlay.strong { background: rgba(59,42,31,0.65); }
.hero-content { position: relative; text-align: center; padding: 20px; }
.hero-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5.2vw, 42px);
  margin: 0 0 10px;
}
.hero-content p { font-size: clamp(15px, 2.6vw, 18px); margin: 0 0 24px; }
.cta { display: flex; align-items: center; gap: 24px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(195,138,95,0.35); }
.btn.primary:hover { filter: brightness(1.06); }

.qr-wrap { display: grid; place-items: center; gap: 6px; }
.qr-wrap img { width: 128px; height: 128px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 8px 24px rgba(59,42,31,0.25); }
.qr-wrap span { font-size: 12px; color: #fff; opacity: 0.9; }

.section { padding: 64px 0; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.section, .parallax { content-visibility: auto; }

.card {
  background: #fff;
  border: 1px solid var(--cream-200);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(59,42,31,0.08);
}
.card h3 { margin-top: 0; font-family: "Playfair Display", serif; }

.feature { background: #fff; border: 1px solid var(--cream-200); border-radius: 16px; padding: 18px; text-align: center; }
.feature .icon { font-size: 28px; }

.parallax { position: relative; background-attachment: fixed; background-size: cover; background-position: center; }
.parallax .parallax-content { position: relative; color: #fff; text-align: center; padding: 80px 20px; }
.parallax.mid { min-height: 60vh; display: grid; place-items: center; }
.parallax.low { min-height: 48vh; display: grid; place-items: center; }

.parallax { will-change: background-position; }

/* Mobilde sabit arka planı kaydırmaya çevir (iOS uyumluluk) */
@media (max-width: 900px) {
  .parallax { background-attachment: scroll; }
}

.site-footer { background: var(--brown-900); color: #eee; }
.footer-inner { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); padding: 28px 20px; }
.site-footer a { color: #eee; }
.site-footer a:hover { color: var(--accent); }

/* Sosyal ikonlar */
.social { display: flex; gap: 12px; align-items: center; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,0.25); color: #eee; transition: 200ms ease; }
.social-btn:hover { color: var(--accent); border-color: var(--accent); background: rgba(195,138,95,0.12); }
.social-btn svg { display: block; }

.reveal { opacity: 0; transform: translateY(12px); transition: 600ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Ek responsive düzenlemeler */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .header-inner { min-height: 56px; }
  .brand h1 { font-size: 18px; }
  .hero { min-height: 74vh; }
  .qr-wrap img { width: 100px; height: 100px; }
  .footer-inner { grid-template-columns: 1fr; }
}
/* --- Ek interaktif stiller (hover, underline, reveal, audio) --- */
/* Nav underline ve relative konumlandırma */
@media (min-width: 769px) {
  .nav a { position: relative; }
  .nav a::after{
    content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
    transform: scaleX(0); transform-origin: center; transition: 240ms ease;
  }
  .nav a:hover::after{ transform: scaleX(1); }
}

@media (max-width: 768px) {
  .nav a {
    position: relative;
    display: block;
    transition: background 200ms ease, color 200ms ease;
  }
  .nav a::after { 
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 200ms ease;
  }
  .nav a:hover::after,
  .nav a:active::after {
    transform: scaleY(1);
  }
}

/* Kart ve özellik hover efektleri */
.card { transition: 260ms ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(59,42,31,0.14); }
.feature { transition: 240ms ease; }
.feature:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 36px rgba(59,42,31,0.12); }

/* Buton hover yoğunluğu */
.btn.primary:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(195,138,95,0.45); }

/* Zengin reveal varyasyonları */
.reveal[data-anim="fade-up"]{ transform: translateY(16px); }
.reveal[data-anim="fade-left"]{ transform: translateX(16px); }
.reveal[data-anim="fade-right"]{ transform: translateX(-16px); }
.reveal[data-anim="zoom"]{ transform: scale(0.96); }
.reveal.visible[data-anim]{ transform: none; }
.reveal.blur { filter: blur(2px); }
.reveal.visible.blur { filter: blur(0); }

/* Ambiyans sesi butonu */
.audio-toggle{
  border: 1px solid var(--cream-200);
  background: #fff;
  color: var(--brown-800);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 200ms ease;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}
.audio-toggle:hover{ color: var(--accent); border-color: var(--accent); }
.audio-toggle[aria-pressed="true"]{ background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 8px 24px rgba(195,138,95,0.35); }
/* --- Ek interaktif stiller sonu --- */

/* Modal stilleri */
.modal-backdrop{ position: fixed; inset: 0; background: rgba(0,0,0,0.35); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: 240ms ease; z-index: 80; }
.modal-backdrop.visible{ opacity: 1; pointer-events: auto; }
.modal{ width: min(520px, calc(100% - 32px)); background: #fff; color: var(--brown-900); border-radius: 16px; box-shadow: 0 20px 48px rgba(59,42,31,0.22); padding: 20px; position: relative; }
.modal h3{ font-family: "Playfair Display", serif; margin: 0 0 8px; }
.modal p{ margin: 0 0 14px; color: var(--brown-700); }
.modal-actions{ display: flex; gap: 10px; flex-wrap: wrap; }
.modal-close{ position: absolute; right: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--cream-200); background: #fff; cursor: pointer; }

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(195, 138, 95, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease;
  z-index: 45;
  padding: 0;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(195, 138, 95, 0.45);
}

.scroll-top-btn:active {
  transform: translateY(0);
}

.scroll-top-btn svg {
  display: block;
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .scroll-top-btn svg {
    width: 18px;
    height: 18px;
  }
}
