/* ============================================================
   Catching Comfort — Christmas & New Year layer
   Keep or remove with festive.js. See README-FESTIVE.txt
   ============================================================ */
:root {
  --cc-festive-bar-h: 48px;
  --cc-evergreen: #1F3A31;
  --cc-evergreen-deep: #152822;
  --cc-berry: #7A2E32;
  --cc-berry-soft: #9A4548;
  --cc-gold: #B8962E;
  --cc-gold-light: #EDD9A3;
  --cc-cream: #F5F5F3;
}

/* Announcement bar */
.cc-festive-bar {
  position: sticky;
  top: 0;
  z-index: 260;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: var(--cc-festive-bar-h);
  padding: 10px 20px;
  box-sizing: border-box;
  background:
    linear-gradient(90deg, var(--cc-evergreen-deep), var(--cc-evergreen) 40%, #24382A 70%, var(--cc-evergreen-deep));
  color: var(--cc-gold-light);
  border-bottom: 1px solid rgba(184, 150, 46, 0.45);
  text-align: center;
  font-family: 'Jost', sans-serif;
}
.cc-festive-bar__mark {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cc-gold-light);
  border: 1px solid rgba(237, 217, 163, 0.4);
  padding: 3px 10px;
  white-space: nowrap;
}
.cc-festive-bar__text {
  font-family: 'Cormorant Garamond', 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: #F7F1E4;
}
.cc-festive-bar__text a,
.cc-festive-bar__link {
  color: var(--cc-gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: italic;
}
.cc-festive-bar__text a:hover,
.cc-festive-bar__link:hover {
  color: #fff;
}
body.cc-festive-newyear .cc-festive-bar {
  background:
    linear-gradient(90deg, #14110E, #1A2A24 35%, #1C1810 70%, #14110E);
}

/* Keep sticky site nav just below the bar */
body.cc-festive nav,
body.cc-festive .cc-nav,
body.cc-festive #navbar {
  top: var(--cc-festive-bar-h);
}

/* Snow canvas — never captures clicks */
#cc-festive-snow {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* Subtle heading sparkle */
body.cc-festive h1 em,
body.cc-festive .hero-title em {
  position: relative;
}
body.cc-festive h1 em::after,
body.cc-festive .hero-title em::after {
  content: "✦";
  display: inline-block;
  margin-left: 0.28em;
  font-style: normal;
  font-size: 0.42em;
  vertical-align: super;
  color: var(--cc-gold);
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.9;
}

/* Homepage gift-voucher badge */
.cc-festive-badge {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 6;
  width: 148px;
  text-align: center;
  text-decoration: none;
  color: var(--cc-gold-light);
  background: linear-gradient(180deg, #1F3A31 0%, #152822 100%);
  border: 1px solid var(--cc-gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  padding: 16px 12px 14px;
  transform: rotate(3deg);
}
.cc-festive-badge__kicker {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cc-gold);
  margin-bottom: 6px;
}
.cc-festive-badge__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.2;
  color: #F7F1E4;
  margin: 0 0 8px;
}
.cc-festive-badge__cta {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cc-gold-light);
  border-top: 1px solid rgba(184, 150, 46, 0.4);
  padding-top: 8px;
}
.cc-festive-badge:hover {
  transform: rotate(1deg) scale(1.03);
}
body.cc-festive-newyear .cc-festive-badge {
  background: linear-gradient(180deg, #1A1814 0%, #16120E 100%);
}
@media (max-width: 720px) {
  .cc-festive-badge {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
    padding-right: 64px;
    transform: none;
    box-sizing: border-box;
  }
  .cc-festive-badge:hover { transform: none; }
  .cc-festive-bar__mark { display: none; }
  .cc-festive-bar__text { font-size: 14px; }
}

/* Gift voucher page accents — no new offers, just atmosphere */
body.cc-festive-voucher .hero,
body.cc-festive-voucher .hero-inner {
  position: relative;
}
body.cc-festive-voucher .hero {
  background-image: linear-gradient(180deg, rgba(21, 40, 34, 0.16), transparent 60%);
}
body.cc-festive-voucher .selector-card,
body.cc-festive-voucher .summary-box {
  border-color: rgba(184, 150, 46, 0.55);
  box-shadow: 0 8px 30px rgba(31, 58, 49, 0.08);
}
body.cc-festive-voucher .tv-card.featured,
body.cc-festive-voucher .tv-card.selected {
  border-color: #B8962E;
}
body.cc-festive-voucher .section-eye::before {
  content: "✦ ";
  color: var(--cc-gold);
}
.cc-festive-voucher-note {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cc-gold);
  border: 1px solid rgba(184, 150, 46, 0.45);
  padding: 5px 12px;
}

@media (prefers-reduced-motion: reduce) {
  #cc-festive-snow { display: none !important; }
  .cc-festive-badge,
  .cc-festive-badge:hover {
    transform: none;
  }
}

/* ============================================================
   London illustrations — homepage hero + light inner-page strip
   ============================================================ */
.cc-festive-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.cc-festive-ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 24, 20, 0.45) 55%, rgba(12, 20, 18, 0.75) 100%);
  z-index: 2;
}
body.cc-festive-newyear .cc-festive-ground {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 32, 0.5) 55%, rgba(8, 12, 24, 0.82) 100%);
}
.cc-festive-skyline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 36%;
  min-height: 150px;
  z-index: 3;
}
.cc-festive-skyline svg { width: 100%; height: 100%; display: block; }
.cc-festive-lights {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 110px;
  z-index: 5;
}
.cc-festive-lights svg { width: 100%; height: 100%; display: block; overflow: visible; }
.cc-festive-bulb { transform-box: fill-box; transform-origin: center; animation: ccTwinkle 2.4s ease-in-out infinite; }
@keyframes ccTwinkle {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
.cc-festive-script {
  position: absolute;
  right: 48px;
  bottom: 22%;
  z-index: 5;
  font-family: "Great Vibes", "DM Serif Display", Georgia, cursive;
  font-size: clamp(26px, 3vw, 44px);
  font-style: italic;
  color: #F7F1E4;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 0 18px rgba(237,217,163,0.25);
  letter-spacing: 0.4px;
  text-align: right;
  line-height: 1.15;
  max-width: 42%;
  pointer-events: none;
}
.cc-festive-bus {
  position: absolute;
  right: 88px;
  bottom: 14px;
  width: 140px;
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.4));
  pointer-events: none;
}

/* Keep booking, title and stats above the illustration.
   Do not force the badge to position:absolute — on small screens it
   sits in the flow under the hero description. */
body.cc-festive-home .hero-content,
body.cc-festive-home .hero-widget { position: relative; z-index: 7; }
body.cc-festive-home .cc-festive-badge { z-index: 8; }
body.cc-festive-home .hero-stats { display: none; }
@media (min-width: 721px) {
  body.cc-festive-home .hero-content { padding: 20px 56px 28px; }
  body.cc-festive-home .hero-title { font-size: clamp(40px, 5.2vw, 68px); margin-bottom: 10px; }
  body.cc-festive-home .hero-desc { margin-bottom: 16px; }
  body.cc-festive-home .hero-eyebrow { margin-bottom: 12px; }
}

/* New Year night wash — overlay only, no photo filters */
body.cc-festive-newyear.cc-festive-home .hero-overlay {
  background:
    linear-gradient(180deg, rgba(8,14,32,0.72) 0%, rgba(12,18,40,0.5) 42%, rgba(10,16,28,0.28) 100%) !important;
}
body.cc-festive-newyear .cc-festive-bar {
  background: linear-gradient(90deg, #0C101C, #15202A 40%, #1A1610 75%, #0C101C);
}
.cc-festive-ny-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cc-festive-ny-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 46px;
  padding: 2px 8px 3px;
  border: 1px solid rgba(237,217,163,0.45);
  background: rgba(10,14,24,0.35);
}
.cc-festive-ny-num {
  font-family: "Cinzel", serif;
  font-size: 16px;
  letter-spacing: 2px;
  color: #EDD9A3;
  line-height: 1.15;
}
.cc-festive-ny-lbl {
  font-family: "Cinzel", serif;
  font-size: 7px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(247,241,228,0.7);
}
.cc-festive-ny-script {
  font-family: "Great Vibes", "DM Serif Display", Georgia, cursive;
  font-size: 24px;
  font-style: italic;
  color: #F7F1E4;
  margin-left: 8px;
  line-height: 1;
}

.cc-festive-fireworks { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.cc-festive-fw {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  animation: ccFw 2.8s ease-out infinite;
  will-change: transform, opacity;
}
.cc-festive-fw i {
  position: absolute;
  left: 50%; top: 50%;
  width: 2px;
  height: 34px;
  margin-left: -1px;
  margin-top: -34px;
  transform-origin: bottom center;
  background: linear-gradient(180deg, rgba(237,217,163,0), #EDD9A3 55%, rgba(184,150,46,0));
  border-radius: 2px;
}
.cc-festive-fw-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #F7F1E4;
  box-shadow: 0 0 16px 6px rgba(237,217,163,0.65);
}
@keyframes ccFw {
  0% { transform: scale(0.15); opacity: 0; }
  12% { opacity: 1; }
  70% { opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 0; }
}
.cc-festive-sparkle {
  position: absolute;
  width: 5px; height: 5px;
  background: #EDD9A3;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(237,217,163,0.65);
  animation: ccSpark 2.2s ease-in-out infinite;
  z-index: 5;
}
@keyframes ccSpark {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 0.95; transform: scale(1); }
}

/* Light strip on inner public pages */
.cc-festive-strip {
  position: relative;
  height: 84px;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 40, 34, 0.16) 100%);
  z-index: 1;
}
body.cc-festive-newyear .cc-festive-strip {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 32, 0.22) 100%);
}
.cc-festive-strip .cc-festive-skyline {
  position: absolute;
  height: 100%;
  min-height: 0;
  opacity: 0.9;
}
.cc-festive-strip .cc-festive-lights { display: none; }

@media (max-width: 720px) {
  body.cc-festive-home .hero-content { padding-bottom: 150px; }
  body.cc-festive-home .hero-stats { display: none; }
  .cc-festive-skyline { height: 120px; min-height: 110px; }
  .cc-festive-script {
    right: 16px;
    left: 16px;
    max-width: none;
    text-align: center;
    bottom: 88px;
    font-size: 24px;
    z-index: 5;
  }
  .cc-festive-bus { right: 12px; width: 92px; bottom: 8px; }
  .cc-festive-lights { height: 72px; }
  .cc-festive-ny-script { font-size: 20px; margin-left: 0; }
  .cc-festive-bar { min-height: auto; }
  /* Fireworks: fewer, smaller on small screens — CSS hides extras */
  .cc-festive-fw:nth-child(n+3) { display: none; }
  .cc-festive-sparkle:nth-child(n+8) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cc-festive-bulb,
  .cc-festive-fw,
  .cc-festive-sparkle { animation: none !important; opacity: 0.8; }
  .cc-festive-fw { transform: scale(0.85); }
}
