/* -------------------------------------------------------------
   SKYMARX PHASE 3 - PREMIUM HIGHWAY TOWNSHIP DESIGN SYSTEM
   Vanilla CSS Implementation
   ------------------------------------------------------------- */

/* Google Fonts & Icon Imports */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Luxury Gold */
  --gold-50: #fdfbf7;
  --gold-100: #faf4e6;
  --gold-200: #f2e3c2;
  --gold-300: #e5ca93;
  --gold-400: #d5aa61;
  --gold-500: #c38b38;
  --gold-600: #b1752b;
  --gold-700: #935c22;
  --gold-800: #774920;
  --gold-900: #613c1c;

  /* Color Palette - Slate / Dark Neutrals */
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  /* Color Palette - Emerald Green (Ecosystem) */
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-300: #6ee7b7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --emerald-950: #022c22;

  /* Color Palette - Red (Emergency & Safety) */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-950: #450a0a;

  /* Other Color Tokens */
  --bg-cream: #faf9f6;
  --white: #ffffff;
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #20ba5a;

  /* Typography */
  --font-serif: 'Marcellus', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* -------------------------------------------------------------
   BASE RESET & UTILITIES
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--slate-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--slate-900);
  line-height: 1.25;
}

.text-gold {
  color: var(--gold-500);
}

.font-serif {
  font-family: var(--font-serif);
}

/* General Layout helpers */
.container {
  width: 100%;
  max-width: 80rem; /* 1280px equivalent to max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Grid System */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .grid-cols-md-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-md-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-md-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid-cols-md-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid-cols-lg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-cols-lg-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-cols-lg-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* Spacing and Padding Utilities */
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* -------------------------------------------------------------
   COMPONENTS
   ------------------------------------------------------------- */

/* Top Announcement Bar */
.announcement-bar {
  background: linear-gradient(135deg, var(--gold-900), var(--slate-950));
  color: var(--gold-100);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-bar i {
  color: var(--gold-400);
  margin-right: 0.5rem;
}

/* Animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Navigation Bar */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo-group {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-800);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--slate-500);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: -0.25rem;
}

.nav-links {
  display: none;
  gap: 2rem;
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--slate-700);
  text-decoration: none;
  transition: var(--transition-normal);
}

.nav-links a:hover {
  color: var(--gold-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.btn-secondary {
  background-color: var(--gold-100);
  color: var(--slate-800);
  border: 1px solid var(--gold-200);
}

.btn-secondary:hover {
  background-color: var(--gold-200);
}

.btn-nav-phone {
  display: none;
}

@media (min-width: 640px) {
  .btn-nav-phone {
    display: inline-flex;
  }
}

.btn-primary {
  background-color: var(--gold-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--gold-800);
}

.btn-hero-primary {
  background-color: var(--gold-600);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.75rem;
  box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
  background-color: var(--gold-700);
}

.btn-hero-whatsapp {
  background-color: #059669;
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 0.75rem;
  box-shadow: var(--shadow-lg);
  gap: 0.5rem;
}

.btn-hero-whatsapp:hover {
  background-color: #047857;
}

.btn-submit {
  background-color: var(--gold-700);
  color: var(--white);
  padding: 1rem;
  font-size: 0.75rem;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.btn-submit:hover {
  background-color: var(--gold-800);
}

/* Mobile Toggle Hamburger */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--slate-700);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-normal);
}

.mobile-menu-btn:hover {
  color: var(--gold-700);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18.75rem;
  background-color: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  transform: translateX(100%);
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

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

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-600);
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mobile-drawer-links a {
  color: var(--slate-800);
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--slate-100);
  transition: var(--transition-normal);
}

.mobile-drawer-links a:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-300);
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--slate-950);
  color: var(--white);
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  object-fit: cover;
  opacity: 0.45;
  transform: scale(1.05);
  transition: var(--transition-slow);
}

.hero:hover .hero-bg img {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--slate-950) 0%, rgba(2, 6, 23, 0.75) 60%, rgba(2, 6, 23, 0.35) 100%);
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 6rem;
  padding-bottom: 6rem;
  animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(195, 139, 56, 0.2);
  color: var(--gold-300);
  border: 1px solid rgba(213, 170, 97, 0.3);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.hero-title span {
  color: var(--gold-400);
  font-weight: 600;
}

.hero-title .gold-accent {
  color: var(--gold-200);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-desc {
  font-size: 1rem;
  color: var(--slate-300);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1.125rem;
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Overview Bar Section */
.overview-bar-section {
  position: relative;
  z-index: 20;
  margin-top: -3rem;
}

.overview-grid {
  background-color: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(242, 227, 194, 0.6);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .overview-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 2rem;
  }
}

.overview-item {
  padding: 1rem;
  text-align: center;
}

/* Add borders between items on desktop */
@media (min-width: 768px) {
  .overview-item:not(:last-child) {
    border-right: 1px solid var(--gold-100);
  }
}
@media (max-width: 767px) {
  /* Simple grid border system for 2x2 grid */
  .overview-item:nth-child(1), .overview-item:nth-child(2) {
    border-bottom: 1px solid var(--gold-100);
  }
  .overview-item:nth-child(odd) {
    border-right: 1px solid var(--gold-100);
  }
}

.overview-label {
  font-size: 10px;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.overview-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  font-family: var(--font-serif);
}

.overview-val.highlight {
  color: var(--gold-600);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-header .section-badge {
  color: var(--gold-700);
}

.section-header-dark .section-badge {
  color: var(--gold-400);
}

.section-title {
  font-size: 1.875rem;
  line-height: 1.25;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.section-header-dark .section-title {
  color: var(--white);
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.25rem;
  }
  .section-header-dark .section-title {
    font-size: 2.5rem;
  }
}

.section-subtitle {
  font-size: 0.875rem;
  color: var(--slate-500);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-header-dark .section-subtitle {
  color: var(--slate-400);
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 1rem;
  }
}

/* Infrastructure Section */
.infra-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .infra-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

.infra-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .infra-content {
    grid-column: span 5 / span 5;
  }
}

.infra-content .section-badge {
  color: var(--gold-600);
  margin-bottom: 0;
}

.infra-content h2 {
  font-size: 1.875rem;
}

@media (min-width: 640px) {
  .infra-content h2 {
    font-size: 2.25rem;
  }
}

.infra-content p {
  color: var(--slate-600);
  font-size: 0.875rem;
  line-height: 1.625;
}

@media (min-width: 640px) {
  .infra-content p {
    font-size: 1rem;
  }
}

.infra-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--slate-700);
}

.infra-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.infra-icon-wrapper {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--gold-100);
  color: var(--gold-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.infra-image-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gold-200);
}

@media (min-width: 1024px) {
  .infra-image-container {
    grid-column: span 7 / span 7;
  }
}

.infra-image-container img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.infra-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--slate-950) 0%, rgba(2, 6, 23, 0.4) 60%, transparent 100%);
  padding: 1.5rem;
  color: var(--white);
}

.infra-image-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gold-300);
}

.infra-image-desc {
  font-size: 0.75rem;
  color: var(--slate-300);
  margin-top: 0.25rem;
}

/* Themes Section */
.themes-section {
  background-color: var(--slate-950);
  color: var(--white);
}

.themes-grid {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .themes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-card {
  background-color: var(--slate-900);
  border: 1px solid var(--slate-800);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.theme-card:hover {
  border-color: rgba(213, 170, 97, 0.4);
}

.theme-image {
  height: 18rem;
  overflow: hidden;
  position: relative;
}

.theme-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.theme-card:hover .theme-image img {
  transform: scale(1.05);
}

.theme-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--gold-600);
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  text-transform: uppercase;
}

.theme-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.theme-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-300);
}

.theme-desc {
  color: var(--slate-400);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Amenities Section */
.amenities-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Amenity card general */
.amenity-card {
  background-color: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 4px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: var(--transition-normal);
}

.amenity-card:hover {
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--gold-50);
  color: var(--gold-600);
  border: 1px solid var(--gold-100);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.amenity-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--slate-800);
  margin-bottom: 0.5rem;
}

.amenity-desc {
  color: var(--slate-500);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .amenity-desc {
    font-size: 0.875rem;
  }
}

.amenity-image {
  width: 100%;
  height: 9rem;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

/* Special Dark Amenity Cards */
.amenity-card-dark {
  background-color: var(--slate-900);
  border: 1px solid rgba(97, 60, 28, 0.3);
  color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.amenity-card-dark .card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.amenity-card-dark .amenity-icon-dark {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--gold-600);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  box-shadow: var(--shadow-sm);
}

.amenity-card-dark .amenity-title {
  color: var(--gold-400);
  margin-bottom: 0;
}

.amenity-card-dark .amenity-desc {
  color: var(--slate-400);
}

.amenity-card-dark .amenity-image-dark {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  display: block;
}

/* Pet lounge card - spans full on large screens */
.amenity-card-full {
  background: linear-gradient(to right, var(--gold-50), #fee8d6);
  border: 1px solid var(--gold-200);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .amenity-card-full {
    grid-column: span 2 / span 2;
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .amenity-card-full {
    grid-column: span 3 / span 3;
  }
}

.amenity-card-full .pet-image-wrapper {
  width: 7rem;
  height: 7rem;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-200);
  box-shadow: var(--shadow-md);
}

.amenity-card-full .pet-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-card-full .pet-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .amenity-card-full .pet-info-wrapper {
    text-align: left;
  }
}

.pet-badge {
  display: inline-flex;
  align-self: center;
  align-items: center;
  background-color: var(--gold-600);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .pet-badge {
    align-self: flex-start;
  }
}

.amenity-card-full .amenity-title {
  margin-bottom: 0;
}

.amenity-card-full .amenity-desc {
  color: var(--slate-600);
}

/* Parks Section */
.parks-section {
  background-color: var(--emerald-950);
  color: var(--white);
}

.parks-section .section-badge {
  color: var(--emerald-400);
}

.parks-section .section-subtitle {
  color: rgba(167, 243, 208, 0.7);
}

.parks-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .parks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .parks-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.park-card {
  background-color: rgba(6, 78, 59, 0.3);
  border: 1px solid rgba(6, 95, 70, 0.8);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.park-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-400);
}

.park-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.park-icon {
  color: var(--gold-400);
  font-size: 1.5rem;
}

.park-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--emerald-300);
}

.park-desc {
  color: rgba(209, 250, 229, 0.7);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .park-desc {
    font-size: 0.875rem;
  }
}

.park-image {
  width: 100%;
  height: 9rem;
  object-fit: cover;
  display: block;
}

/* Emergency Banner Section */
.emergency-section {
  background-color: #fef2f2; /* red-50 */
  border-top: 1px solid rgba(254, 202, 202, 0.7);
  border-bottom: 1px solid rgba(254, 202, 202, 0.7);
  position: relative;
  overflow: hidden;
}

.emergency-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
}

.emergency-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.emergency-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .emergency-container {
    flex-direction: row;
  }
}

.emergency-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.emergency-icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 4px;
  background-color: var(--red-600);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.emergency-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.emergency-text h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-900);
}

.emergency-text p {
  color: var(--slate-600);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .emergency-text p {
    font-size: 0.875rem;
  }
}

.emergency-badge {
  display: inline-block;
  background-color: var(--red-100);
  color: var(--red-800);
  border: 1px solid var(--red-200);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  .emergency-badge {
    width: auto;
  }
}

/* Enquiry Form Section */
.enquiry-section {
  background: linear-gradient(to bottom, var(--slate-50), rgba(250, 244, 230, 0.4));
}

.enquiry-wrapper {
  background-color: var(--white);
  border-radius: 4px;
  border: 1px solid var(--gold-100);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  display: grid;
}

@media (min-width: 768px) {
  .enquiry-wrapper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.form-area {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-area {
    grid-column: span 3 / span 3;
    padding: 3rem;
  }
}

.form-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--slate-900);
}

@media (min-width: 640px) {
  .form-header h3 {
    font-size: 1.875rem;
  }
}

.form-header p {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--slate-200);
  font-size: 0.875rem;
  color: var(--slate-800);
  background-color: var(--white);
  transition: var(--transition-normal);
}

.form-input::placeholder {
  color: var(--slate-400);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(195, 139, 56, 0.1);
}

/* Form sidebar details */
.sidebar-area {
  background: linear-gradient(to bottom, var(--slate-900), var(--slate-950));
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid rgba(97, 60, 28, 0.3);
}

@media (min-width: 768px) {
  .sidebar-area {
    grid-column: span 2 / span 2;
    border-top: none;
    border-left: 1px solid rgba(97, 60, 28, 0.3);
    padding: 3rem;
  }
}

.sidebar-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.sidebar-badge {
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
}

.sidebar-header h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-200);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--slate-300);
  line-height: 1.6;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-info-item i {
  color: var(--gold-400);
  margin-top: 0.25rem;
}

.contact-info-item a {
  color: var(--gold-100);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition-normal);
}

.contact-info-item a:hover {
  text-decoration: underline;
  color: var(--white);
}

.sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-800);
}

.sidebar-footer p {
  font-size: 10px;
  color: var(--slate-400);
  line-height: 1.5;
  font-style: italic;
}

/* Footer Section */
.site-footer {
  background-color: var(--slate-950);
  color: var(--slate-600);
  font-size: 10px;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--slate-900);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-disclaimer {
  max-width: 28rem;
  text-align: center;
  line-height: 1.5;
  color: var(--slate-500);
}

@media (min-width: 768px) {
  .footer-disclaimer {
    text-align: right;
  }
}

/* Floating CTAs */
.floating-ctas {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl);
  transition: transform 0.3s ease;
  text-decoration: none;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  font-size: 1.5rem;
}

.floating-btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
}

.floating-btn-call {
  background-color: var(--gold-600);
  color: var(--white);
  font-size: 1.25rem;
}

.floating-btn-call:hover {
  background-color: var(--gold-700);
}

.tooltip-text {
  position: absolute;
  right: 4rem;
  background-color: var(--slate-900);
  color: var(--white);
  font-size: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

/* Show tooltips on hover on screens wider than mobile */
@media (min-width: 640px) {
  .floating-btn:hover .tooltip-text {
    opacity: 1;
  }
}

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

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

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

/* Modal Popup Styling */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--white);
  border: 1px solid var(--gold-200);
  border-radius: 4px;
  width: 100%;
  max-width: 32rem;
  position: relative;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--slate-500);
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 10;
}

.modal-close-btn:hover {
  color: var(--gold-600);
}

.modal-content {
  padding: 2.5rem 2rem;
}

.modal-header {
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.modal-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  font-weight: 700;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--slate-900);
  line-height: 1.25;
}

.modal-header p {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.5;
}
