/* ==========================================================================
   Destin Hot Yoga — Holiday Theme 2026 (preview v2)
   --------------------------------------------------------------------------
   Reversible overlay. Remove the <link rel="stylesheet" href="/assets/holiday-theme.css">
   from the homepage after the holidays to restore the regular studio palette.
   Decorative files live in /assets/holiday/ and are referenced only from this
   stylesheet (plus any clearly marked removable snippet in the HTML).

   This file does not change copy, prices, classes, or links.

   Palette
     Evergreen ............ #1E5631   (primary buttons, header band)
     Evergreen deep ....... #163F24   (button hover, header depth)
     Holiday red .......... #B3202A   (secondary accents, time labels)
     Holiday red (hover) .. #8E1A22
     Warm gold ............ #C4A15A   (trim, borders, lights)
     Cream gold ........... #F3DFB8
     Ivory ................ #FBF6EC
   ========================================================================== */

:root {
  --terracotta: #1E5631;
  --terracotta-hover: #163F24;
  --terracotta-soft: rgba(30, 86, 49, 0.14);
  --sage: #1E5631;
  --sage-dark: #163F24;
  --gold: #C4A15A;
  --gold-light: #F3DFB8;
}

/* --------------------------------------------------------------------------
   Top announcement bar — red-and-green holiday treatment, existing text kept
   -------------------------------------------------------------------------- */
#dhy-v2-root .vbm-strip {
  position: relative;
  background: #1E5631;
  color: #FBF6EC;
  border-bottom: 2px solid #C4A15A;
  box-shadow: inset 0 3px 0 #B3202A;
}

#dhy-v2-root .vbm-strip b {
  color: #F3DFB8;
}

#dhy-v2-root .vbm-strip a {
  background: #B3202A !important;
  color: #FFFFFF !important;
  border: 1px solid #F3DFB8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#dhy-v2-root .vbm-strip a:hover {
  background: #8E1A22 !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   String lights / garland hanging under the fixed header
   -------------------------------------------------------------------------- */
#dhy-v2-root header.navbar {
  border-bottom: 1px solid rgba(196, 161, 90, 0.35);
}

#dhy-v2-root header.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 30px;
  background: url("holiday/garland.svg") repeat-x center top / 200px 30px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

/* A little room so the hanging lights don't cover the hero eyebrow. */
#dhy-v2-root .hero {
  padding-top: 132px !important;
}

/* --------------------------------------------------------------------------
   Falling snow over the hero (CSS only; does not block clicks)
   -------------------------------------------------------------------------- */
#dhy-v2-root .hero::before,
#dhy-v2-root .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-repeat: repeat;
}

#dhy-v2-root .hero::before {
  background-image: url("holiday/snow-field-a.svg");
  background-size: 520px 900px;
  background-position: 0 0;
  opacity: 0.55;
  animation: dhy-holiday-snow-a 22s linear infinite;
}

#dhy-v2-root .hero::after {
  background-image: url("holiday/snow-field-b.svg");
  background-size: 480px 800px;
  background-position: 80px 40px;
  opacity: 0.4;
  animation: dhy-holiday-snow-b 34s linear infinite;
}

@keyframes dhy-holiday-snow-a {
  from { background-position: 0 0; }
  to   { background-position: 40px 900px; }
}

@keyframes dhy-holiday-snow-b {
  from { background-position: 80px 40px; }
  to   { background-position: -40px 840px; }
}

@media (prefers-reduced-motion: reduce) {
  #dhy-v2-root .hero::before,
  #dhy-v2-root .hero::after {
    animation: none;
    opacity: 0.32;
  }
}

/* Keep hero type above the snow and readable. */
#dhy-v2-root .hero-content {
  position: relative;
  z-index: 4;
}

#dhy-v2-root .hero h1,
#dhy-v2-root .hero .hero-sub,
#dhy-v2-root .hero-eyebrow,
#dhy-v2-root .hero-ctas {
  position: relative;
  z-index: 4;
}

/* --------------------------------------------------------------------------
   Primary buttons — evergreen with white text and gold trim
   (nav Book a Class, New Here CTA, schedule Book, active day tab)
   -------------------------------------------------------------------------- */
#dhy-v2-root .btn-terracotta,
#dhy-v2-root .sched-book,
#dhy-v2-root .nav-book-btn {
  background: #1E5631 !important;
  color: #FFFFFF !important;
  border: 1.5px solid #C4A15A !important;
  box-shadow: 0 8px 20px rgba(22, 63, 36, 0.35) !important;
}

#dhy-v2-root .btn-terracotta:hover,
#dhy-v2-root .sched-book:hover,
#dhy-v2-root .nav-book-btn:hover {
  background: #163F24 !important;
  color: #FFFFFF !important;
  border-color: #F3DFB8 !important;
}

#dhy-v2-root .hero-ctas .hero-primary-cta {
  box-shadow: 0 10px 28px rgba(22, 63, 36, 0.45) !important;
}

/* Gold outline buttons stay cream/gold so they read as secondary on the hero. */
#dhy-v2-root .btn-gold {
  border-color: rgba(196, 161, 90, 0.9) !important;
  color: #F3DFB8 !important;
}

#dhy-v2-root .btn-gold:hover {
  background: linear-gradient(135deg, #D4AA6A 0%, #C4A15A 100%) !important;
  color: #1E1916 !important;
  border-color: #F3DFB8 !important;
}

/* --------------------------------------------------------------------------
   Secondary accents — holiday red
   -------------------------------------------------------------------------- */
#dhy-v2-root .serif-title em,
#dhy-v2-root h2 em,
#dhy-v2-root h3 em {
  color: #B3202A !important;
}

#dhy-v2-root .eyebrow {
  color: #1E5631;
}

#dhy-v2-root .section-firsttime .eyebrow,
#dhy-v2-root .vacation-copy .eyebrow,
#dhy-v2-root .hero-eyebrow,
#dhy-v2-root .hero-eyebrow span {
  color: #F3DFB8 !important;
}

#dhy-v2-root .filter-tab.active,
#dhy-v2-root .filter-tab:hover {
  background: #B3202A !important;
  color: #FFFFFF !important;
  border-color: #C4A15A !important;
}

#dhy-v2-root .pillar-card.pillar-sage {
  border-top-color: #1E5631 !important;
}

#dhy-v2-root .pillar-card.pillar-gold {
  border-top-color: #C4A15A !important;
}

#dhy-v2-root .best-value-pill {
  background: #F3DFB8 !important;
  color: #1E1916 !important;
}

/* --------------------------------------------------------------------------
   Schedule — candy-stripe edge, evergreen header band, cream cards
   -------------------------------------------------------------------------- */
#dhy-v2-root .section-schedule {
  position: relative;
  padding: 12px 0 96px;
  background: #F6F0E6;
  border-top: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Subtle candy-stripe along the top of the section. */
#dhy-v2-root .section-schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    #B3202A 0 7px,
    #1E5631 7px 14px,
    #C4A15A 14px 18px
  );
}

/* Deep evergreen header band (full-bleed), with holly and a hanging ornament. */
#dhy-v2-root .section-schedule .sched-header {
  position: relative;
  z-index: 1;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  right: 50%;
  margin: 0 0 28px;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 36px max(120px, calc(50vw - 640px + 28px)) 38px;
  background:
    url("holiday/holly.svg") no-repeat left 18px top 16px / 68px auto,
    url("holiday/ornament.svg") no-repeat center top 2px / 24px auto,
    linear-gradient(180deg, #1E5631 0%, #163F24 100%);
  box-shadow: inset 0 -3px 0 #C4A15A;
  align-items: center;
  color: #FBF6EC;
}

#dhy-v2-root .section-schedule .eyebrow {
  color: #F3DFB8 !important;
}

#dhy-v2-root .section-schedule .serif-title,
#dhy-v2-root .section-schedule h2 {
  color: #FBF6EC !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

#dhy-v2-root .section-schedule .btn-outline-dark {
  background: transparent !important;
  color: #F3DFB8 !important;
  border: 1.5px solid #C4A15A !important;
}

#dhy-v2-root .section-schedule .btn-outline-dark:hover {
  background: #C4A15A !important;
  color: #1E1916 !important;
  border-color: #F3DFB8 !important;
}

/* Flipped holly on the right side of the green header band. */
#dhy-v2-root .section-schedule .sched-header::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 16px;
  width: 68px;
  height: 68px;
  background: url("holiday/holly.svg") no-repeat center / contain;
  transform: scaleX(-1);
  pointer-events: none;
}

/* Day tabs sit on the cream area so the evergreen active state stays visible. */
#dhy-v2-root .day-tab {
  background: #FBF6EC !important;
  color: #163F24 !important;
  border: 1px solid #C4A15A !important;
}

#dhy-v2-root .day-tab.active,
#dhy-v2-root .day-tab:hover {
  background: #1E5631 !important;
  color: #FFFFFF !important;
  border-color: #C4A15A !important;
  box-shadow: 0 6px 14px rgba(22, 63, 36, 0.28);
}

#dhy-v2-root .sched-list {
  background: #FBF6EC;
  border: 1px solid rgba(196, 161, 90, 0.55);
  box-shadow: 0 8px 24px rgba(22, 63, 36, 0.08), 0 1px 0 rgba(196, 161, 90, 0.4);
  border-radius: 8px;
  overflow: hidden;
}

#dhy-v2-root .sched-row {
  border-bottom-color: rgba(30, 86, 49, 0.10);
  background: #FBF6EC;
}

#dhy-v2-root .sched-row:hover {
  background: #FFFFFF;
}

#dhy-v2-root .sched-time {
  color: #B3202A;
  font-weight: 700;
}

#dhy-v2-root .sched-name {
  color: #163F24;
}

#dhy-v2-root .sched-badge {
  background: rgba(179, 32, 42, 0.12);
  color: #8E1A22;
}

/* --------------------------------------------------------------------------
   Mobile: keep holly/ornament from colliding with the title; tighter band
   -------------------------------------------------------------------------- */
@media (max-width: 699px) {
  #dhy-v2-root .section-schedule .sched-header {
    padding: 52px 24px 28px;
    background-image:
      url("holiday/holly.svg"),
      url("holiday/holly.svg"),
      linear-gradient(180deg, #1E5631 0%, #163F24 100%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left 8px top 8px, right 8px top 8px, 0 0;
    background-size: 40px auto, 40px auto, auto;
  }

  #dhy-v2-root .section-schedule .sched-header::after {
    width: 40px;
    height: 40px;
    top: 8px;
    right: 8px;
  }

  #dhy-v2-root header.navbar::after {
    background-size: 160px 24px;
    height: 24px;
    bottom: -18px;
  }

  #dhy-v2-root .hero {
    padding-top: 120px !important;
  }
}
