/* ── Core Disneyland-Style Design System & Layouts ── */

/* 1. Base Variables Defaults */
:root {
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --primary: #004e82;
  --primary-hover: #00375c;
  --accent: #ffc02e;
  --accent-hover: #e0a51b;
  --bg-page: #f5fbff;
  --bg-card: #ffffff;
  --bg-dark: #002235;
  --text-main: #1c2833;
  --text-muted: #5a7683;
  --text-light: #ffffff;
  --border-radius: 16px;
  --border-color: rgba(0, 78, 130, 0.15);
  --box-shadow: 0 12px 36px rgba(0, 34, 53, 0.08);
  --box-shadow-hover: 0 20px 48px rgba(0, 34, 53, 0.16);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 2. Global Resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. Disneyland Two-Level Header Navigation */
#navbar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

/* Utility Top Bar */
.ccg-utility-bar {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 48px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ccg-utility-bar a:hover {
  color: var(--text-light);
}
.ccg-utility-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

/* Main Navigation Bar */
#navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
#navbar.scrolled {
  height: 70px;
  box-shadow: 0 8px 30px rgba(0, 34, 53, 0.1);
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
}
.nav-logo-img { height: 46px; width: auto; display: block; }
.ccg-footer-logo { height: 56px; width: auto; display: block; margin-bottom: 14px; }
.nav-logo span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  padding: 10px 4px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-book-btn {
  background-color: var(--primary);
  color: var(--text-light) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(0, 78, 130, 0.25);
}
.nav-book-btn::after {
  display: none !important;
}
.nav-book-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 78, 130, 0.35);
}

/* Hamburger for Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 3px;
  transition: var(--transition);
}

/* Scroll Progress Line — thin reading-progress bar pinned to the very top */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent);
  width: 0%;
  z-index: 2000;
  pointer-events: none;
}

/* 4. Hero Slider Layout */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; /* critical for contain mode — never tile */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.1);
}
/* Ken Burns — the active slide drifts slowly from zoomed-in to settled */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 9s ease-out;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 1s ease;
  /* Spotlight scrim: darkens behind the centred text so it pops on ANY photo,
     while the edges stay light enough to show the scenery. */
  background:
    radial-gradient(ellipse 62% 58% at 50% 46%, rgba(0,18,12,.55) 0%, transparent 68%),
    linear-gradient(180deg, rgba(0,34,53,.28) 0%, rgba(0,34,53,.58) 100%);
}
/* No text on screen → remove the scrim so the image/video is vivid and unobstructed
   (.hero-bare = text disabled in admin; .hero-faded = text auto-hidden by timer) */
#hero.hero-bare .hero-overlay,
#hero.hero-faded .hero-overlay { opacity: 0; }
/* Background video fills the hero like a slide */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Content Area */
/* transition lives on the base so adding .ccg-faded animates (not instant) */
.hero-content { transition: opacity .9s ease; }
.hero-content.ccg-faded { opacity: 0; pointer-events: none; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 0 24px;
  max-width: 900px;
  margin-top: 50px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: 50px;
  margin-bottom: 22px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.22);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
/* Brand name highlight — warm estate gold, kept on one line */
.hero-title .gold {
  color: #e0bd7a;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(224,189,122,0.35);
}
.hero-subtitle {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.6;
}
/* Entrance choreography — the photo settles first, then each line of text
   rises in one after another (staggered), so the message reads as the focus. */
.hero-content > * { opacity: 0; animation: heroRise .95s cubic-bezier(.2,.7,.2,1) both; }
.hero-badge    { animation-delay: .45s; }
.hero-title    { animation-delay: .62s; }
.hero-subtitle { animation-delay: .8s; }
.hero-btns     { animation-delay: .98s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
/* Reduced-motion: keep a gentle staggered FADE (no large movement) so the
   entrance still reads as intentional instead of disappearing entirely. */
@keyframes heroFadeGentle { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation-name: heroFadeGentle; }
  .hero-slide.active { transition: opacity 1.5s ease-in-out; }
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Core Buttons */
.ccg-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(6, 95, 70, 0.28);
  transition: var(--transition);
}
.ccg-btn-primary:hover {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(6, 95, 70, 0.42);
}
.ccg-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--text-light);
  padding: 13px 33px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.ccg-btn-outline:hover {
  background-color: var(--text-light);
  color: var(--bg-dark);
  transform: translateY(-3px);
}

/* 5. Parallax Video / Course Presentation Section */
#video-section {
  position: relative;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../img/LINE_ALBUM_CCGR Over All_260710_2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 34, 53, 0.55);
  z-index: 1;
}
.video-play-btn {
  position: relative;
  z-index: 2;
  text-align: center;
  cursor: pointer;
  display: inline-block;
  border-radius: 16px;
  padding: 8px 24px;
  transition: transform 0.25s ease;
}
.video-play-btn:hover { transform: translateY(-3px); }
.video-play-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.play-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  cursor: pointer;
  position: relative;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.play-circle svg {
  width: 34px;
  height: 34px;
  fill: #fff;
  transform: translateX(3px);
}
/* Expanding halo rings — an unmistakable "press to play" cue */
.play-circle::before,
.play-circle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: playPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.play-circle::after { animation-delay: 1.2s; }
@keyframes playPulse {
  0%   { transform: scale(1);   opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}
.video-play-btn:hover .play-circle {
  transform: scale(1.1);
  background-color: var(--accent-hover);
}
/* Readable call-to-action under the button */
.video-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
.video-cta::before {
  content: '▶';
  font-size: 0.7rem;
  opacity: 0.9;
}
/* Reduced motion: drop the expanding rings but keep the white ring so it still
   reads clearly as a play button. */
@media (prefers-reduced-motion: reduce) {
  .play-circle::before, .play-circle::after { animation: none; opacity: 0; }
}

/* 6. Sections General Formatting */
.ccg-section {
  padding: 100px 24px;
}
.ccg-section.dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}
.ccg-section.light-alt {
  background-color: var(--cream);
}
.ccg-container {
  max-width: 1200px;
  margin: 0 auto;
}
.ccg-sec-head {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 56px;
}
.ccg-sec-badge {
  display: inline-block;
  background-color: rgba(111, 97, 82, 0.1);
  color: var(--brown);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.ccg-section.dark .ccg-sec-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}
.ccg-sec-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  text-wrap: unset;
}
@media (min-width: 769px) {
  .ccg-sec-head { max-width: 1100px !important; }
  .ccg-sec-title { white-space: nowrap; text-wrap: unset !important; }
}
.ccg-sec-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}
.ccg-section.dark .ccg-sec-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* 7. Disneyland Booking Form Over Hero */
.ccg-booking-row {
  margin-top: -80px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}
.ccg-booking-widget {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 34px 40px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  max-width: 1100px;
  margin: 0 auto;
}
.ccg-booking-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 20px;
  align-items: flex-end;
}
.ccg-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ccg-form-field label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}
.ccg-form-field input, .ccg-form-field select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  background-color: var(--bg-page);
  outline: none;
  transition: var(--transition);
}
.ccg-form-field input:focus, .ccg-form-field select:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
}

/* 8. Disneyland Style Grid Cards */
.ccg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.ccg-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
}
.ccg-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary);
}
.ccg-card-img-wrap {
  width: 100%;
  height: 230px;
  overflow: hidden;
  position: relative;
}
.ccg-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ccg-card:hover .ccg-card-img-wrap img {
  transform: scale(1.08);
}
.ccg-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.ccg-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ccg-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.ccg-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.ccg-card-link {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}
.ccg-card-link:hover {
  gap: 10px;
}

/* 9. Disneyland Public Green Fee Rates Layout */
.ccg-rates-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  max-width: 1000px;
  margin: 40px auto 0;
}
.ccg-rates-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.ccg-rates-subtitle {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.ccg-rates-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ccg-rates-col {
  border-top: 2px solid var(--primary);
  padding-top: 18px;
}
.ccg-rates-col h4 {
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--bg-dark);
}
.ccg-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ccg-rate-row span {
  font-size: 0.92rem;
  color: var(--text-muted);
}
.ccg-rate-row strong {
  font-size: 1.15rem;
  color: var(--primary);
}
.ccg-rates-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 30px;
  line-height: 1.7;
}

/* 10. Split Feature Presentation (Restaurant & Academy) */
.ccg-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.ccg-split.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}
.ccg-split-img-wrap {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
}
.ccg-split-img-wrap img {
  width: 100%;
  object-fit: cover;
}
.ccg-menu-item {
  display: flex;
  gap: 20px;
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.ccg-menu-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.ccg-menu-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.ccg-menu-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 11. Interactive Gallery Carousel Strip */
.ccg-gallery-container {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  /* Soft fade at both edges so cards scroll elegantly in/out of view */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.ccg-gallery-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 14px 40px 34px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
/* Card = image + overlay + zoom cue + optional caption */
.ccg-gal-card {
  position: relative;
  flex: 0 0 auto;
  width: 400px;
  height: 300px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  cursor: zoom-in;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
  isolation: isolate;
}
.ccg-gal-card::after {
  /* gradient wash for depth + caption legibility */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,40,30,.05) 0%, rgba(4,40,30,0) 45%, rgba(4,40,30,.62) 100%);
  opacity: .55;
  transition: opacity .4s ease;
  z-index: 1;
  pointer-events: none;
}
.ccg-gal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.ccg-gal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}
.ccg-gal-card:hover::after { opacity: .9; }
.ccg-gal-card:hover img { transform: scale(1.08); }
/* Zoom cue — a golf-green magnifier badge that lifts in on hover */
.ccg-gal-zoom {
  position: absolute;
  top: 16px; right: 16px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(-6px) scale(.9);
  transition: opacity .35s ease, transform .35s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}
.ccg-gal-card:hover .ccg-gal-zoom {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Optional caption (only rendered when admin sets one) */
.ccg-gal-cap {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .2px;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
  transform: translateY(6px);
  opacity: .92;
  transition: transform .4s ease, opacity .4s ease;
}
.ccg-gal-card:hover .ccg-gal-cap { transform: translateY(0); opacity: 1; }
/* Ring accent when a card is focused via keyboard */
.ccg-gal-card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Drag/scroll hint below the strip */
.ccg-gallery-hint {
  text-align: center;
  margin-top: 6px;
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.ccg-gallery-hint-arrow {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--accent);
  animation: ccg-gal-nudge 1.6s ease-in-out infinite;
}
.ccg-gallery-hint-arrow:last-child { animation-delay: .8s; }
@keyframes ccg-gal-nudge {
  0%, 100% { transform: translateX(0); opacity: .5; }
  50%      { transform: translateX(4px); opacity: 1; }
}

.ccg-gallery-strip::-webkit-scrollbar { height: 6px; }
.ccg-gallery-strip::-webkit-scrollbar-thumb { background-color: var(--accent); border-radius: 10px; }
.ccg-gallery-strip::-webkit-scrollbar-track { background-color: rgba(255, 255, 255, 0.08); }

@media (max-width: 600px) {
  .ccg-gal-card { width: 82vw; height: 250px; }
  .ccg-gallery-strip { gap: 14px; padding: 12px 20px 30px; }
}

/* 12. Hole-In-One Sponsors Cards */
.ccg-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.ccg-sponsor-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.ccg-sponsor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--primary);
}
.ccg-sponsor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}
/* Card is a flex column so every card lines up regardless of content */
.ccg-sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Small hole chip — one line, no duplicated "H3 / Hole 3" rows */
.ccg-sponsor-chip {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
/* Sponsor artwork banner — bleeds edge-to-edge across the card top */
.ccg-sponsor-banner {
  width: calc(100% + 40px);
  margin: -34px -20px 16px;
  height: 156px;
  overflow: hidden;
  position: relative;
}
/* Magnifier cue — tells visitors the artwork opens full-size */
.ccg-sponsor-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.ccg-sponsor-card:hover .ccg-sponsor-zoom { opacity: 1; transform: scale(1); }
/* On touch devices there is no hover — keep the cue faintly visible */
@media (hover: none) {
  .ccg-sponsor-zoom { opacity: 0.85; transform: scale(1); }
}
.ccg-sponsor-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.ccg-sponsor-card:hover .ccg-sponsor-banner img { transform: scale(1.06); }
/* Brand logo badge — circular avatar overlapping the banner's bottom edge.
   The logo FILLS the circle (cover), framed by a clean white ring. */
.ccg-sponsor-logobadge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  margin: -52px auto 12px;
  position: relative;
  z-index: 2;
}
.ccg-sponsor-logobadge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Logo stage — every logo sits on the SAME white plate, so white-background
   files blend invisibly and any aspect ratio centres neatly. */
.ccg-sponsor-stage {
  width: 100%;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ccg-sponsor-stage img {
  width: 150px;
  height: 108px;
  object-fit: contain;
  background: #fff;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-color, #e6e0d4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ccg-sponsor-card:hover .ccg-sponsor-stage img {
  transform: scale(1.05);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
}
/* No logo yet → brand monogram in a gold ring (balanced, never empty) */
.ccg-sponsor-mono {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--brown, #6f6152);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  background: #fff;
}
.ccg-sponsor-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ccg-sponsor-brandname {
  font-weight: 700;
  color: var(--bg-dark);
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: 10px;
}
/* Prize pinned to the card bottom as a gold pill */
.ccg-sponsor-prize {
  margin-top: auto;
  display: inline-block;
  background: rgba(198, 154, 85, 0.14);
  border: 1px solid rgba(198, 154, 85, 0.45);
  color: #8a6a34;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

/* Pro Shop card price + actions */
.ccg-card-price {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  background: rgba(198, 154, 85, 0.12);
  border: 1px solid rgba(198, 154, 85, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.ccg-card-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ccg-card-lineb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-left: auto;
  color: #06c755;
  border: 1.5px solid #06c755;
  border-radius: 50%;
  transition: all 0.15s ease;
}
.ccg-card-lineb svg { display: block; }
.ccg-card-lineb:hover { background: #06c755; color: #fff; }

/* 13. Campaign Season Offer Tabs */
.ccg-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.ccg-tab-btn {
  background-color: rgba(0, 78, 130, 0.06);
  border: 1px solid var(--border-color);
  color: var(--primary);
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.ccg-tab-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 78, 130, 0.2);
}

/* 14. Split Contact Info & Map layout */
.ccg-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}
.ccg-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ccg-contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ccg-contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(0, 78, 130, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ccg-contact-item h5 {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.ccg-contact-item p {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}
.ccg-contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
  border: 1px solid var(--border-color);
  min-height: 400px;
}
.ccg-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 400px;
}

/* 15. Premium Disneyland Footer */
.ccg-footer {
  background: linear-gradient(180deg, var(--footer-bg, var(--bg-dark)) 0%, #04231a 100%);
  color: rgba(255, 255, 255, 0.62);
  padding: 70px 24px 34px;
  border-top: 3px solid var(--brown);
  position: relative;
}
/* Thin gold hairline above the brown border — quiet estate detail */
.ccg-footer::before {
  content: '';
  position: absolute; top: -6px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(198,154,85,.8), transparent);
}
.ccg-footer-inner {
  max-width: 1200px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.ccg-footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.ccg-footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: 20px;
}
/* Quick contact under the blurb */
.ccg-footer-contact {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ccg-footer-contact li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; }
.ccg-footer-contact li span { opacity: .8; }
.ccg-footer-contact a { color: rgba(255,255,255,.78); }
.ccg-footer-contact a:hover { color: var(--accent); }
/* Column headings with a short gold underline */
.ccg-footer-col h5 {
  font-size: 0.76rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}
.ccg-footer-col h5::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.ccg-footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.ccg-footer-col ul li {
  margin-bottom: 11px;
}
.ccg-footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color .2s ease, gap .2s ease, padding-left .2s ease;
}
/* Arrow slides in on hover */
.ccg-footer-col ul li a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  max-width: 0;
  overflow: hidden;
  transition: max-width .2s ease, margin-right .2s ease;
}
.ccg-footer-col ul li a:hover { color: #fff; }
.ccg-footer-col ul li a:hover::before { max-width: 12px; margin-right: 6px; }
.ccg-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.ccg-footer-bottom p {
  font-size: 0.78rem;
  margin: 0;
}
.ccg-social-links {
  display: flex;
  gap: 14px;
}
.ccg-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  color: var(--text-light);
  font-size: 0.88rem;
}
.ccg-social-links a:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
}
.ccg-social-links a svg { width: 17px; height: 17px; display: block; }

/* 16. Detail Modal Dialog Box Overlay */
#modalOverlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 34, 53, 0.7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
#modalOverlay.open {
  opacity: 1;
  pointer-events: auto;
}
.ccg-modal-box {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  max-width: 800px;
  width: 100%;
}
.ccg-modal-box.is-video { max-width: 1040px; } /* wider for video playback */
.ccg-modal-box {
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border-color);
}
#modalOverlay.open .ccg-modal-box {
  transform: scale(1);
}
.ccg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--bg-dark);
  display: grid;
  place-items: center;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition);
}
.ccg-modal-close:hover {
  background-color: var(--primary);
  color: var(--text-light);
}
.ccg-modal-hero {
  width: 100%;
  height: 320px;
}
.ccg-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ccg-modal-body {
  padding: 40px;
}
.ccg-modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 18px;
  color: var(--primary);
}
.ccg-modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 30px;
}
.ccg-modal-desc p {
  margin-bottom: 12px;
}
.ccg-modal-actions {
  display: flex;
  gap: 16px;
}
.ccg-modal-actions .ccg-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}
.ccg-modal-actions .ccg-btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* 17. Scroll-based Fade-in Revealer Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Admin-selectable scroll-in style (class set on <main>) — default = fade-up */
.anim-fade   .reveal { transform: none; }
.anim-zoom   .reveal { transform: scale(.92); }
.anim-slide  .reveal { transform: translateX(48px); }
.anim-none   .reveal { opacity: 1; transform: none; transition: none; }
.reveal.visible { transform: none; }

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

/* Pulse Animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 95, 70, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(6, 95, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 95, 70, 0); }
}

/* 18. Back to Directory Button */
.ccg-back-directory {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 9999;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.ccg-back-directory:hover {
  transform: translateY(-2px);
  background-color: var(--primary-hover);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* 18b. Background music player (bottom-left widget) — "Refined Estate" dark card */
.ccg-audio { position: fixed; left: 20px; bottom: 20px; z-index: 1200; font-family: inherit; }
/* Hidden while the cookie banner occupies the bottom of the screen */
.ccg-audio.is-waiting { display: none; }
/* Detail pages have a "back" pill at the same corner — lift the player above it */
body:has(.ccg-back-directory) .ccg-audio { bottom: 84px; }
.ccg-audio[hidden] { display: none; }
.ccg-audio-panel {
  width: 216px;
  background: linear-gradient(150deg, #0d4433 0%, #072b20 100%);
  border-radius: 18px; padding: 12px 12px 11px;
  box-shadow: 0 20px 50px rgba(3, 25, 17, .45), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  transform-origin: left bottom; transition: opacity .25s ease, transform .25s cubic-bezier(.2,.8,.3,1.2);
}
.ccg-audio.is-min .ccg-audio-panel { opacity: 0; transform: scale(.5); pointer-events: none; position: absolute; }

/* Collapsed bubble — a small vinyl-like disc in brand green (default state) */
.ccg-audio-bubble {
  display: none; width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: radial-gradient(circle at 32% 30%, #1d8a60, var(--primary) 70%);
  color: #fff; place-items: center; align-content: center; gap: 3px; position: relative;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 12px 30px rgba(3,25,17,.4);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ccg-audio-bubble:hover { transform: scale(1.1) rotate(-6deg); box-shadow: 0 16px 36px rgba(3,25,17,.5); }
.ccg-audio.is-min .ccg-audio-bubble { display: grid; }
.ccg-audio-note { width: 17px; height: 17px; display: block; }
/* While playing: the disc glows softly so it clearly reads as "music on" */
.ccg-audio.is-playing .ccg-audio-bubble { animation: ccgAudioGlow 2.2s ease-in-out infinite; }
@keyframes ccgAudioGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(3,25,17,.4), 0 0 0 0 rgba(198,154,85,.5); }
  50%      { box-shadow: 0 12px 30px rgba(3,25,17,.4), 0 0 0 9px rgba(198,154,85,0); }
}

/* First-time hint pill next to the bubble */
.ccg-audio-hint {
  position: absolute; left: 68px; bottom: 16px; white-space: nowrap;
  background: #0b3a2a; color: #fff; font-size: .76rem; font-weight: 600;
  padding: 9px 14px; border-radius: 30px; border: 1px solid rgba(198,154,85,.55);
  box-shadow: 0 10px 26px rgba(3,25,17,.35);
  opacity: 0; transform: translateX(-8px); transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.ccg-audio-hint.show { opacity: 1; transform: none; }
.ccg-audio-hint::before {
  content: ''; position: absolute; left: -11px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-right-color: #0b3a2a;
}
.ccg-audio:not(.is-min) .ccg-audio-hint { display: none; }

/* Header: eq + track meta + window controls */
.ccg-audio-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.ccg-audio-meta { flex: 1; min-width: 0; }
.ccg-audio-title { font-weight: 700; font-size: .82rem; color: #fff; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccg-audio-artist { font-size: .7rem; color: #d8b478; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccg-audio-artist:empty::before { content: 'Chee Chan Ambience'; color: rgba(255,255,255,.35); }
.ccg-audio-icon {
  width: 25px; height: 25px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.75);
  cursor: pointer; font-size: .8rem; line-height: 1; display: grid; place-items: center;
  transition: background .15s ease;
}
.ccg-audio-icon:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Transport row */
.ccg-audio-controls { display: flex; align-items: center; gap: 5px; }
.ccg-audio-controls button {
  border: none; background: transparent; color: rgba(255,255,255,.85);
  font-size: .85rem; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; transition: background .15s ease, transform .15s ease;
}
.ccg-audio-controls button:hover { background: rgba(255,255,255,.12); transform: scale(1.06); }
.ccg-audio-play {
  width: 38px !important; height: 38px !important; font-size: .95rem !important;
  background: linear-gradient(160deg, #e8c88a, #c69a55) !important; color: #143b2b !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.ccg-audio-play:hover { background: linear-gradient(160deg, #f0d49a, #d2a75f) !important; }
.ccg-audio-controls input[type=range] {
  flex: 1; min-width: 0; accent-color: #c69a55; height: 4px; cursor: pointer;
}

/* Equalizer bars — gold, animate only while playing */
.ccg-audio-eq { display: inline-flex; align-items: flex-end; gap: 2.5px; height: 20px; flex-shrink: 0; }
.ccg-audio-eq i { width: 3px; height: 6px; background: #c69a55; border-radius: 2px; transition: height .3s ease; }
.ccg-audio.is-playing .ccg-audio-eq i { animation: ccgEq .9s ease-in-out infinite; }
.ccg-audio-eq i:nth-child(2) { animation-delay: .2s; }
.ccg-audio-eq i:nth-child(3) { animation-delay: .4s; }
.ccg-audio-eq i:nth-child(4) { animation-delay: .1s; }
@keyframes ccgEq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
/* Mini equalizer inside the bubble — smaller travel so it fits the disc */
.ccg-audio-bubble .ccg-audio-eq { height: 9px; }
.ccg-audio-bubble .ccg-audio-eq i { background: #fff; width: 2.5px; height: 4px; }
.ccg-audio.is-playing .ccg-audio-bubble .ccg-audio-eq i { animation-name: ccgEqSm; }
@keyframes ccgEqSm { 0%, 100% { height: 3px; } 50% { height: 9px; } }

/* Close → hide-for-N-days prompt: its own tidy card that REPLACES the panel */
.ccg-audio.is-asking .ccg-audio-panel { opacity: 0; pointer-events: none; position: absolute; }
.ccg-audio-ask {
  position: relative; width: 246px;
  border-radius: 18px; padding: 20px 18px 14px;
  background: linear-gradient(150deg, #0d4433 0%, #072b20 100%);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 50px rgba(3, 25, 17, .45), inset 0 1px 0 rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  animation: ccgAskIn .25s cubic-bezier(.2,.8,.3,1.2);
}
@keyframes ccgAskIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.ccg-audio-ask[hidden] { display: none; }
.ccg-audio-ask-ic {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(198,154,85,.15); border: 1px solid rgba(198,154,85,.4); font-size: 1.1rem;
}
.ccg-audio-ask-q { margin: 0; line-height: 1.4; }
.ccg-audio-ask-q b { display: block; font-size: .88rem; color: #fff; font-weight: 700; }
.ccg-audio-ask-q span { display: block; font-size: .74rem; color: rgba(255,255,255,.6); margin-top: 3px; }
.ccg-audio-ask-btns { display: flex; gap: 7px; width: 100%; }
.ccg-audio-ask-btns button {
  flex: 1; border: 1px solid rgba(198,154,85,.65); background: rgba(198,154,85,.08); color: #e8c88a;
  border-radius: 12px; padding: 9px 4px; font-size: .8rem; font-weight: 700; cursor: pointer;
  font-family: inherit; white-space: nowrap; transition: all .15s ease;
}
.ccg-audio-ask-btns button:hover { background: linear-gradient(160deg, #e8c88a, #c69a55); border-color: transparent; color: #143b2b; transform: translateY(-1px); }
.ccg-audio-ask-cancel {
  border: none; background: none; color: rgba(255,255,255,.5); font-size: .72rem;
  cursor: pointer; font-family: inherit; padding: 4px 8px; border-radius: 8px;
}
.ccg-audio-ask-cancel:hover { color: #fff; background: rgba(255,255,255,.08); }

/* Reduced motion: keep a gentle opacity pulse so "music is playing" still shows */
@media (prefers-reduced-motion: reduce) {
  .ccg-audio.is-playing .ccg-audio-eq i { animation: ccgEqSoft 1.4s ease-in-out infinite; height: 10px; }
  .ccg-audio.is-playing .ccg-audio-bubble .ccg-audio-eq i { height: 7px; }
  .ccg-audio.is-playing .ccg-audio-bubble { animation: none; }
}
@keyframes ccgEqSoft { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@media (max-width: 560px) {
  .ccg-audio { left: 12px; bottom: 12px; }
  .ccg-audio-panel { width: 200px; padding: 11px 11px 10px; }
  .ccg-audio-bubble { width: 48px; height: 48px; }
}

/* 19. Responsive Layout Rules */
@media (max-width: 1024px) {
  .ccg-utility-bar {
    padding: 8px 24px;
  }
  #navbar {
    padding: 0 24px;
  }
  .ccg-booking-widget {
    padding: 24px;
  }
  .ccg-booking-form {
    grid-template-columns: 1fr 1fr;
  }
  .ccg-booking-form button {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .ccg-split {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .ccg-split-img-wrap {
    order: -1 !important;
  }
  .ccg-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ccg-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .ccg-utility-bar {
    display: none; /* Hide top utility bar on mobile for clean screen spacing */
  }
  #navbar {
    height: 70px;
  }
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 20px;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.15);
    transition: var(--transition);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    font-size: 1rem;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-book-btn {
    text-align: center;
    border-radius: 8px;
    margin-top: 10px;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .ccg-rates-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Footer on phones: brand block full-width, then link columns in 2-up grid */
  .ccg-footer { padding: 52px 22px 26px; }
  .ccg-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .ccg-footer-brand { grid-column: 1 / -1; text-align: center; }
  .ccg-footer-brand p { margin-left: auto; margin-right: auto; }
  .ccg-footer-brand .ccg-footer-logo { margin-left: auto; margin-right: auto; }
  .ccg-footer-contact { align-items: center; }
  .ccg-footer-brand .ccg-social-links { justify-content: center; }
  .ccg-footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .ccg-modal-actions {
    flex-direction: column;
  }
}
