/* Shared layout */
.section {
  margin: 2.5rem 0;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

/* Main content area - adds spacing before footer */
#main {
  padding-bottom: 4rem;
  width: 100%;
}

/* Hero image optimization for HD quality */
.hero-slider img,
.hero-media img {
  will-change: opacity;
  backface-visibility: hidden;
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50:50 balanced layout */
  gap: 2rem;
  padding: 1.5rem 2rem;
  border-radius: 14px;
  align-items: center;
  justify-items: stretch;
  height: auto;
  min-height: 380px;
  background: radial-gradient(circle at 10% 20%, rgba(240,195,48,0.1), transparent 32%),
              radial-gradient(circle at 80% 0%, rgba(92,203,255,0.12), transparent 35%),
              rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  overflow: hidden;
}

/* Prevent grid children from overflowing their columns */
.page-hero > * {
  min-width: 0;
  min-height: 0;
}

/* Text column: optimize for readability and button layout */
.page-hero .hero-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.8rem;
  height: 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.page-hero .eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

/* Unified title sizing for consistency */
.page-hero .major {
  font-size: clamp(1.35rem, 2vw + 1rem, 2.4rem);
  line-height: 1.2;
  max-height: none;
  max-width: 100%;
  overflow: visible;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-body p {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-family: Georgia, serif;
  letter-spacing: 0.02em;
}

.hero-why {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.88;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hero-why .why-label {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

/* Image column: HD quality 16:9 aspect ratio */
.hero-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 32px rgba(0,0,0,0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: 16 / 9;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slider,
.slider-block {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.hero-slider img,
.slider-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  border: none;
  padding: 0.25rem 0.4rem;
  border-radius: 0;
  cursor: pointer;
  font-size: 1.4rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.slider-btn.prev { left: 0.5rem; }
.slider-btn.next { right: 0.5rem; }
.hero-slider:hover .slider-btn,
.slider-block:hover .slider-btn {
  opacity: 1;
}
.slider-dots {
  display: none;
}

/* CTA Bar in hero - for packages and custom route buttons */
.page-hero .cta-bar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.cta-bar > div:first-child {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  font-family: Georgia, serif;
  letter-spacing: 0.02em;
}

.cta-bar > div:first-child strong {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-family: 'Source Sans Pro', sans-serif;
  letter-spacing: 0.05em;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Hero buttons - optimized for consistency */
.pill-row .button {
  flex: 1;
  min-width: 140px;
  padding: clamp(0.5rem, 0.9vw + 0.4rem, 0.9rem) clamp(0.9rem, 1vw + 0.5rem, 1.3rem);
  font-size: clamp(0.72rem, 1vw + 0.48rem, 0.95rem);
  text-align: center;
  height: auto;
  line-height: 1.4;
  letter-spacing: 0.06em;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #ffffff !important;
  font-weight: 400;
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pill-row .button:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

.pill-row .button:active {
  background: rgba(255,255,255,0.25);
  transform: translateY(0);
}

.pill-row .button.primary {
  background: #f0c330;
  color: #1b1f22 !important;
  border: 1px solid #f0c330;
  font-weight: 600;
}

.pill-row .button.primary:hover {
  background: #ffd966;
  border-color: #ffd966;
  transform: translateY(-2px);
}

.hero-media .media-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0,0,0,0.65);
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.9rem;
}

/* ===========================================
   MEDIA QUERIES
   =========================================== */.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}
.stat-box {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0c330;
}
.stat-label {
  opacity: 0.9;
  font-size: 0.95rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.card h3 { margin: 0 0 0.4rem; color: #f0c330; }
.card p { margin: 0.25rem 0 0; line-height: 1.5; }

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}
.list-check li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
}
.list-check li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #5ccbff;
}

.cta-bar {
  margin: 3rem 0 1rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240,195,48,0.14), rgba(92,203,255,0.1));
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 0.6rem;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}
.media-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.pill-row .pill {
  background: rgba(255,255,255,0.05);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}
.contact-grid {
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
}

.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  min-height: 520px;
}
.form-card label { display: block; margin: 0.5rem 0 0.25rem; }
.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.4);
  color: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
}

.booking-layout .form-card {
  min-height: auto;
  max-width: 460px;
  justify-self: end;
}

@media (max-width: 980px) {
  .booking-layout .form-card {
    max-width: none;
    justify-self: stretch;
  }
}

.gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}
.gallery-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
  aspect-ratio: 16 / 8;
}
.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.quote-card {
  position: relative;
  padding: 1.2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.quote-card .mark {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  font-size: 2rem;
  color: rgba(240,195,48,0.5);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 3000;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}
.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .page-hero,
  .two-col {
    grid-template-columns: 1fr 1fr; /* Keep 50:50 at tablet */
    gap: 1.5rem;
  }

  .page-hero {
    padding: 1.2rem 1.5rem;
    height: auto;
    min-height: 340px;
  }
  
  .page-hero .major {
    letter-spacing: 0.07em;
    line-height: 1.1;
  }
  
  .page-hero .cta-bar {
    padding: 0.8rem;
  }
  
  .pill-row .button {
    min-width: 120px;
  }
}

@media (max-width: 720px) {
  .page-hero {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 1rem;
    padding: 1.2rem 1rem;
    height: auto;
    min-height: auto;
  }
  
  .page-hero .eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }
  
  .page-hero .major {
    letter-spacing: 0.06em;
    line-height: 1.1;
  }
  
  .hero-body p {
    font-size: 0.9rem;
    letter-spacing: 0.02em;
  }
  
  .badge-row {
    gap: 0.4rem;
  }
  
  .pill {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
  }

  .page-hero .cta-bar {
    padding: 0.8rem;
    gap: 0.6rem;
  }
  
  .cta-bar > div:first-child {
    font-size: 0.85rem;
  }
  
  .pill-row {
    gap: 0.5rem;
  }
  
  .pill-row .button {
    min-width: 100px;
  }
  
  .hero-media {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 220px;
  }
  
  .card,
  .form-card,
  .quote-card,
  .cta-bar {
    backdrop-filter: blur(8px);
    min-height: auto;
  }
}
@media (max-width: 480px) {
  .page-hero {
    grid-template-columns: 1fr;
    padding: 1rem 0.75rem;
    gap: 0.8rem;
    height: auto;
  }
  
  .page-hero .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.09em;
  }
  
  .page-hero .major {
    letter-spacing: 0.06em;
    line-height: 1.08;
  }
  
  .hero-body p {
    font-size: 0.85rem;
    letter-spacing: 0.015em;
  }
  
  .badge-row {
    gap: 0.3rem;
  }
  
  .pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.6rem;
    letter-spacing: 0.04em;
  }
  
  .page-hero .cta-bar {
    padding: 0.7rem;
    gap: 0.5rem;
  }
  
  .cta-bar > div:first-child {
    font-size: 0.8rem;
  }
  
  .pill-row {
    gap: 0.35rem;
  }
  
  .pill-row .button {
    min-width: 85px;
    padding: 0.45rem 0.5rem;
    font-size: 0.65rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }
  
  .hero-media {
    aspect-ratio: 16 / 9;
    min-height: 160px;
  }
}