@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&family=Crimson+Pro:ital,wght@1,400;1,600&display=swap');

:root {
  /* Color Palette - Luxury Refined */
  --primary: #0a0a0a;
  --primary-light: #151515;
  --accent: #d4af37;
  --accent-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 50%, #b8962e 100%);
  --accent-hover: #b8962e;
  --bg-light: #f4f4f4;
  --text-main: #2a2a2a;
  --text-muted: #555555;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1300px;

  /* Shadows */
  --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

.hf-container {
  width: min(var(--container-width), 94%);
  margin: 0 auto;
}

/* --- Header Redesign --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  transition: var(--transition-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  padding: 5px 0;
}

.site-header:not(.scrolled) {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-header.scrolled .nav-inner {
  min-height: 70px;
}

.site-header.scrolled .primary-nav a {
  color: var(--primary);
}

.site-header.scrolled .top-bar {
  display: none;
  /* Hide top bar on scroll for cleaner look */
}

.top-bar {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.top-link,
.top-text {
  color: var(--white);
}

.site-header.scrolled .top-link,
.site-header.scrolled .top-text,
.site-header.scrolled .brand {
  color: var(--primary);
}

@media (min-width: 981px) {
  .site-header:not(.scrolled) .brand img {
    filter: brightness(0) invert(1);
    /* Make logo white when transparent header on desktop */
  }
}

/* --- Navigation --- */
.main-nav {
  transition: var(--transition-smooth);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  transition: var(--transition-smooth);
}

@media (min-width: 981px) {
  .primary-nav {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  .primary-nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
  }

  .primary-nav a:hover {
    color: var(--accent);
  }

  .primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition-smooth);
  }

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

.quote-btn {
  background: var(--accent-gradient);
  color: #000;
  /* Dark text on gold for premium look */
  padding: 14px 35px;
  border-radius: 4px;
  /* Sophisticated sharp/soft mix */
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.quote-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* --- Hero Section Refined --- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 750px;
  background: url('https://static.wixstatic.com/media/14e0cd_c7abe53afe6b485d8694a8b5a91af608~mv2.jpg/v1/fill/w_1901,h_845,al_c,q_90,enc_avif,quality_auto/14e0cd_c7abe53afe6b485d8694a8b5a91af608~mv2.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 40px;
}

.hero-content h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--white);
  line-height: 0.9;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: -2px;
  animation: heroReveal 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 35px;
  opacity: 0.9;
  animation: fadeInUp 1.2s ease-out;
}

/* --- Section Styling --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

section {
  padding: var(--section-padding);
}

h1.hero-title,
h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

/* --- Iconic Section Elevated --- */
.iconic-section {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.iconic-section::before {
  content: 'MARBELLA';
  position: absolute;
  top: 50%;
  left: 5%;
  font-size: 10vw;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #000;
  opacity: 0.03;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  letter-spacing: 2vw;
}

.iconic-container {
  position: relative;
  z-index: 1;
}

.iconic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
  align-items: center;
}

.iconic-image {
  position: relative;
}

.iconic-image::after {
  content: '';
  position: absolute;
  inset: 15px -15px -15px 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  z-index: -1;
}

.iconic-image img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-premium);
}

.iconic-content h2 {
  text-align: left;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 30px;
  font-weight: 600;
}

.iconic-content h2::after {
  display: none;
  /* Remove the inherited underline */
}

.iconic-content .eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.iconic-content .eyebrow::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
}

.iconic-content .lead {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1.3;
}

.story-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 2;
  font-size: 16px;
}

.btn-outline {
  display: inline-block;
  margin-top: 40px;
  padding: 16px 45px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  transition: var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

@media (max-width: 980px) {
  .iconic-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Amenities Grid Refined --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.amenity-card {
  background: var(--white);
  border: 1px solid #eeeeee;
  border-radius: 4px;
  overflow: hidden;
  transition: var(--transition-smooth);
  text-align: left;
  padding: 0;
}

.amenity-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent);
}

.amenity-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.amenity-card h3 {
  padding: 25px 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amenity-card h3::after {
  content: '→';
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.amenity-card:hover h3::after {
  opacity: 1;
  transform: translateX(0);
}

/* --- Minimalist Gallery Grid --- */
.gallery-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-minimal-item {
  position: relative;
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.gallery-minimal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-minimal-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(199, 159, 54, 0.3);
}

.gallery-minimal-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 1024px) {
  .gallery-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 640px) {
  .gallery-minimal-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .gallery-minimal-item {
    border-radius: 12px;
  }
}
/* --- Location Connectivity Hub --- */
.location-hub-section {
  padding: 100px 0;
  background: #fdfdfd;
}

.location-hub-container {
  width: min(1300px, 94%);
  margin: 0 auto;
}

.location-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-content-side h1 {
  font-family: 'Crimson Pro', serif;
  font-size: 3rem;
  color: var(--primary);
  margin: 15px 0 25px;
  line-height: 1.1;
}

.location-main-desc {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.location-secondary-desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 40px;
}

.location-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.location-stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.4s ease;
}

.location-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: rgba(199, 159, 54, 0.2);
}

.stat-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  color: var(--accent);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.stat-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 2px 0 0;
}

/* Map Styling */
.location-map-side {
  position: sticky;
  top: 100px;
}

.map-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
}

.map-frame iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

.map-overlay-card {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,0.4);
}

.map-overlay-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.map-overlay-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin: 0 0 20px;
}

.direction-btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.direction-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

@media (max-width: 1100px) {
  .location-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .location-map-side {
    position: static;
  }
  
  .map-frame iframe {
    height: 450px;
  }
}

@media (max-width: 640px) {
  .location-hub-section {
    padding: 60px 0;
  }
  
  .location-content-side h1 {
    font-size: 2.2rem;
  }
  
  .location-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .map-overlay-card {
    position: static;
    margin: 20px;
    background: #fff;
  }
}
.floorplan-showcase {
  padding: 100px 0;
  background: var(--white);
}

.section-header-centered h1,
.section-header-centered p {
  width: min(var(--container-width), 94%);
  margin: 0 auto 30px auto;
  text-align: center;
}

.floorplan-image-box {
  width: 100%;
  margin-bottom: 0px; 
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.floorplan-image-box img {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  transition: opacity 0.3s ease;
}

/* Glassmorphism Magnifier */
.magnifier-glass {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 4px solid var(--white);
  border-radius: 50%;
  pointer-events: none; /* Let clicks pass through to container */
  visibility: hidden;
  opacity: 0;
  z-index: 100;
  box-shadow: 0 15px 50px rgba(0,0,0,0.3);
  background-repeat: no-repeat;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background-color: #f0f0f0;
}

.floorplan-image-box:hover .magnifier-glass {
  visibility: visible;
  opacity: 1;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(100px) scale(1.1);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* --- Premium Minimalist Contact --- */
.contact-premium-section {
  padding: 120px 0;
  background: #fbf9f5; /* Warmer luxury background */
}

.contact-premium-container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

.contact-premium-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 80px;
  align-items: start;
}
.contact-premium-info .section-tag {
  background: transparent;
  padding: 0;
  border-left: 3px solid var(--accent);
  padding-left: 15px;
  border-radius: 0;
  letter-spacing: 3px;
  font-size: 0.9rem;
}
  font-family: 'Crimson Pro', serif;
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--primary);
  margin: 15px 0 25px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.contact-intro {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 50px;
}

.contact-methods {
  display: grid;
  gap: 30px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 30px; /* Reduced vertical padding */
  background: var(--white);
  border-radius: 24px;
  border: 1px solid rgba(199, 159, 54, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
}

.contact-method-card:hover {
  transform: translateX(10px);
  border-color: rgba(199, 159, 54, 0.2);
}

.method-icon {
  width: 54px;
  height: 54px;
  background: #f8f9fa;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.method-icon svg {
  width: 26px;
  height: 26px;
}

.method-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  margin: 0;
  color: var(--primary);
}

.method-text p, .method-text a {
  font-size: 0.95rem;
  color: #666;
  margin: 4px 0 0;
  text-decoration: none;
}

/* Form Styling */
.contact-premium-form-wrap {
  background: var(--white);
  padding: 50px;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.06);
  border: 1px solid rgba(199, 159, 54, 0.08);
}

.contact-minimal-form {
  display: grid;
  gap: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea {
  padding: 16px 20px;
  background: var(--white); /* White inputs for better pop */
  border: 1px solid #e2e8f0; /* Soft visible border */
  border-radius: 12px;
  font-size: 1rem;
  color: #333;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
}

.form-group input:hover {
  border-color: #cbd5e1;
}

.form-group input:focus, .form-group textarea:focus {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 159, 54, 0.12);
  outline: none;
}

.contact-submit-btn {
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #0a254a 100%);
  color: var(--white);
  border: none;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(18, 71, 138, 0.2);
}

.contact-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover {
  background: var(--accent);
  box-shadow: 0 15px 30px rgba(199, 159, 54, 0.3);
}

.contact-submit-btn:hover svg {
  transform: translate(5px, -5px);
}

@media (max-width: 1100px) {
  .contact-premium-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 640px) {
  .contact-premium-section {
    padding: 60px 0;
  }
  
  .contact-premium-info h1 {
    font-size: 2.5rem;
  }
  
  .contact-premium-form-wrap {
    padding: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-submit-btn {
    width: 100%;
  }
}


/* --- Scroll-Expanding Video Reveal --- */
.reveal-section {
  height: 180vh; 
  position: relative;
  background: var(--white);
  overflow: visible;
  margin: 60px 0;
  padding: 80px 0 0 0;
}

.reveal-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.reveal-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 20px;
}

.reveal-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.reveal-subtitle {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 15px;
}

.reveal-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reveal-video-wrap {
  width: 100%;
  max-width: 1350px;
  aspect-ratio: 16 / 9; /* Cinematic base ratio */
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  background: #000;
  transform: translateZ(0); /* Hardware acceleration for clarity */
  will-change: transform, border-radius;
}
@media (max-width: 980px) {
  .reveal-video-wrap {
    aspect-ratio: 16 / 10; /* Slightly taller on mobile for impact */
    margin: 0 15px;
    width: auto;
  }
}

.reveal-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Force show entire horizontal video */
  background: #000;
  display: block;
}

/* --- Why Choose Marbella Section --- */
.why-choose-section {
  background: #1a365d; /* Elegant deep navy */
  padding: 100px 0;
  color: #ffffff;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-video-box {
  width: 100%;
  max-width: 400px; /* Further reduced to make it shorter */
  margin: 0 auto;
  border-radius: 20px;
  padding: 15px; /* Creates the inner frame space */
  background: #0b1e38; /* Frame color */
  border: 1px solid var(--accent); /* Gold frame edge */
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.video-expand-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.why-video-box:hover .video-expand-overlay {
  opacity: 1;
}

.expand-icon {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-video-box:hover .expand-icon {
  transform: scale(1);
}

.expand-icon svg {
  width: 30px;
  height: 30px;
  margin-left: 5px;
}

/* Video Modal Styles */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 44, 0.95);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.active .modal-content {
  transform: scale(1);
}

.modal-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: var(--accent);
}

.why-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.why-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-family: 'Crimson Pro', serif;
  margin-bottom: 30px;
  line-height: 1.1;
  font-weight: 700;
  color: #fefefe;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-list li {
  font-size: 1.25rem;
  padding-left: 35px;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #dae1e7;
}

.why-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #c79f36;
  font-size: 2.2rem;
  line-height: 0;
  top: 50%;
  transform: translateY(-2px);
}

.why-promo {
  font-size: 1.35rem;
  line-height: 1.6;
  color: #dae1e7;
  border-left: 3px solid #c79f36;
  padding-left: 25px;
  margin-top: 30px;
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Luxury Amenities Bento --- */
.luxury-amenities {
  padding: 100px 0;
  background: var(--white);
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 15px;
  background: rgba(199, 159, 54, 0.1);
  color: #c79f36;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.amenities-bento-grid {
  display: grid;
  grid-template-areas: 
    "club club gym"
    "pool games park"
    "track parking power";
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: 280px;
  gap: 30px;
}

.bento-card {
  position: relative;
  border-radius: 30px;
  padding: 40px;
  background: linear-gradient(145deg, #ffffff, #fcfdfe);
  border: 1.5px solid #c79f36; /* Persistent Gold Border */
  box-shadow: 
    10px 10px 20px rgba(0, 0, 0, 0.02),
    -10px -10px 20px rgba(255, 255, 255, 0.9),
    0 5px 15px rgba(199, 159, 54, 0.08); /* Persistent Ambient Glow */
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content {
  position: relative;
  z-index: 2;
}

.amenity-icon {
  width: 50px;
  height: 50px;
  color: #c79f36;
  margin-bottom: 25px;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 5px 10px rgba(199, 159, 54, 0.2));
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

.bento-card h3 {
  font-size: 1.6rem;
  font-family: 'Crimson Pro', serif;
  color: var(--primary);
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.bento-card p {
  font-size: 1rem;
  color: #6c7a87;
  line-height: 1.6;
  margin: 0;
}

.bento-card:hover {
  transform: translateY(-12px) scale(1.02);
  background: #fff;
  box-shadow: 
    20px 20px 40px rgba(0, 0, 0, 0.06),
    -10px -10px 30px rgba(255, 255, 255, 1),
    0 15px 35px rgba(199, 159, 54, 0.15); /* Stronger Lift Glow */
}

.bento-card:hover h3 {
  color: #c79f36;
}

.bento-card:hover .amenity-icon {
  transform: scale(1.1) rotate(5deg);
}


@media (max-width: 980px) {
  .amenities-bento-grid {
    grid-template-areas: none !important;
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
    gap: 20px;
  }

  .bento-card {
    grid-area: auto !important; /* Force override of inline styles */
    height: auto !important;
    padding: 30px 20px;
    min-height: 220px;
  }

  .amenity-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
  }

  .bento-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  .luxury-amenities, .elite-specifications {
    padding: 60px 0;
  }
}

/* --- Minimalist Amenities Page Styles --- */
.amenities-minimal-section {
  padding: 100px 0;
  background: var(--white);
}

.amenity-category {
  margin-bottom: 80px;
}

.amenity-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2.2rem;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
  padding-left: 20px;
  font-weight: 700;
}

.category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--accent-gradient);
  border-radius: 20px;
}

.amenity-minimal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-minimal-card {
  padding: 40px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.amenity-minimal-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-color: rgba(199, 159, 54, 0.2);
}

.amenity-minimal-card .amenity-icon {
  width: 65px;
  height: 65px;
  background: rgba(199, 159, 54, 0.08);
  color: #c79f36;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  filter: none; /* Reset bento filter */
}

.amenity-minimal-card:hover .amenity-icon {
  background: var(--accent-gradient);
  color: var(--white);
  transform: rotate(10deg) scale(1.1);
}

.amenity-minimal-card h4 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.amenity-minimal-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .amenity-minimal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .amenity-minimal-grid {
    grid-template-columns: 1fr;
  }
  
  .amenities-minimal-section {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 1.8rem;
  }
}

.reveal-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #000;
  display: block;
}

.reveal-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

/* --- SEO & Enhanced Floor Plan Styles --- */
.floorplan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 50px;
}

.floorplan-image-box {
  width: 100%;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition-smooth);
  border: none;
}

.floorplan-image-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

.img-caption {
  display: block;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.seo-specs-section {
  margin-top: 80px;
  padding: 80px 60px;
  background: var(--white);
  border-radius: 30px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 40px 100px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.seo-specs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

.specs-box {
  text-align: left;
}

.specs-box h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
}

.specs-box h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.specs-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: left; /* Explicitly force left-align */
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 1rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.specs-list {
  list-style: none;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.specs-list li {
  font-size: 1.05rem;
  padding-left: 35px;
  position: relative;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.specs-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.2rem;
}

.specs-list li:hover {
  transform: translateX(10px);
  color: var(--accent);
}

@media (max-width: 980px) {
  .floorplan-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .seo-specs-section {
    padding: 40px 20px;
  }
  
  .specs-box h3 {
    font-size: 1.5rem;
  }
}