/* ==========================================================================
   STYLE SYSTEM: A Orillas de la Laguna
   Premium Duplex Rental - San Vicente, Buenos Aires
   Aesthetics: Quiet Luxury, Nature-inspired, Calm Ribereño
   ========================================================================== */

/* 1. Design Tokens & Core Settings */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --color-primary: #1A2E40;       /* Deep Lagoon Blue */
  --color-primary-rgb: 26, 46, 64;
  --color-secondary: #6E8270;     /* Reed Green */
  --color-secondary-light: #8FA391;
  --color-accent: #D4AF37;        /* Soft Gold */
  --color-bg: #F9F6F0;            /* Warm Sand Light */
  --color-card-bg: #FFFFFF;
  --color-text-main: #2C3E50;     /* Dark Charcoal */
  --color-text-muted: #5D6D7E;    /* Slate Gray */
  --color-border: #E5E0D8;        /* Soft Gray-Sand Border */
  
  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.25s ease;
  
  /* Layout Spaces */
  --section-padding: 6.5rem 2rem;
  --container-width: 1200px;
  
  /* Shadow Systems */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 24px rgba(26, 46, 64, 0.05);
  --shadow-lg: 0 16px 40px rgba(26, 46, 64, 0.08);
}

/* 2. Base Resets & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--color-secondary);
  margin: 1rem auto 0;
  border-radius: 2px;
}

p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 3. Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gold { color: var(--color-accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #243e56;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 46, 64, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

/* 4. Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
}

/* Transparent header over hero: white text */
.main-header:not(.scrolled) .logo-main,
.main-header:not(.scrolled) .logo-sub {
  color: #FFFFFF;
}

.main-header:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

.main-header:not(.scrolled) .nav-link:hover {
  color: #FFFFFF;
}

.main-header:not(.scrolled) .nav-link::after {
  background-color: #FFFFFF;
}

.main-header:not(.scrolled) .nav-btn {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.main-header:not(.scrolled) .nav-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-primary);
}

.main-header:not(.scrolled) .menu-toggle span {
  background-color: #FFFFFF;
}

.main-header.scrolled {
  background-color: rgba(249, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  font-weight: 500;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-primary);
  position: relative;
  letter-spacing: 0.05em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  transition: var(--transition-fast);
}

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

.nav-btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* 5. Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 46, 64, 0.45) 0%,
    rgba(26, 46, 64, 0.3) 50%,
    rgba(26, 46, 64, 0.65) 100%
  );
  z-index: 2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: zoom-out-slow 15s forwards;
}

@keyframes zoom-out-slow {
  to { transform: scale(1); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-top: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 246, 240, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  animation: fade-in-up 0.8s 0.2s both;
}

.hero-badge span {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.hero-badge i {
  color: var(--color-accent);
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  max-width: 800px;
  animation: fade-in-up 0.8s 0.4s both;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 2.5rem;
  animation: fade-in-up 0.8s 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fade-in-up 0.8s 0.8s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  animation: pulse-vertical 2s infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.5);
  display: block;
}

@keyframes pulse-vertical {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* 6. Sections Layout */
.section {
  padding: var(--section-padding);
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-intro p {
  margin-top: 1rem;
  font-size: 1.15rem;
}

/* 7. Scenic & Hook Block */
.scenic-intro {
  background-color: var(--color-bg);
  position: relative;
}

.scenic-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.scenic-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.scenic-image-container img {
  width: 100%;
  height: 100%;
  transition: transform 8s ease;
}

.scenic-image-container:hover img {
  transform: scale(1.05);
}

.scenic-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background-color: rgba(26, 46, 64, 0.8);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
}

.scenic-text {
  padding-right: 1.5rem;
}

.scenic-text h3 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.scenic-text p {
  margin-bottom: 1.5rem;
}

.highlight-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-secondary);
  border-left: 2px solid var(--color-secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.4;
}

/* 8. Duplex Architecture & Layout Section (Interactive Gallery Grid) */
.duplex-gallery {
  background-color: #FFFFFF;
}

.duplex-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 1.5rem;
}

.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(26, 46, 64, 0.85) 0%, rgba(26, 46, 64, 0.4) 60%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-card-overlay {
  background: linear-gradient(to top, rgba(26, 46, 64, 0.95) 0%, rgba(26, 46, 64, 0.6) 60%, transparent 100%);
}

.gallery-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-card h4 {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 400;
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  max-height: 0;
  overflow: hidden;
}

.gallery-card:hover .gallery-card-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 50px;
  margin-top: 0.5rem;
}

/* Specific grid sizes */
.card-matrimonial {
  grid-column: span 8;
  grid-row: span 1;
}

.card-twin {
  grid-column: span 4;
  grid-row: span 1;
}

.card-living {
  grid-column: span 4;
  grid-row: span 1;
}

.card-kitchen {
  grid-column: span 5;
  grid-row: span 1;
}

.card-bathrooms {
  grid-column: span 3;
  grid-row: span 1;
}

/* 9. Amenities (Comodidades) Component */
.amenities {
  background-color: var(--color-bg);
}

.amenities-intro-box {
  background-color: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 3rem;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.amenities-intro-title h3 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.2rem;
}

.amenities-intro-title .subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  font-weight: 600;
}

.amenities-intro-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.amenity-card {
  background-color: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary-light);
}

.amenity-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(110, 130, 112, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-fast);
}

.amenity-card:hover .amenity-icon {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.amenity-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.amenity-card p {
  font-size: 0.95rem;
}

/* 10. Outdoor Living (Parrilla & Parque) */
.outdoor {
  background-color: #FFFFFF;
}

.outdoor-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.outdoor-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.outdoor-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.outdoor-img-wrapper:first-child {
  transform: translateY(-20px);
}

.outdoor-img-wrapper:last-child {
  transform: translateY(20px);
}

.outdoor-img-wrapper img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  transition: transform 6s ease;
}

.outdoor-img-wrapper:hover img {
  transform: scale(1.05);
}

.outdoor-text h3 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.outdoor-text p {
  margin-bottom: 2rem;
}

.outdoor-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.outdoor-bullets li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.outdoor-bullets i {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.outdoor-bullets span {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.outdoor-bullets strong {
  color: var(--color-primary);
  font-weight: 500;
}

/* 11. Guest Autonomy Component (Self-Check-in) */
.autonomy {
  background-color: var(--color-primary);
  color: #FFFFFF;
  position: relative;
}

.autonomy-wrapper {
  background: linear-gradient(135deg, #162635 0%, #1D3449 100%);
  border-radius: 20px;
  padding: 4.5rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.autonomy-wrapper::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.autonomy h2, .autonomy h3 {
  color: #FFFFFF;
}

.autonomy h2::after {
  background-color: var(--color-accent);
}

.autonomy-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.autonomy-intro p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  font-weight: 300;
}

.autonomy-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.autonomy-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.autonomy-steps::after {
  content: '';
  position: absolute;
  top: 45px;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.2) 80%, transparent);
  z-index: 1;
}

.step-number {
  width: 90px;
  height: 90px;
  background-color: #182c3e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-accent);
  font-family: var(--font-serif);
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.autonomy-step:hover .step-number {
  background-color: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.autonomy-step h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.autonomy-step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* 12. Location & Neighborhood (Ubicación) */
.location {
  background-color: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
  align-items: center;
}

.location-details h3 {
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.location-details p {
  margin-bottom: 2rem;
}

.distance-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.distance-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background-color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.distance-item i {
  color: var(--color-secondary);
  font-size: 1.3rem;
}

.distance-info {
  display: flex;
  flex-direction: column;
}

.distance-place {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.distance-time {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.map-wrapper {
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 13. Testimonials (Reseñas) */
.testimonials {
  background-color: #FFFFFF;
}

.rating-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.rating-number {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}

.rating-stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.rating-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-secondary);
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--color-bg);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: rgba(110, 130, 112, 0.15);
  position: absolute;
  top: -2rem;
  left: -1rem;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.author-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 14. FAQs & Collapse Components */
.faqs {
  background-color: var(--color-bg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--color-secondary-light);
}

.faq-summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 2rem 1.5rem;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
  border-top-color: var(--color-border);
  padding-top: 1rem;
}

.faq-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 15. Call to Action & Footer */
.cta-footer-split {
  background-color: var(--color-primary);
  color: #FFFFFF;
  padding: 6.5rem 2rem 2rem;
  position: relative;
}

.cta-box {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-box h2::after {
  display: none;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-main {
  color: #FFFFFF;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-links-group h5 {
  color: #FFFFFF;
  font-size: 1rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-info-item {
  display: flex;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-info-item i {
  color: var(--color-accent);
  margin-top: 0.2rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 16. Sticky Widget & Floating Elements */
.sticky-booking-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.floating-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #FFFFFF;
  background-color: #25D366;
  transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.sticky-booking-pill {
  background-color: #25D366;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: var(--transition-smooth);
}

.sticky-booking-pill:hover {
  transform: translateY(-5px) scale(1.02);
  background-color: #20ba59;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.sticky-booking-pill i {
  color: #FFFFFF;
  font-size: 1.25rem;
}

/* 17. Modal / Dialog Style Design */
.gallery-modal {
  border: none;
  background-color: transparent;
  width: 90vw;
  max-width: 900px;
  max-height: 90vh;
  margin: auto;
  outline: none;
  padding: 0;
  overflow: visible;
}

.gallery-modal-content {
  background-color: var(--color-bg);
  border-radius: 16px;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

.modal-carousel {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.modal-img-container {
  width: 100%;
  height: 50vh;
  max-height: 500px;
  background-color: #000000;
}

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

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #FFFFFF;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background-color: #FFFFFF;
  transform: scale(1.2);
}

.modal-info {
  padding: 2rem;
  background-color: #FFFFFF;
}

.modal-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.modal-info p {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
}

/* Backdrop Blur styling */
dialog::backdrop {
  background-color: rgba(26, 46, 64, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Animations for Dialog Opening */
dialog[open] {
  animation: modal-fade-in 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes modal-fade-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 18. Responsive Design & Media Queries */
@media (max-width: 1024px) {
  :root {
    --section-padding: 4.5rem 1.5rem;
  }
  
  .scenic-grid, .outdoor-container, .location-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .scenic-text, .location-details {
    padding-right: 0;
  }
  
  .outdoor-images {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  
  .duplex-grid {
    grid-template-rows: repeat(5, 250px);
  }
  
  .card-matrimonial, .card-twin, .card-living, .card-kitchen, .card-bathrooms {
    grid-column: span 12;
  }
  
  .card-twin, .card-living {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
    padding: 2rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links.active + .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .nav-links.active + .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-links.active + .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .autonomy-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .autonomy-steps::after {
    display: none;
  }
  
  .amenities-intro-box {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .map-wrapper {
    height: 350px;
  }
  
  .cta-box {
    padding: 2.5rem 1.5rem;
  }
  
  .sticky-booking-pill {
    /* Transform into a compact WhatsApp FAB circle on mobile */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
    justify-content: center;
  }
  
  .sticky-booking-pill i {
    font-size: 1.6rem;
    margin: 0 !important;
  }

  .gallery-modal {
    width: 94vw;
    max-height: 94vh;
  }

  .gallery-modal-content {
    max-height: 94vh;
  }

  .modal-img-container {
    height: 38vh;
  }

  .modal-info {
    padding: 1.5rem;
  }

  .modal-info h3 {
    font-size: 1.4rem;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* 19. Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
