/*
Theme Name: Agva Hidden Paradise V5 Fixed
Theme URI: https://example.com/
Author: OpenAI
Description: Ağva Hidden Paradise için WordPress'te düzenlenebilir, fiyat göstermeyen, WhatsApp rezervasyon odaklı bungalov teması.
Version: 5.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: agva-hidden-paradise-v5-fixed
*/

/* ==========================================================================
   AĞVA HIDDEN PARADISE — STYLE SYSTEM
   Palette:  Pine (#1E2A1F) / Parchment (#F1ECDC) / Sage Mist (#8A9B84)
             Brass (#B8874A) / Bark (#5B4433)
   Type:     Display  — "Fraunces"  (editorial serif, warm/organic)
             Body     — "Work Sans" (clean, modern, highly legible)
   Signature: tek bir "nehir çizgisi" (river-line) SVG motifi — bölümler
              arasında akan ince bir eğri; hem estetik hem de "nehir kenarı"
              temasını doğrudan simgeliyor. Tekrarlanan tek "bold" öğe budur.
   ========================================================================== */

:root {
  /* Renkler — WordPress Özelleştirici > Renkler'e taşınacak */
  --color-pine: #1e2a1f;
  --color-pine-deep: #141d16;
  --color-parchment: #f1ecdc;
  --color-parchment-soft: #f8f5ec;
  --color-sage: #8a9b84;
  --color-sage-soft: #dfe6d8;
  --color-brass: #b8874a;
  --color-brass-deep: #96692f;
  --color-bark: #5b4433;
  --color-ink: #23241f;
  --color-white: #ffffff;

  /* Fontlar — WordPress Özelleştirici > Fontlar'a taşınacak */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  /* Ölçüler */
  --container-max: 1240px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-pad: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-parchment-soft);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Gerçek fotoğraflar yüklenene kadar (ör. görsel linki geçersizse) zarif bir
   yer tutucu davranışı: alt metni taşırmaz, sade bir zemin rengi gösterir. */
img.reveal, .bungalow-media img, .activity-card img, .gallery-item img,
.intro-media img, .split-media img, .pool-media img {
  background: var(--color-sage-soft);
  color: transparent;
}
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; color: var(--color-pine); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-brass-deep);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--color-brass);
}
.section-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  max-width: 620px;
}
.section-text {
  max-width: 560px;
  color: #4b4f42;
  font-size: 16.5px;
}
.section-head { margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-title,
.section-head.center .section-text { max-width: 640px; margin-left: auto; margin-right: auto; }

/* Nehir çizgisi — imza öğe */
.river-divider {
  width: 100%;
  height: 46px;
  display: block;
  color: var(--color-brass);
}
.river-divider path { stroke: currentColor; }
.river-divider.on-dark { color: rgba(241,236,220,0.55); }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-brass);
  color: var(--color-pine-deep);
}
.btn-primary:hover { background: var(--color-brass-deep); color: var(--color-white); }
.btn-outline {
  background: transparent;
  border-color: rgba(241,236,220,0.55);
  color: var(--color-parchment);
}
.btn-outline:hover { background: rgba(241,236,220,0.12); border-color: var(--color-parchment); }
.btn-outline-dark {
  background: transparent;
  border-color: rgba(30,42,31,0.3);
  color: var(--color-pine);
}
.btn-outline-dark:hover { background: rgba(30,42,31,0.06); }
.btn-whatsapp {
  background: #ffffff;
  color: var(--color-pine-deep);
}
.btn-whatsapp:hover { background: var(--color-brass); }
.btn-icon { width: 17px; height: 17px; flex-shrink: 0; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

/* Ana sayfa: header, hero görselinin üzerinde her zaman şeffaf kalır.
   Scroll pozisyonundan bağımsızdır — herhangi bir renk/arkaplan geçişi yoktur. */
.site-header.site-header--transparent {
  background: transparent;
  box-shadow: none;
  transition: background-color 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

/* Ana sayfada hero üzerinde şeffaf; aşağı kaydırınca iç sayfalardaki
   koyu yeşil header görünümüne geçer. */
.site-header.site-header--transparent.is-scrolled {
  background: var(--color-pine);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* İç sayfalar (bungalow/aktivite detay sayfaları vb.): header her zaman
   koyu yeşil ve tamamen opaktır. Scroll'da hiçbir şekilde değişmez. */
.site-header.site-header--solid {
  background: var(--color-pine);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-parchment);
  letter-spacing: 0.01em;
}
.logo span { color: var(--color-brass); }

.desktop-nav { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(241,236,220,0.88);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--color-brass);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 30px; height: 22px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  z-index: 200;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--color-parchment);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0;
  background: var(--color-pine-deep);
  z-index: 150;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; color: var(--color-parchment); }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  color: var(--color-parchment);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--color-pine); }
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  color: transparent;
  transform: none !important;
  animation: none !important;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,29,22,0.35) 0%, rgba(20,29,22,0.15) 35%, rgba(20,29,22,0.82) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding-bottom: clamp(56px, 9vw, 110px);
  padding-top: 160px;
  width: 100%;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-sage-soft);
  margin-bottom: 22px;
  opacity: 0; animation: rise 1s var(--ease) 0.2s forwards;
}
.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  color: var(--color-parchment);
  line-height: 0.98;
  max-width: 900px;
  opacity: 0; animation: rise 1.1s var(--ease) 0.35s forwards;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--color-sage-soft);
  margin-top: 18px;
  opacity: 0; animation: rise 1.1s var(--ease) 0.5s forwards;
}
.hero-desc {
  max-width: 520px;
  margin-top: 26px;
  color: rgba(241,236,220,0.82);
  font-size: 16px;
  opacity: 0; animation: rise 1.1s var(--ease) 0.65s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 40px;
  opacity: 0; animation: rise 1.1s var(--ease) 0.8s forwards;
}
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(241,236,220,0.6);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0; animation: rise 1s var(--ease) 1.1s forwards;
}
.scroll-cue .line { width: 1px; height: 30px; background: linear-gradient(rgba(241,236,220,0.7), transparent); animation: scroll-cue-move 2s ease-in-out infinite; }
@keyframes scroll-cue-move { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- Generic section spacing ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section-dark { background: var(--color-pine); color: var(--color-parchment); }
.section-dark .section-title, .section-dark h3 { color: var(--color-parchment); }
.section-dark .section-text { color: rgba(241,236,220,0.75); }
.section-soft { background: var(--color-parchment); }

/* ---------- Intro / Tanıtım ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.intro-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-copy .section-text { margin-top: 22px; max-width: 480px; }
.intro-copy { order: -1; }

/* ---------- Bungalow cards ---------- */
.bungalow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 34px;
}
.bungalow-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(30,42,31,0.05);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.bungalow-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(30,42,31,0.14); }
.bungalow-media { position: relative; aspect-ratio: 5/4; overflow: hidden; }
.bungalow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.bungalow-card:hover .bungalow-media img { transform: scale(1.06); }
.bungalow-body { padding: 26px 26px 28px; }
.bungalow-body h3 { font-size: 22px; margin-bottom: 10px; }
.bungalow-desc { color: #565b4c; font-size: 15px; margin-bottom: 16px; }
.bungalow-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.bungalow-tags span {
  font-size: 12px; letter-spacing: 0.02em;
  padding: 6px 12px; border-radius: 999px;
  background: var(--color-sage-soft); color: var(--color-pine);
}
.bungalow-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bungalow-actions .btn { flex: 1; padding: 12px 18px; font-size: 13.5px; }

/* ---------- Özellikler (features) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(241,236,220,0.12);
  border: 1px solid rgba(241,236,220,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.feature-item {
  background: var(--color-pine);
  padding: 34px 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  transition: background 0.4s var(--ease);
}
.feature-item:hover { background: var(--color-pine-deep); }
.feature-icon {
  width: 34px; height: 34px;
  color: var(--color-brass);
}
.feature-item h4 { color: var(--color-parchment); font-size: 15px; font-weight: 500; line-height: 1.35; }

/* ---------- Aktiviteler ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.activity-card { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/5; }
.activity-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.activity-card:hover img { transform: scale(1.07); }
.activity-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,29,22,0) 40%, rgba(20,29,22,0.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
}
.activity-overlay h3 { color: var(--color-parchment); font-size: 20px; margin-bottom: 8px; }
.activity-overlay p { color: rgba(241,236,220,0.78); font-size: 14px; }

/* ---------- Atmosfer (river banner) ---------- */
.atmosphere {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--color-parchment);
  overflow: hidden;
  background: var(--color-pine);
}
.atmosphere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.atmosphere::after { content: ""; position: absolute; inset: 0; background: rgba(20,29,22,0.42); }
.atmosphere-content { position: relative; z-index: 1; }
.atmosphere-content span.eyebrow { color: var(--color-sage-soft); }
.atmosphere-content span.eyebrow::before { background: rgba(241,236,220,0.6); }
.atmosphere h2 {
  font-size: clamp(32px, 5.5vw, 62px);
  font-style: italic;
  color: var(--color-parchment);
  font-weight: 500;
}

/* ---------- Split sections (restaurant) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.split-media { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy .section-text { margin-top: 20px; }
.split.reverse .split-media { order: 2; }

/* ---------- Havuz & Jakuzi ---------- */
.pool-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.pool-media { border-radius: var(--radius-md); overflow: hidden; }
.pool-media img { width: 100%; height: 100%; object-fit: cover; }
.pool-media.tall { aspect-ratio: 3/4; }
.pool-media.wide { aspect-ratio: 4/3.4; }
.pool-copy { grid-column: 1 / -1; margin-bottom: 6px; }

/* ---------- Galeri ---------- */
.gallery-grid {
  columns: 4 260px;
  column-gap: 18px;
}
.gallery-item {
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,29,22,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  background: none; border: none; color: var(--color-parchment);
  font-size: 28px; line-height: 1;
}

/* ---------- Instagram ---------- */
.instagram-section { text-align: center; }
.instagram-handle {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-style: italic;
  color: var(--color-pine);
  margin-top: 6px;
}
.instagram-actions { margin-top: 28px; }

/* ---------- Rezervasyon CTA ---------- */
.cta-band {
  background: var(--color-pine);
  color: var(--color-parchment);
  text-align: center;
  padding: clamp(70px, 9vw, 120px) 0;
}
.cta-band h2 { color: var(--color-parchment); font-size: clamp(30px, 4.5vw, 50px); max-width: 720px; margin: 0 auto; }
.cta-band .section-text { color: rgba(241,236,220,0.78); margin: 18px auto 0; text-align: center; }
.cta-band .btn { margin-top: 34px; }

/* ---------- Konum ---------- */
.map-wrap { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/7; border: 1px solid rgba(30,42,31,0.08); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.location-meta { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 26px; color: #4b4f42; font-size: 15px; }
.location-meta a { color: var(--color-brass-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-pine-deep); color: rgba(241,236,220,0.72); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(241,236,220,0.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-size: 14.5px; }
.footer-col h5 {
  color: var(--color-parchment); font-family: var(--font-body);
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col a:hover { color: var(--color-brass); }
.footer-social {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin-top: 22px;
}
.footer-social a {
  width: auto; min-width: 112px; height: 40px; padding: 0 15px;
  border-radius: 22px;
  border: 1px solid rgba(241,236,220,0.2);
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; line-height: 1;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-social a:hover { background: var(--color-brass); border-color: var(--color-brass); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom {
  padding: 24px 0 34px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(241,236,220,0.5);
}

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 250;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
.whatsapp-float .pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: #25D366;
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes pulse { 0% { opacity: 0.55; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .intro-grid, .split, .pool-grid { grid-template-columns: 1fr; }
  .intro-copy { order: 0; }
  .split.reverse .split-media { order: 0; }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { columns: 3 220px; }
}
@media (max-width: 980px) {
  .hero {
    height: 980px !important;
    min-height: 980px !important;
    aspect-ratio: auto !important;
  }
  .hero-media img { object-position: center center !important; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero {
    height: 920px !important;
    min-height: 920px !important;
    aspect-ratio: auto !important;
  }
  .hero-content {
    padding-top: 130px;
    padding-bottom: 105px;
  }
  .hero-eyebrow { margin-bottom: 22px; }
  .hero-title { font-size: 47px; line-height: 1.02; max-width: 100%; }
  .hero-subtitle { font-size: 23px; line-height: 1.35; }
  .hero-desc { max-width: 100%; font-size: 17px; line-height: 1.7; margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .gallery-grid { columns: 2 160px; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .bungalow-actions { flex-direction: column; }
  .bungalow-actions .btn { flex: none; }
}

/* Hakkımızda uzun içerik */
.about-content { white-space: pre-line; }
.about-content { line-height: 1.8; }

/* Footer social links: never overlap, including narrow/mobile layouts. */
.footer-social { flex-direction: column !important; align-items: flex-start !important; gap: 12px !important; width: 100%; }
.footer-social a { display: flex !important; width: 150px !important; min-width: 150px !important; box-sizing: border-box; flex: 0 0 auto; }
@media (max-width: 640px) { .footer-social a { width: 100% !important; max-width: 260px; } .footer-bottom { padding-bottom: 90px; } }

/* ---------- Mobile header hardening ---------- */
@media (max-width: 980px) {
  .site-header,
  .site-header.site-header--solid {
    padding: 12px 0;
  }
  .site-header .container {
    width: min(100% - 28px, var(--container));
    min-height: 48px;
    gap: 12px;
  }
  .site-header .logo {
    min-width: 0;
    max-width: calc(100% - 58px);
    display: flex;
    align-items: center;
  }
  .site-header .logo img {
    display: block;
    width: auto !important;
    max-width: 190px !important;
    max-height: 44px !important;
    height: auto !important;
    object-fit: contain;
  }
  .site-header .nav-toggle {
    display: flex !important;
    flex: 0 0 34px;
    width: 34px;
    height: 24px;
    padding: 2px 0;
    margin-left: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .site-header .nav-toggle span {
    width: 34px;
    height: 2px;
    border-radius: 2px;
  }
  .desktop-nav,
  .site-header .nav-cta {
    display: none !important;
  }
  .mobile-menu {
    padding: 88px 24px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-menu-inner {
    width: min(100%, 360px);
  }
  .mobile-menu nav {
    width: 100%;
    gap: 20px;
  }
  .mobile-menu a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 23px;
    line-height: 1.2;
    padding: 8px 10px;
  }
  .mobile-menu .btn {
    width: 100%;
    max-width: 280px;
    margin: 8px auto 0;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .site-header,
  .site-header.site-header--solid {
    padding: 10px 0;
  }
  .site-header .container {
    width: calc(100% - 24px);
    min-height: 46px;
  }
  .site-header .logo img {
    max-width: 155px !important;
    max-height: 40px !important;
  }
  .site-header .nav-toggle {
    flex-basis: 32px;
    width: 32px;
    height: 23px;
  }
  .site-header .nav-toggle span {
    width: 32px;
  }
}


/* V5.1 HERO FINAL OVERRIDE — prevents stale/cached responsive rules from
   collapsing the hero. Desktop shows the supplied 1536x864 image without crop;
   mobile uses the same source with controlled crop and full overlay layout. */
.hero#hero { overflow: hidden !important; }
.hero#hero .hero-media { position: absolute !important; inset: 0 !important; }
.hero#hero .hero-media img {
  width: 100% !important; height: 100% !important;
  max-width: none !important;
  object-fit: cover !important; object-position: center center !important;
  transform: none !important; animation: none !important;
}
@media (min-width: 981px) {
  .hero#hero { height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
}
@media (max-width: 980px) {
  .hero#hero { height: 980px !important; min-height: 980px !important; aspect-ratio: auto !important; }
}
@media (max-width: 640px) {
  .hero#hero { height: 920px !important; min-height: 920px !important; aspect-ratio: auto !important; }
}


/* V5.2 MOBILE HERO FRAME — use a purpose-cropped derivative on narrow screens. */
.hero#hero .hero-media picture { display:block !important; width:100%; height:100%; }
.hero#hero .hero-media picture img { display:block; width:100% !important; height:100% !important; object-fit:cover !important; object-position:center center !important; }
@media (max-width:980px) {
  .hero#hero { height: 980px !important; min-height:980px !important; }
  .hero#hero .hero-content { padding-top: 130px !important; padding-bottom: 105px !important; }
}
@media (max-width:640px) {
  .hero#hero { height: 920px !important; min-height:920px !important; }
  .hero#hero .hero-content { padding-top: 130px !important; padding-bottom: 105px !important; }
  .hero#hero .hero-title { font-size:47px !important; line-height:1.02 !important; }
}
