/*
Theme Name: LSE Theme
Theme URI: https://schroeder-estate.com.na
Author: Dynamic Internet Consultants CC
Author URI: https://dic.net
Description: Custom WordPress theme for Ludwig Schroeder Estate Agents - Premium Property in Swakopmund since 1919
Version: 1.0.0
License: Proprietary
Text Domain: lse-theme
*/

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

:root {
  --navy: #1a2744;
  --navy-deep: #0f1a2e;
  --gold: #c9a96e;
  --gold-light: #dfc9a0;
  --sand: #f5f0e8;
  --sand-light: #faf7f2;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --ocean: #2d6a8f;
  --ocean-light: #e8f1f5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; color: var(--navy); line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all 0.4s ease;
  padding: 20px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 20px; color: var(--white);
  transition: all 0.3s;
}
.nav.scrolled .nav-logo-icon { background: var(--navy); }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: var(--white); letter-spacing: 0.5px;
  transition: color 0.4s;
}
.nav.scrolled .nav-logo-name { color: var(--navy); }
.nav-logo-sub {
  font-size: 11px; color: rgba(255,255,255,0.7);
  letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  transition: color 0.4s;
}
.nav.scrolled .nav-logo-sub { color: var(--gold); }

.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.85); letter-spacing: 0.5px;
  transition: color 0.3s; position: relative;
}
.nav.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px; background: var(--gold); color: var(--white) !important;
  border-radius: 6px; font-weight: 600; letter-spacing: 0.5px;
  transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy) !important; color: var(--white) !important; transform: translateY(-1px); }
.nav.scrolled .nav-cta { background: var(--navy); }
.nav.scrolled .nav-cta:hover { background: var(--gold); }

.nav-mobile-btn {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-mobile-btn span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 6px 0; transition: all 0.3s; border-radius: 2px;
}
.nav.scrolled .nav-mobile-btn span { background: var(--navy); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2744 0%, #0a1628 40%, #162238 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(201,169,110,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(45,106,143,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.05) 0%, transparent 70%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  padding-top: 120px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 50px;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold-light); font-size: 13px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  color: var(--white); font-weight: 600;
  max-width: 800px; margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero h1 em {
  font-style: italic; color: var(--gold);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.65); max-width: 560px;
  line-height: 1.7; margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 8px;
  font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.35s ease; letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--gold); color: var(--white);
  box-shadow: 0 4px 20px rgba(201,169,110,0.3);
}
.btn-primary:hover {
  background: #b8953d; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex; gap: 48px; margin-top: 80px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 600; color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-top: 8px; letter-spacing: 1px; text-transform: uppercase;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; animation: fadeInUp 0.8s ease 0.8s both;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(201,169,110,0.6), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTION COMMON ===== */
section { padding: 100px 0; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-desc {
  font-size: 17px; color: var(--gray-500);
  max-width: 600px; line-height: 1.8;
}
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ===== FEATURED PROPERTIES ===== */
.properties-section { background: var(--sand-light); }
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: all 0.4s ease;
}
.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.property-img {
  position: relative; height: 260px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ocean) 100%);
}
.property-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.property-card:hover .property-img img { transform: scale(1.05); }
.property-tag {
  position: absolute; top: 16px; left: 16px;
  padding: 6px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase;
}
.property-tag.sale { background: var(--navy); color: var(--white); }
.property-tag.reserved { background: var(--gold); color: var(--white); }
.property-tag.sold { background: var(--gray-500); color: var(--white); }
.property-price {
  position: absolute; bottom: 16px; right: 16px;
  padding: 8px 16px; border-radius: 8px;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(10px);
  color: var(--white); font-weight: 700; font-size: 18px;
}
.property-body { padding: 24px; }
.property-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--navy);
  margin-bottom: 8px; font-weight: 600;
}
.property-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--gray-500); margin-bottom: 16px;
}
.property-location svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.property-meta {
  display: flex; gap: 20px; padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}
.property-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--gray-500);
}
.property-meta-item svg { width: 18px; height: 18px; color: var(--gold); }
.property-meta-item strong { color: var(--gray-700); font-weight: 600; }

.properties-more {
  text-align: center; margin-top: 48px;
}
.btn-dark {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 20px rgba(26,39,68,0.2);
}
.btn-dark:hover {
  background: var(--gold); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,169,110,0.3);
}

/* ===== ABOUT ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-image {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-image-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(15,26,46,0.9), transparent);
}
.about-image-stat {
  font-family: 'Playfair Display', serif;
  font-size: 48px; font-weight: 700; color: var(--gold);
  line-height: 1;
}
.about-image-stat-label {
  font-size: 14px; color: rgba(255,255,255,0.8);
  margin-top: 4px;
}
.about-content .section-desc { margin-bottom: 32px; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 36px;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
}
.about-feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--sand); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.about-feature-icon svg { width: 20px; height: 20px; color: var(--gold); }
.about-feature-text { font-size: 14px; font-weight: 500; color: var(--gray-700); }
.about-feature-sub { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* ===== SERVICES ===== */
.services-section { background: var(--navy-deep); color: var(--white); }
.services-section .section-title { color: var(--white); }
.services-section .section-desc { color: rgba(255,255,255,0.6); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  padding: 40px 32px; border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
}
.service-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(201,169,110,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg { width: 28px; height: 28px; color: var(--gold); }
.service-card h3 {
  font-size: 22px; color: var(--white); margin-bottom: 12px;
}
.service-card p {
  font-size: 15px; color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team-section { background: var(--sand-light); }
.team-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 40px; max-width: 800px; margin: 0 auto;
}
.team-card {
  background: var(--white); border-radius: 20px;
  overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: all 0.4s ease; text-align: center;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.team-photo {
  height: 300px; overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
}
.team-photo-placeholder {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700; color: var(--white);
}
.team-info { padding: 28px; }
.team-name {
  font-size: 22px; margin-bottom: 4px; font-weight: 600;
}
.team-role {
  font-size: 14px; color: var(--gold); font-weight: 500;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.team-contact {
  display: flex; flex-direction: column; gap: 8px;
}
.team-contact a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; color: var(--gray-500);
  text-decoration: none; transition: color 0.3s;
}
.team-contact a:hover { color: var(--gold); }
.team-contact svg { width: 16px; height: 16px; }

/* ===== SWAKOPMUND SECTION ===== */
.location-section {
  position: relative; padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}
.location-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.location-content .section-desc { margin-bottom: 28px; }
.location-highlights {
  display: flex; flex-direction: column; gap: 16px;
}
.location-highlight {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 12px;
  background: var(--sand-light);
  transition: all 0.3s;
}
.location-highlight:hover { background: var(--sand); }
.location-highlight-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.location-highlight-icon svg { width: 22px; height: 22px; color: var(--gold); }
.location-highlight-text {
  font-size: 15px; font-weight: 500; color: var(--gray-700);
}
.location-image {
  border-radius: 20px; overflow: hidden;
  aspect-ratio: 16/12;
}
.location-image img { width: 100%; height: 100%; object-fit: cover; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--sand-light); padding: 100px 0; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial-card {
  background: var(--white); padding: 36px; border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.03);
  transition: all 0.4s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.testimonial-stars {
  display: flex; gap: 2px; margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: var(--gold); fill: var(--gold); }
.testimonial-text {
  font-size: 15px; color: var(--gray-600);
  line-height: 1.8; margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { font-weight: 600; color: var(--navy); font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--gray-400); }

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item {
  display: flex; gap: 16px;
}
.contact-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--sand); display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--gold); }
.contact-label { font-size: 13px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.contact-value { font-size: 16px; color: var(--navy); font-weight: 500; margin-top: 4px; }
.contact-value a { color: var(--navy); text-decoration: none; transition: color 0.3s; }
.contact-value a:hover { color: var(--gold); }

.contact-form {
  background: var(--sand-light); padding: 40px; border-radius: 20px;
}
.contact-form h3 { font-size: 24px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--gray-600); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px; font-size: 15px;
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--navy); color: var(--white);
  width: 100%; justify-content: center;
  font-size: 16px;
}
.btn-submit:hover { background: var(--gold); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  padding: 80px 0; text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-size: 17px; margin-bottom: 36px; }
.cta-banner .btn-primary { font-size: 16px; padding: 18px 40px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.5);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo-name { color: var(--white); font-size: 20px; }
.footer-brand .nav-logo-sub { color: var(--gold); }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; }
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-size: 14px; transition: color 0.3s;
}
.footer a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.5);
}
.whatsapp-float svg { width: 32px; height: 32px; }

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  padding: 10px 24px; border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-600);
  font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ===== SINGLE PROPERTY ===== */
.single-property-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--sand-light);
}
.single-property-gallery {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  margin-bottom: 40px;
}
.single-property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-property-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 60px 0;
}
.single-property-sidebar {
  background: var(--sand-light);
  padding: 32px;
  border-radius: 16px;
  position: sticky;
  top: 100px;
}
.single-property-sidebar .property-price {
  position: static;
  display: block;
  background: var(--navy);
  text-align: center;
  margin-bottom: 24px;
  font-size: 24px;
  padding: 16px;
}
.single-property-features {
  list-style: none;
  padding: 0;
}
.single-property-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}
.single-property-features li strong {
  color: var(--navy);
}

/* ===== ARCHIVE PROPERTY ===== */
.archive-header {
  padding-top: 120px;
  padding-bottom: 40px;
  background: var(--navy-deep);
  text-align: center;
}
.archive-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.archive-header p {
  color: rgba(255,255,255,0.6);
  font-size: 17px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .single-property-details { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep);
    justify-content: center; align-items: center;
    gap: 28px; z-index: 1001;
  }
  .nav-links.open a { color: var(--white); font-size: 20px; }
  .nav-close {
    position: absolute; top: 24px; right: 24px;
    background: none; border: none; color: var(--white);
    font-size: 32px; cursor: pointer;
  }
  .properties-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}


/* Property WhatsApp button */
.property-wa-btn {
  display: block;
  text-align: center;
  padding: 10px;
  background: var(--gold);
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  transition: opacity 0.3s;
}
.property-wa-btn:hover { opacity: 0.9; }

/* Mortgage estimate */
.property-estimate {
  font-size: 12px;
  color: var(--gray-500);
  padding: 8px 16px 0;
  font-style: italic;
}

/* New listing badge */
.property-tag.new {
  background: #10B981;
  position: absolute;
  top: 16px;
  right: 16px;
}

/* FAQ details */
details summary::-webkit-details-marker { display: none; }
details summary { list-style: none; }
details summary::after { content: '+'; float: right; font-size: 20px; color: var(--gold); }
details[open] summary::after { content: '−'; }

/* Footer social */
.footer-social a:hover { color: var(--gold) !important; }

/* ===== SINGLE PROPERTY PAGE ===== */

/* Gallery */
.sp-gallery-section { padding: 100px 0 0; background: var(--sand-light); }
.sp-gallery { display: flex; flex-direction: column; gap: 12px; }
.sp-gallery-main {
  position: relative; width: 100%; height: 520px; border-radius: 16px;
  overflow: hidden; cursor: pointer; background: var(--navy);
}
.sp-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.sp-gallery-main:hover img { transform: scale(1.03); }
.sp-gallery-price {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(11,31,51,0.85); color: var(--gold-light);
  padding: 10px 20px; border-radius: 10px; font-size: 22px;
  font-weight: 700; font-family: 'Playfair Display', serif;
  backdrop-filter: blur(8px); letter-spacing: 0.5px;
}
.sp-gallery-expand {
  position: absolute; top: 16px; right: 16px; background: rgba(0,0,0,0.5);
  border: none; color: white; width: 44px; height: 44px; border-radius: 10px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; backdrop-filter: blur(4px);
}
.sp-gallery-expand:hover { background: rgba(0,0,0,0.8); }
.sp-gallery-counter {
  position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.5);
  color: white; padding: 6px 14px; border-radius: 8px; font-size: 13px;
  font-weight: 600; backdrop-filter: blur(4px); letter-spacing: 0.5px;
}

/* Thumbnails */
.sp-gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.sp-gallery-thumbs::-webkit-scrollbar { height: 4px; }
.sp-gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.sp-gallery-thumbs::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.sp-gallery-thumb {
  flex: 0 0 100px; height: 72px; border-radius: 10px; overflow: hidden;
  cursor: pointer; opacity: 0.5; transition: all 0.3s;
  border: 2px solid transparent;
}
.sp-gallery-thumb:hover { opacity: 0.8; }
.sp-gallery-thumb.active { opacity: 1; border-color: var(--gold); }
.sp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Details Section */
.sp-details-section { padding: 60px 0 100px; }
.sp-details-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start;
}

/* Content */
.sp-content-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; margin-bottom: 32px; flex-wrap: wrap;
}
.sp-title {
  font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy);
  margin: 8px 0 0; line-height: 1.2;
}
.sp-location {
  display: flex; align-items: center; gap: 6px; color: var(--gray-500);
  font-size: 15px; margin-top: 8px;
}
.sp-location svg { width: 18px; height: 18px; flex-shrink: 0; }
.sp-price {
  font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--navy);
  font-weight: 700; white-space: nowrap; background: var(--sand-light);
  padding: 12px 24px; border-radius: 12px;
}

/* Stats Bar */
.sp-stats-bar {
  display: flex; gap: 0; background: var(--sand-light); border-radius: 12px;
  padding: 4px; margin-bottom: 40px; flex-wrap: wrap;
}
.sp-stat {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 16px 20px;
  min-width: 120px; justify-content: center;
}
.sp-stat svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; }
.sp-stat strong { font-size: 15px; color: var(--navy); }
.sp-stat span { font-size: 13px; color: var(--gray-500); }

/* Description */
.sp-description {
  font-size: 16px; line-height: 1.85; color: var(--gray-600); margin-bottom: 48px;
}
.sp-description p { margin-bottom: 16px; }
.sp-description strong { color: var(--navy); }

/* Features */
.sp-features { margin-bottom: 48px; }
.sp-features h2 {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--navy);
  margin-bottom: 24px;
}
.sp-features-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.sp-feature-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--gray-200); font-size: 14px; color: var(--gray-600);
}
.sp-feature-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.sp-feature-item:nth-child(odd) { padding-right: 20px; }
.sp-feature-item:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--gray-200); }

/* Sidebar */
.sp-sidebar { position: sticky; top: 100px; }
.sp-sidebar-card {
  background: white; border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08); border: 1px solid var(--gray-200);
}
.sp-sidebar-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--gray-200);
}
.sp-sidebar-agent-photo {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--ocean));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700; font-size: 18px;
  font-family: 'Playfair Display', serif;
}
.sp-sidebar-agent-name { font-weight: 700; color: var(--navy); font-size: 16px; }
.sp-sidebar-agent-role { color: var(--gray-500); font-size: 13px; margin-top: 2px; }
.sp-sidebar-actions { display: flex; flex-direction: column; gap: 10px; }
.sp-sidebar-btn {
  width: 100%; justify-content: center; padding: 14px; font-size: 14px;
  border-radius: 10px;
}
.sp-sidebar-mortgage {
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--gray-200);
  text-align: center;
}
.sp-sidebar-mortgage-label { font-size: 12px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.sp-sidebar-mortgage-amount { font-size: 24px; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; }
.sp-sidebar-mortgage-note { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

/* Lightbox */
.sp-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.sp-lightbox.open { opacity: 1; pointer-events: all; }
.sp-lb-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.sp-lb-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none;
  color: white; font-size: 40px; cursor: pointer; line-height: 1; opacity: 0.7;
  transition: opacity 0.3s;
}
.sp-lb-close:hover { opacity: 1; }
.sp-lb-prev, .sp-lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: white;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s; backdrop-filter: blur(4px);
}
.sp-lb-prev { left: 20px; }
.sp-lb-next { right: 20px; }
.sp-lb-prev:hover, .sp-lb-next:hover { background: rgba(255,255,255,0.25); }
.sp-lb-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-details-grid { grid-template-columns: 1fr; }
  .sp-sidebar { position: static; }
}
@media (max-width: 768px) {
  .sp-gallery-main { height: 320px; }
  .sp-gallery-thumb { flex: 0 0 72px; height: 54px; }
  .sp-content-header { flex-direction: column; }
  .sp-title { font-size: 1.5rem; }
  .sp-price { font-size: 1.3rem; }
  .sp-features-grid { grid-template-columns: 1fr; }
  .sp-feature-item:nth-child(even) { padding-left: 0; border-left: none; }
  .sp-stats-bar { flex-wrap: wrap; }
  .sp-stat { min-width: 0; flex: 1 1 45%; }
  .sp-lb-prev, .sp-lb-next { width: 40px; height: 40px; }
}
