/* =========================================================
   Book Now – Full-bleed split layout (edge-to-edge)
   Matches: book-now.php template classes
   ========================================================= */

.gg-booknow__bleed {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Page heading */
.gg-booknow__pagehead {
  padding: 28px 16px 18px;
  text-align: center;
}

.gg-booknow__title {
  margin: 0;
  font-family: var(--gg-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(28px, 3.5vw, 48px);
  color: rgba(255, 255, 255, 0.92);
}

.gg-booknow__subtitle {
  margin: 10px 0 0;
  font-family: var(--gg-font-ui);
  font-size: clamp(18px, 2vw, 26px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Mobile Hero Image - Hidden on desktop, shown on mobile */
.gg-booknow__mobile-hero {
  display: none;
  position: relative;
  z-index: 1;
}

.gg-booknow__mobile-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gg-booknow__mobile-title {
  display: none; /* Hidden by default, shown on mobile */
  margin: 0;
  font-family: var(--gg-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(32px, 7vw, 48px);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.gg-booknow__mobile-header {
  display: none; /* Hidden by default, shown on mobile */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.gg-booknow__mobile-subtitle {
  display: none; /* Hidden by default, shown on mobile */
  margin: 8px 0 0;
  font-family: var(--gg-font-ui);
  font-size: clamp(16px, 4vw, 22px);
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.gg-booknow__scroll-hint {
  display: none; /* Hidden by default, shown on mobile */
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 20px 12px;
  font-family: var(--gg-font-ui);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  text-align: center;
  background: rgba(39, 244, 255, 0.05);
  border-bottom: 1px solid rgba(39, 244, 255, 0.15);
}

.gg-booknow__scroll-link {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.gg-booknow__scroll-link:hover {
  color: rgba(39, 244, 255, 1);
}

/* Background video layer */
.gg-booknow__section {
  padding: 0; /* full bleed */
  position: relative;
  overflow: hidden; /* ensures video doesn't spill */
}

/* Video wrapper sits behind everything */
.gg-booknow__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gg-booknow__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 0.8s ease;
  transform: scale(1.02); /* avoids edge gaps on some GPUs */
  filter: brightness(3) contrast(1.05) saturate(1.1);
}

.gg-booknow__bg-video.is-playing {
  opacity: 1;
}

.gg-booknow__bg-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.gg-booknow__bg-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay for readability */
.gg-booknow__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 500px at 20% 10%,
      rgba(39, 244, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 420px at 80% 20%,
      rgba(255, 122, 24, 0.16),
      transparent 62%
    ),
    linear-gradient(180deg, rgba(6, 10, 26, 0.45), rgba(6, 10, 26, 0.6));
}

/* Ensure your content sits above the background */
.gg-booknow__bleed,
.gg-booknow__pagehead,
.gg-booknow__grid {
  position: relative;
  z-index: 1;
}

/* 2-column split */
.gg-booknow__grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.65fr 1fr; /* left bigger */
  gap: 0;
  align-items: stretch; /* equal-height columns */
  min-height: auto;
}

/* Grid children need to stretch so panels can match heights */
.gg-booknow__left,
.gg-booknow__right {
  display: flex;
  min-width: 0;
}

/* Panels */
.gg-booknow__panel {
  flex: 1;
  padding: 32px 28px;
  min-width: 0;
}

/* LEFT panel: center Amelia within the column */
.gg-booknow__panel--amelia {
  display: flex;
  justify-content: center;
  align-items: center;

  background:
    radial-gradient(
      1200px 400px at 50% 0,
      rgba(39, 244, 255, 0.06),
      transparent 78%
    ),
    linear-gradient(180deg, rgba(7, 11, 31, 0.3), rgba(5, 8, 22, 0.4));

  border-right: 1px solid rgba(255, 255, 255, 0.08);

  /*background: radial-gradient(
      900px 320px at 50% 0,
      rgba(255, 122, 24, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(6, 10, 26, 0.88), rgba(4, 7, 18, 0.96));*/
}

/* Keep Amelia from spanning too wide on ultra-wide screens */
.gg-booknow__panel--amelia > * {
  width: min(980px, 100%);
}

/* RIGHT panel: Stack boxes vertically */
.gg-booknow__panel--info {
  display: flex;
  flex-direction: column; /* ← ADDED: Stack vertically */
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* ← ADDED: Space between boxes */
  scroll-margin-top: 80px; /* Offset for anchor links to prevent overshooting */

  background:
    radial-gradient(
      900px 320px at 50% 0,
      rgba(255, 122, 24, 0.06),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(6, 10, 26, 0.88), rgba(4, 7, 18, 0.96));
}

/* Info card */
.gg-booknow__info-card {
  width: min(520px, 100%);
  margin-top: 6px;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(
      900px 240px at 50% 0,
      rgba(39, 244, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(7, 11, 31, 0.72), rgba(5, 8, 22, 0.84));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);

  padding: 18px 16px;
}

/* Typography */
.gg-booknow__h2 {
  margin: 0 0 12px;
  font-family: var(--gg-font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
}

.gg-booknow__content {
  max-width: 52ch;
  font-family: var(--gg-font-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.gg-booknow__content p {
  margin: 0 0 12px;
}

.gg-booknow__content strong {
  color: rgba(255, 255, 255, 0.96);
}

.gg-booknow__content a {
  color: rgba(39, 244, 255, 0.95);
  text-decoration: underline;
}

/* Overflow safety (plugins can be aggressive) */
.gg-booknow__grid,
.gg-booknow__left,
.gg-booknow__right,
.gg-booknow__panel,
.gg-booknow__content {
  min-width: 0;
  max-width: 100%;
}

/* =============================================================================
   GROUP BOOKING CTA BOX - UNDERNEATH GRID
   ============================================================================= */

.gg-booknow__info-card--cta {
  margin-top: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 122, 24, 0.15) 0%,
    rgba(255, 122, 24, 0.05) 100%
  );
  border: 2px solid rgba(255, 122, 24, 0.3);
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.gg-booknow__info-card--cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gg-fire), #ff9547);
}

/* Heading in CTA box */
.gg-booknow__info-card--cta .gg-booknow__h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.05em;
}

/* Text styling */
.gg-booknow__text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 1.25rem;
}

/* CTA button wrapper */
.gg-booknow__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Contact button - SVG style */
.gg-booknow__contact-btn {
  display: inline-block;
  width: 240px;
  height: 80px;
  position: relative;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.gg-booknow__contact-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.gg-booknow__contact-btn:active {
  transform: translateY(0);
}

/* Contact button image/icon */
.gg-booknow__contact-btn-img {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../img/contact-us-default.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.2s ease;
}

.gg-booknow__contact-btn:hover .gg-booknow__contact-btn-img {
  background-image: url("../img/contact-us-hover.svg");
}

/* =========================================================
   Responsive: stack panels
   ========================================================= */
@media (max-width: 900px) {
  /* Show mobile hero image */
  .gg-booknow__mobile-hero {
    display: block;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
  }

  .gg-booknow__mobile-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2) 20%,
      rgba(255, 255, 255, 0.2) 80%,
      transparent
    );
  }

  /* Show mobile title overlay */
  .gg-booknow__mobile-title {
    display: block;
  }

  .gg-booknow__mobile-header {
    display: block;
  }

  .gg-booknow__mobile-subtitle {
    display: block;
  }

  .gg-booknow__scroll-hint {
    display: block;
  }

  /* Hide desktop page header on mobile */
  .gg-booknow__pagehead {
    display: none;
  }

  .gg-booknow__mobile-hero img {
    max-height: 400px;
    object-position: center;
  }

  .gg-booknow__grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .gg-booknow__panel {
    padding: 22px 16px;
  }

  .gg-booknow__panel--amelia {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0;
  }

  .gg-booknow__bg-video {
    display: none;
  }

  .gg-booknow__right {
    order: 1; /* move info cards below Amelia */
  }

  .gg-booknow__left {
    order: 0;
  }

  .gg-booknow__panel--info {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .gg-booknow__panel--group {
    margin-top: 1rem;
  }
  .gg-booknow__info-card--cta {
    margin-top: 1.25rem;
    padding: 1.5rem 1.25rem;
  }

  .gg-booknow__info-card--cta .gg-booknow__h2 {
    font-size: 1.15rem;
  }

  .gg-booknow__text {
    font-size: 0.9rem;
  }

  .gg-booknow__contact-btn {
    width: 220px;
    height: 72px;
  }
}

@media (max-width: 600px) {
  .gg-booknow__info-card--cta {
    margin-top: 1rem;
    padding: 1.25rem 1rem;
    border-radius: 8px;
  }

  .gg-booknow__info-card--cta .gg-booknow__h2 {
    font-size: 1.05rem;
  }

  .gg-booknow__text {
    font-size: 0.85rem;
  }

  .gg-booknow__contact-btn {
    width: 200px;
    height: 66px;
  }

  .gg-booknow__info-card--cta {
    padding: 1.5rem 1rem;
  }

  .gg-booknow__info-card--cta .gg-booknow__h2 {
    font-size: 1.15rem;
  }

  .gg-booknow__text {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gg-booknow__bg-video {
    display: none;
  }
  .gg-booknow__bg {
    background:
      radial-gradient(
        900px 420px at 50% 0,
        rgba(39, 244, 255, 0.1),
        transparent 60%
      ),
      linear-gradient(180deg, rgba(3, 5, 14, 0.8), rgba(3, 5, 14, 0.92));
  }
}
