/*
Theme Name: Villa Sapanca
Theme URI: https://48ajans.com.tr
Author: Villa Sapanca
Author URI: https://48ajans.com.tr
Description: Sapanca'da lüks villalar için modern WordPress teması. Tüm bilgiler panelden düzenlenebilir.
Version: 2.9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: villa-tema
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ============================================================
   2026 MODERN DESIGN SYSTEM
   ============================================================ */

:root {
  /* Renkler */
  --sage: #a8b89a;
  --sage-deep: #8fa07a;
  --olive: #6d7a55;
  --dark: #1a1f16;
  --dark-2: #252b22;
  --dark-3: #2f372a;
  --cream: #f8f6f1;
  --paper: #f0ede5;
  --bronze: #c4956a;
  --white: #ffffff;
  --wa: #25d366;
  --line: rgba(50, 54, 37, 0.1);
  --text-muted: #5b6350;
  --text-light: #8a9080;

  /* Tipografi */
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;

  /* Efektler */
  --shadow-sm: 0 2px 8px rgba(26, 31, 22, 0.06);
  --shadow-md: 0 8px 30px rgba(26, 31, 22, 0.08);
  --shadow-lg: 0 20px 60px rgba(26, 31, 22, 0.12);
  --shadow-card: 0 4px 20px rgba(26, 31, 22, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  font-family: var(--sans);
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: min(1200px, 90%);
  margin-inline: auto;
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--bronze);
}

.display {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  text-transform: uppercase;
}

.section-head {
  max-width: 600px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow::before {
  display: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all 0.35s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translate(3px, -3px);
}

.btn-fill {
  background: var(--dark);
  color: var(--white);
}

.btn-fill:hover {
  background: var(--bronze);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark-2);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--bronze);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa);
  color: var(--white);
}

.btn-wa:hover {
  background: #1fb954;
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
  color: var(--white);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(26, 31, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo span {
  color: var(--sage);
}

.nav {
  display: flex;
  gap: clamp(16px, 2.5vw, 32px);
}

.nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--sage);
  transition: width 0.35s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}

.icon-btn:hover {
  background: var(--wa);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.35s var(--ease);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
}

.mobile-nav .btn {
  margin-top: 12px;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(168, 184, 154, 0.4), transparent 60%),
    radial-gradient(800px 400px at 10% 90%, rgba(196, 149, 106, 0.3), transparent 55%),
    linear-gradient(160deg, #1a2416 0%, #2a3822 40%, #3d4f32 70%, #5a6d4a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(15, 18, 12, 0.4) 0%,
    transparent 35%,
    transparent 50%,
    rgba(15, 18, 12, 0.75) 100%);
  pointer-events: none;
}

.hero-content {
  width: 100%;
  padding: 0 clamp(24px, 5vw, 48px) clamp(60px, 8vw, 100px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--sage);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
  display: block;
  font-family: var(--serif);
  font-size: 0.55em;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 40px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(28px, 5vw, 50px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta b {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  display: block;
  color: var(--white);
  margin-bottom: 2px;
}

.scroll-hint {
  position: absolute;
  right: 4%;
  bottom: 32px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  writing-mode: vertical-rl;
}

.scroll-hint .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--sage), transparent);
  animation: drip 2s ease infinite;
}

@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-dots {
  position: absolute;
  bottom: clamp(20px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.hero-dot.active {
  background: var(--sage);
  border-color: var(--sage);
  transform: scale(1.2);
}

/* ============================================================
   BİLGİ ŞERİDİ
   ============================================================ */

.strip {
  background: var(--dark-2);
  color: var(--white);
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.strip-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}

/* ============================================================
   VİLLA DETAYLARI
   ============================================================ */

.villas {
  background: var(--cream);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--white);
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.feature-value {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

/* Villa Cards */
.villa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.5vw, 32px);
}

.villa-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(380px, 45vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-out);
}

.villa-card:hover {
  transform: translateY(-8px);
}

.villa-card .scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.villa-card .scene svg,
.villa-card .scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.villa-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 18, 12, 0.85) 100%);
}

.villa-body {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 3vw, 36px);
}

.villa-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  margin-bottom: 14px;
}

.villa-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  text-transform: uppercase;
}

.villa-card p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32ch;
  margin: 10px 0 18px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.villa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  transition: gap 0.3s var(--ease);
}

.villa-card:hover .villa-link {
  gap: 14px;
}

/* ============================================================
   KAPASİTE & FİYAT
   ============================================================ */

.capacity {
  background: var(--dark);
  color: var(--white);
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.cap-list {
  margin-top: 32px;
  display: grid;
  gap: 0;
}

.cap-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cap-item:last-child {
  border-bottom: none;
}

.cap-label {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.cap-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.cap-visual {
  display: flex;
  justify-content: center;
}

.cap-pricing {
  background: var(--dark-2);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.cap-pricing .eyebrow {
  justify-content: center;
  color: var(--sage);
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.price-card {
  background: var(--dark-3);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-card.featured {
  background: var(--bronze);
}

.price-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.price-amount {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.price-per {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ============================================================
   AMENITIES (YATAK & HAVUZ)
   ============================================================ */

.amenities {
  background: var(--paper);
}

.amen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2.5vw, 28px);
}

.amen-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}

.amen-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.amen-header svg {
  color: var(--bronze);
}

.amen-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.amen-list {
  display: grid;
  gap: 0;
}

.amen-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.amen-row:last-child {
  border-bottom: none;
}

.amen-row b {
  font-weight: 600;
  color: var(--dark);
}

/* Outdoor Tags */
.outdoor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.outdoor-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  color: var(--dark);
  transition: all 0.3s;
}

.outdoor-tag:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

/* ============================================================
   HİZMETLER
   ============================================================ */

.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service-group {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
}

.service-group-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 6px 12px;
  background: var(--paper);
  border-radius: var(--radius-full);
  color: var(--text-muted);
}

/* ============================================================
   MESAFELER
   ============================================================ */

.distances {
  background: var(--cream);
}

.dist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.dist-list {
  display: grid;
  gap: 0;
}

.dist-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dist-row:last-child {
  border-bottom: none;
}

.dist-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 120px;
}

.dist-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.dist-value {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.map-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

.map-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-pin {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  background: rgba(26, 31, 22, 0.9);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  gap: 6px;
  align-items: center;
  backdrop-filter: blur(8px);
}

/* ============================================================
   İLETİŞİM CTA
   ============================================================ */

.cta {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 100%, rgba(168, 184, 154, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2rem, 6vw, 4.8rem);
  text-transform: uppercase;
  line-height: 1;
}

.cta h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage);
  font-family: var(--serif);
  display: block;
  font-size: 0.55em;
  text-transform: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}

.cta-note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #0f120d;
  color: rgba(255, 255, 255, 0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 60px 0 40px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0;
  text-transform: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.88rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--sage);
  padding-left: 4px;
}

.footer-desc {
  font-size: 0.88rem;
  max-width: 32ch;
  margin-top: 14px;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav, .header-cta .icon-btn {
    display: none;
  }

  .burger {
    display: flex;
  }

  .villa-grid,
  .cap-grid,
  .amen-grid,
  .dist-grid {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .hero-meta {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    padding: 40px 0 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .strip-inner {
    justify-content: center;
  }

  .price-cards {
    grid-template-columns: 1fr;
  }

  .gal-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .cell:nth-child(n) {
    transform: none !important;
    aspect-ratio: 1/1 !important;
  }

  .lightbox img {
    max-width: 95vw;
    max-height: 80vh;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }
}

/* ============================================================
   GALERİ
   ============================================================ */

.gallery {
  background: var(--paper);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cell {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--dark-3);
}

.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cell:hover img {
  transform: scale(1.05);
}

.cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 18, 12, 0.6));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.cell:hover::after {
  opacity: 1;
}

.cell-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 18, 12, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
  pointer-events: none;
}

.cell:hover .cell-overlay {
  opacity: 1;
}

.cell-overlay svg {
  width: 40px;
  height: 40px;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 18, 12, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s var(--ease);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1rem;
  background: rgba(0,0,0,0.6);
  padding: 8px 20px;
  border-radius: 20px;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  backdrop-filter: blur(4px);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.cell .cap {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 2;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s var(--ease);
}

.cell:hover .cap {
  opacity: 1;
  transform: none;
}

.gal-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--line);
}

/* ============================================================
   VİLLA GRID TEK SATIR
   ============================================================ */

.villa-grid.single-row {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}