/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0B2540;
  --secondary: #EBB728;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.65);
  --line: rgba(235,183,40,0.18);
  --card: rgba(255,255,255,0.04);
  --font-display: serif;
  --font-body: 'Manrope', sans-serif;
  --max: 1240px;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.btn-primary{
  padding: 15px; border: 1px solid orange; border-radius: 50px; background-color: #EBB728; color: black;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: 48px; font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; font-weight: 500; }

.section { padding: 60px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head .section-lead { margin-top: 22px; color: var(--muted); font-size: 1.08rem; max-width: 600px; }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 5px 0;
  background: rgba(11,37,64,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.header.scrolled { padding: 5px 0; background: rgba(11,37,64,0.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 42px; height: 42px; }
.logo-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--text); line-height: 1; }
.logo-text-sub { display: block; font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.32em; color: var(--secondary); margin-top: 4px; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-size: 0.92rem; color: var(--muted); transition: color .25s ease; font-weight: 500; position: relative; }
.nav a:hover { color: var(--text); }
.nav a.btn-pill, .nav a.btn-pill { padding: 10px 22px; border-radius: 999px; background: var(--secondary); color: var(--primary); font-weight: 600; }
.nav a.btn-pill:hover { color: var(--primary); transform: translateY(-2px); transition: transform .25s ease; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO WITH BACKGROUND IMAGE ============ */
.hero { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 140px 0 80px; 
    overflow: hidden; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
  }
  .hero-content { 
    position: relative; 
    z-index: 2; 
    width: 100%;
    text-align: center;
  }
  
  .hero-text {
    max-width: 820px;
    margin: 0 auto;
  }
  
  .hero-text h1 { 
    margin: 8px 0 24px; 
    color: var(--text);
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: 1.1;
  }
  
  .hero-text p { 
    color: rgba(255,255,255,0.9); 
    font-size: 1.15rem; 
    max-width: 640px; 
    margin: 0 auto 36px; 
  }
  
  .hero-cta { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    margin-bottom: 56px; 
    justify-content: center;
  }
  
  .hero-stats { 
    display: flex; 
    gap: 48px; 
    justify-content: center;
  }
  
  .hero-stats div { 
    display: flex; 
    flex-direction: column; 
  }
  
  .hero-stats strong { 
    font-family: var(--font-display); 
    font-size: 2.2rem; 
    color: var(--secondary); 
    font-weight: 500; 
    line-height: 1; 
  }
  
  .hero-stats span { 
    font-size: 0.82rem; 
    color: rgba(255,255,255,0.8); 
    letter-spacing: 0.05em; 
    margin-top: 6px; 
  }
  
  .hero-scroll { 
    position: absolute; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 0.78rem; 
    letter-spacing: 0.25em; 
    color: var(--text); 
    animation: bounce 2s ease infinite; 
    z-index: 3;
  }
  
  @keyframes bounce { 
    0%, 100% { transform: translateX(-50%) translateY(0); } 
    50% { transform: translateX(-50%) translateY(6px); } 
  }
  
  /* Responsive adjustments for smaller screens */
  @media (max-width: 768px) {
    .hero-stats { 
      gap: 10px; 
      flex-wrap: wrap; 
    }
    .hero-stats strong { 
      font-size: 1.8rem; 
    }
    .hero-text p {
      font-size: 1rem;
    }
  }
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the video scales perfectly to fill the screen */
    z-index: 0;
  }
  
  /* Ensure the overlay sits on top of the video */
  .hero-overlay {
    z-index: 1;
  }
  
  /* Ensure the text sits on top of both the video and overlay */
  .hero-content {
    z-index: 2;
  }

/* ============ AMENITIES ============ */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; } 
.amenities-feature {
  background: linear-gradient(180deg, #0B2540 0%, #061a30 100%);
  padding: 80px 0;
}

.amenities-feature .section-head {
  text-align: center;
  margin-bottom: 30px;
}

.amenities-feature .section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.amenities-feature .eyebrow {
  color: #EBB728;
}

.amenity-grid-modern {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 columns for a sleek, compact look */
  gap: 20px;
}

.amenity-card-modern {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle background glow that appears on hover */
.amenity-card-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(235,183,40,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.amenity-card-modern:hover {
  border-color: rgba(235,183,40,0.6);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  background: rgba(11,37,64,0.8);
}

.amenity-card-modern:hover::before {
  opacity: 1;
}

.amenity-icon-modern {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235,183,40,0.1);
  border: 2px solid rgba(235,183,40,0.2);
  color: #EBB728;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.amenity-icon-modern svg {
  width: 32px;
  height: 32px;
}

/* Icon lights up and spins slightly on hover */
.amenity-card-modern:hover .amenity-icon-modern {
  background: #EBB728;
  color: #0B2540;
  border-color: #EBB728;
  box-shadow: 0 0 25px rgba(235,183,40,0.5);
  transform: scale(1.1);
}

.amenity-card-modern h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .amenity-grid-modern {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on tablet */
  }
}

@media (max-width: 768px) {
  .amenity-grid-modern {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px;
  }
  .amenity-card-modern {
    padding: 30px 15px;
  }
  .amenity-icon-modern {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .amenity-grid-modern {
    grid-template-columns: 1fr; /* 1 column on very small screens */
  }
}
  /* Responsive Layouts */
 @media (max-width: 980px) {
    .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 600px) {
    .amenity-grid { grid-template-columns: 1fr; }
  }
/* Sunrise scene */
.sunrise-visual { position: relative; background: linear-gradient(180deg, #ff9a56 0%, #EBB728 50%, #0B2540 100%); overflow: hidden; }
.sunrise-disc { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, #fff6d8 0%, #EBB728 70%, transparent 100%); box-shadow: 0 0 80px rgba(235,183,40,0.6); }
.sunrise-horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, transparent 0%, #0B2540 60%); }
.sunrise-silhouette { position: absolute; bottom: 0; left: 0; right: 0; height: 30%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 150' preserveAspectRatio='none'%3E%3Cpath d='M0 150 L0 90 Q 80 60 160 80 Q 240 50 320 75 Q 400 55 500 80 L500 150 Z' fill='%230B2540'/%3E%3Cpath d='M0 150 L0 110 Q 100 95 200 105 Q 300 90 400 100 Q 450 95 500 105 L500 150 Z' fill='%23061122'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }

/* Night scene */
.night-visual { position: relative; background: linear-gradient(180deg, #06101f 0%, #0B2540 60%, #061a30 100%); overflow: hidden; }
.night-stars { position: absolute; inset: 0; background-image: 
  radial-gradient(1px 1px at 10% 20%, white, transparent),
  radial-gradient(1px 1px at 25% 15%, white, transparent),
  radial-gradient(2px 2px at 40% 25%, white, transparent),
  radial-gradient(1px 1px at 55% 10%, white, transparent),
  radial-gradient(1px 1px at 70% 30%, white, transparent),
  radial-gradient(2px 2px at 85% 20%, white, transparent),
  radial-gradient(1px 1px at 15% 40%, white, transparent),
  radial-gradient(1px 1px at 35% 45%, white, transparent),
  radial-gradient(1px 1px at 60% 40%, white, transparent),
  radial-gradient(2px 2px at 80% 50%, white, transparent),
  radial-gradient(1px 1px at 90% 35%, white, transparent);
  opacity: 0.9; animation: twinkle 4s ease infinite alternate; }
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }
.night-moon { position: absolute; top: 18%; right: 18%; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff8e0 0%, #EBB728 80%, transparent 100%); box-shadow: 0 0 50px rgba(235,183,40,0.3); }
.night-mountains { position: absolute; bottom: 30%; left: 0; right: 0; height: 100px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 100' preserveAspectRatio='none'%3E%3Cpath d='M0 100 L0 50 L100 20 L200 60 L300 15 L400 55 L500 30 L500 100 Z' fill='%23061122'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }
.night-farmhouse { position: absolute; bottom: 20%; left: 30%; width: 120px; height: 80px; }
.night-farmhouse::before { content: ''; position: absolute; bottom: 0; left: 0; width: 120px; height: 60px; background: #06111f; clip-path: polygon(0 100%, 0 40%, 50% 0, 100% 40%, 100% 100%); }
.night-farmhouse-glow { position: absolute; top: 30px; left: 40px; width: 40px; height: 30px; background: #EBB728; box-shadow: 0 0 30px 10px rgba(235,183,40,0.5); }

/* ============ FARM VIDEO SECTION ============ */
.farm-video {
  background: #061a30; /* Slightly darker background to make the video pop */
  padding: 80px 0;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Keeps the video from getting too massive on large screens */
  margin: 20px auto 0; /* Centers the video */
  aspect-ratio: 16/9; /* Maintains perfect widescreen proportions */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(235, 183, 40, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #000;
  height: 550px ;
}

/* Style the actual video element to fill the wrapper */
.farm-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* If you decide to use the YouTube iframe instead, this styles it */
.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-wrapper {
    border-radius: 12px;
    height: 300px;
  }
}

/* ============ PAYMENT PLANS TABLE ============ */
.plans-section { background: linear-gradient(180deg, var(--primary) 0%, #061a30 100%); border: 1px solid rgba(235,183,40,0.15); }

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(235,183,40,0.2);
  background: rgba(255,255,255,0.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px; /* Forces horizontal scroll on small devices */
}

.pricing-table thead tr {
  border-bottom: 2px solid rgba(235,183,40,0.3);
}

.pricing-table th {
  background: rgba(11,37,64,0.8);
  padding: 24px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--secondary);
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-table td {
  padding: 19px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.pricing-table tbody tr {
  transition: background 0.3s ease;
}

.pricing-table tbody tr:hover {
  background: rgba(235,183,40,0.05);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.block-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 6px;
  background: rgba(235,183,40,0.15);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(235,183,40,0.3);
}

.total-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

.pricing-table td small {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Terms and Conditions */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.terms-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.terms-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(235,183,40,0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(235,183,40,0.2);
}

.terms-item h4 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
  font-family: var(--font-display);
}

.terms-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.plans-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsive behavior for mobile (Cards style) */
@media (max-width: 768px) {
  .pricing-table { min-width: 100%; }
  
  .pricing-table thead { display: none; }
  
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { 
    display: block; 
    width: 100%; 
  }
  
  .pricing-table tr {
    margin-bottom: 24px;
    border: 1px solid rgba(235,183,40,0.2);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(11,37,64,0.4);
  }
  
  .pricing-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: right;
  }
  
  .pricing-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    padding-right: 20px;
  }
  
  .pricing-table tbody tr:last-child td {
    border-bottom: none;
  }
  
  .terms-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ CONTACT SECTION ============ */
.contact-section { 
  background: var(--secondary); 
  padding: 80px 0;
  overflow-x: hidden; /* Prevents horizontal scroll on entire page */
}

.contact-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 0 15px; /* Ensures text doesn't hit screen edge */
}
.contact-header h2 {
  color: var(--primary);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  word-wrap: break-word;
}
.contact-header p {
  color: rgba(11, 37, 64, 0.8);
  margin-top: 10px;
  font-size: 1rem;
  word-wrap: break-word;
}
.contact-header .eyebrow {
  color: var(--primary);
  opacity: 0.7;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 100%;
}

/* Left Side Container */
.contact-info-side { 
  display: flex; 
  flex-direction: column; 
  gap: 20px;
  min-width: 0; /* Prevents grid blowout on mobile */
}

.info-banner { 
  background: var(--primary); 
  color: var(--text); 
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.info-banner-text span, .info-banner-hours span { 
  display: block; 
  font-size: 0.8rem; 
  color: rgba(255,255,255,0.7); 
  margin-bottom: 4px;
}
.info-banner-text strong { 
  font-family: var(--font-display); 
  font-size: 1.2rem; 
  color: var(--secondary);
}
.info-banner-hours strong {
  font-family: var(--font-display);
  font-size: 1.2rem; 
  color: #fff;
}

/* Contact Modules (Desktop - 2 in a row) */
.info-modules { 
  display: grid; 
  grid-template-columns: 1fr 1fr; /* Keeps 2 cards side-by-side on large screens */
  gap: 15px;
}
.info-module { 
  background: #fff; 
  border-radius: 12px; 
  padding: 20px; 
  display: flex; 
  align-items: flex-start; 
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  min-width: 0;
}
.info-icon { 
  font-size: 1.4rem; 
  width: 40px; 
  height: 40px;
  background: rgba(11, 37, 64, 0.1); 
  border-radius: 50%;
  display: flex;
  align-items: center; 
  justify-content: center;
  flex-shrink: 0;
}
.info-module h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--primary); 
  margin-bottom: 5px;
  text-transform: uppercase; 
  letter-spacing: 0.05em;
}
.info-module p {
  font-size: 0.9rem; 
  color: #444; 
  line-height: 1.4;
  word-wrap: break-word;
}

/* Make the Location card span across both columns on desktop */
.info-module.full-width-module {
  grid-column: span 2;
}

/* Map */
.map-embed {
  width: 100%;
  height: 250px;
  border-radius: 16px;
  overflow: hidden; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
  background: #ddd;
  max-width: 100%;
}
.map-embed iframe { 
  display: block; 
  width: 100%; 
  height: 100%; 
  border: 0;
  max-width: 100%;
}

/* Right Side: Form */
.contact-form-box { 
  background: #fff; 
  border-radius: 20px; 
  padding: 40px; 
  box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-width: 0;
}
.contact-form-box h3 {
  font-family: var(--font-display); 
  font-size: 1.8rem;
  color: var(--primary); 
  margin-bottom: 8px;
}
.form-subtitle {
  color: #666;
  font-size: 0.95rem; 
  margin-bottom: 30px;
}
.contact-form-box label {
  display: flex;
  flex-direction: column; 
  gap: 8px; 
  margin-bottom: 20px; 
  font-size: 0.85rem; 
  color: #555; 
  font-weight: 600; 
  letter-spacing: 0.03em;
}
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}
.contact-form-box input, 
.contact-form-box select, 
.contact-form-box textarea { 
  background: #f5f7fa; 
  border: 1px solid #e0e5ec; 
  border-radius: 8px; 
  padding: 14px 16px; 
  color: var(--primary); 
  font-size: 1rem; 
  font-weight: 500; 
  transition: border-color 0.2s ease, box-shadow 0.2s ease; 
  max-width: 100%;
  width: 100%;
}
.contact-form-box input:focus, 
.contact-form-box select:focus, 
.contact-form-box textarea:focus { 
  outline: none; 
  border-color: var(--secondary); 
  box-shadow: 0 0 0 3px rgba(235, 183, 40, 0.15);
}
.contact-form-box textarea { 
  resize: vertical; 
  min-height: 100px; 
  max-width: 100%;
}
.form-note { 
  font-size: 0.85rem; 
  color: #1a7a3a; 
  margin-top: 12px; 
  min-height: 1.2em; 
  font-weight: 600; 
}
.contact-form-box .btn-primary {
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--primary);
  width: 100%; 
  margin-top: 10px;
}
.contact-form-box .btn-primary:hover {
  background: #081d33; 
  border-color: #081d33;
}

/* ============ STRICT MOBILE FIXES ============ */
@media (max-width: 768px) {
  .contact-split { 
    grid-template-columns: 1fr; 
    gap: 30px;
  }
  .contact-form-box {
    height: auto;
    padding: 30px 20px;
  }
  .info-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  
  /* Mobile - 1 in a row (Stacked vertically) */
  .info-modules { 
    grid-template-columns: 1fr; 
  }
  
  /* Reset the Location card span so it fits the 1-column mobile layout */
  .info-module.full-width-module {
    grid-column: span 1;
  }

  .form-row { 
    grid-template-columns: 1fr; 
    gap: 0; 
  }
}

/* Extra safety for very small screens (320px, 375px, 425px) */
@media (max-width: 480px) {
  .container {
    padding: 0 15px; /* Shrinks container padding to fit screen */
  }
  .contact-section {
    padding: 50px 0;
  }
  .contact-header {
    padding: 0 5px;
    margin-bottom: 30px;
  }
  .contact-header h2 {
    font-size: 1.6rem;
  }
  .contact-header p {
    font-size: 0.9rem;
  }
  .info-banner {
    padding: 18px;
  }
  .info-banner-text strong, .info-banner-hours strong {
    font-size: 1.1rem;
  }
  .info-module {
    padding: 15px;
    flex-direction: row; /* Keep icon left, text right */
    align-items: center;
  }
  .info-module p {
    font-size: 0.85rem;
  }
  .contact-form-box {
    padding: 25px 15px;
  }
  .contact-form-box h3 {
    font-size: 1.4rem;
  }
  .form-subtitle {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  .contact-form-box input, 
  .contact-form-box select, 
  .contact-form-box textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
}
/* ============ FOOTER ============ */
.footer { background: var(--primary); border-top: 1px solid var(--line); padding: 80px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 70px; margin-bottom: 50px; }
.footer-brand p { color: var(--muted); margin-top: 20px; max-width: 380px; font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--secondary); margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; }
.footer-cols a { display: block; color: var(--muted); padding: 6px 0; font-size: 0.92rem; transition: color .2s ease; }
.footer-cols a:hover { color: var(--text); }
.logo-text.light { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .experience { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .experience.reverse .exp-visual { order: 0; }
  .plans-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-stats { gap: 10px; }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .nav { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: rgba(11,37,64,0.98); backdrop-filter: blur(20px); flex-direction: column; align-items: flex-start; padding: 100px 32px; gap: 20px; transition: right .3s ease; }
  .nav.active { right: 0; }
  .nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .amenity-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 10px; }
  .hero-stats div { flex: 1 1 30%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .section-head { margin-bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ============ GALLERY ============ */
.gallery-section { background: linear-gradient(180deg, var(--primary) 0%, #061a30 50%, var(--primary) 100%); }
.gallery-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; margin-top: 0; }
.filter-btn {padding: 10px 22px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; font-weight: 500; transition: all 0.3s ease; }
.filter-btn:hover { color: var(--text); border-color: rgba(235,183,40,0.4); }
.filter-btn.active {  background: var(--secondary);  color: var(--primary);  border-color: var(--secondary);  font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1/1; cursor: pointer; background: #061a30; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:nth-child(1), .gallery-item:nth-child(6), .gallery-item:nth-child(9) { grid-column: span 2;  aspect-ratio: 2/1; } 
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,37,64,0.95) 100%); display: flex; align-items: flex-end; padding: 20px; opacity: 0; transition: opacity 0.4s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-family: var(--font-display);  font-size: 1.1rem; color: var(--text); transform: translateY(10px); transition: transform 0.4s ease; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }
.gallery-item.hidden { display: none; }
@media (max-width: 980px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6), .gallery-item:nth-child(9) {grid-column: span 2; }
}
