/* =============================================================
   Beach Vibes Volleyball — Front-end overrides
   These styles supplement theme.json — for things that can't be
   expressed there (block style variations, custom classes used
   inside patterns, hover states, sticky nav, hero overlay, etc).
   ============================================================= */

/* ---- Block style: Card ---- */
.is-style-bvv-card {
  background: #FFFFFF !important;
  border-radius: 32px !important;
  padding: 32px 28px !important;
  box-shadow: 0 14px 32px rgba(0,24,24,0.14);
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.is-style-bvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,24,24,0.18);
}

/* ---- Block style: Dark Section ---- */
.is-style-bvv-dark-section {
  background: #001818 !important;
  color: #FFF0D8 !important;
  border-radius: 32px !important;
  padding: 48px 40px !important;
}
.is-style-bvv-dark-section :where(h1,h2,h3,h4,h5,h6) { color: #FFF0D8; }

/* ---- Block style: Script paragraph ---- */
.is-style-bvv-script {
  font-family: "Caveat", "Bradley Hand", cursive !important;
  font-weight: 700 !important;
  font-size: clamp(28px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  color: #30A8A8 !important;
}

/* ---- Block style: Eyebrow ---- */
.is-style-bvv-eyebrow {
  font-family: "Archivo", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #006078 !important;
  margin-bottom: 8px !important;
}

/* ---- Block style: Pills ---- */
.is-style-bvv-pill-teal,
.is-style-bvv-pill-orange {
  display: inline-block !important;
  font-family: "Archivo", sans-serif !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  margin: 0 8px 0 0 !important;
}
.is-style-bvv-pill-teal   { background: #30A8A8 !important; }
.is-style-bvv-pill-orange { background: #FF7800 !important; }

/* ---- Button variations ---- */
.wp-block-button.is-style-bvv-secondary .wp-block-button__link {
  background-color: #30A8A8 !important;
  color: #FFFFFF !important;
}
.wp-block-button.is-style-bvv-secondary .wp-block-button__link:hover {
  background-color: #1A8888 !important;
}
.wp-block-button.is-style-bvv-ghost .wp-block-button__link {
  background-color: transparent !important;
  color: #001818 !important;
  border: 2px solid #001818 !important;
}
.wp-block-button.is-style-bvv-ghost .wp-block-button__link:hover {
  background-color: #001818 !important;
  color: #FFF0D8 !important;
}
.wp-block-button__link {
  transition: transform .14s cubic-bezier(.34,1.56,.64,1), background-color .14s, box-shadow .14s;
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255,120,0,0.30);
}

/* ---- Header / sticky nav ---- */
.wp-block-template-part[data-area="header"],
header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 240, 216, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,24,24,0.10);
}

/* ---- Site logo + title cluster ---- */
.wp-block-site-logo img { width: 44px; height: 44px; }
.wp-block-site-title a { color: #001818; text-decoration: none; }

/* ---- Navigation ---- */
.wp-block-navigation .wp-block-navigation-item__content {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #001818;
}
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  color: #FF7800;
}

/* ---- Hero sun-and-photo background ---- */
.bvv-hero {
  position: relative;
  min-height: 720px;
  background:
    linear-gradient(180deg, rgba(0,24,24,.10), rgba(0,24,24,.55)),
    url('https://images.unsplash.com/photo-1612872087720-bb876e2e67d1?w=1920&q=80') center/cover;
  color: #FFFFFF;
}
.bvv-hero :where(h1,h2,h3,p) { color: inherit; }
.bvv-hero .has-sunset-500-color { color: #FF7800 !important; }
.bvv-hero .has-ocean-300-color  { color: #5FBCB9 !important; }

/* ---- Stats strip ---- */
.bvv-stats {
  background: #FF7800;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.bvv-stats > * {
  padding: 56px 32px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.bvv-stats > *:last-child { border-right: 0; }
.bvv-stats .bvv-stat-num {
  font-family: "Anton", sans-serif;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
}
.bvv-stats .bvv-stat-lbl {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 8px 0 0;
  opacity: 0.9;
}

/* ---- Schedule rows ---- */
.bvv-match {
  display: grid;
  grid-template-columns: 100px 1fr auto 1fr 100px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 240, 216, .14);
  gap: 20px;
}
.bvv-match .when {
  font-family: "Archivo", sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFAA52;
  margin: 0;
}
.bvv-match .team {
  font-family: "Archivo Black", sans-serif;
  font-size: 22px; line-height: 1;
  margin: 0;
}
.bvv-match .team.right { text-align: right; }
.bvv-match .vs {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  color: #5FBCB9;
  margin: 0;
}
.bvv-match .court {
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: #7A8C92;
  margin: 0;
}

/* ---- FAQ list (Details/summary) ---- */
.bvv-faq details {
  border-top: 1px solid rgba(0,24,24,0.10);
  padding: 20px 0;
}
.bvv-faq details:last-of-type { border-bottom: 1px solid rgba(0,24,24,0.10); }
.bvv-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: "Archivo Black", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #001818;
  display: flex; justify-content: space-between; align-items: center;
}
.bvv-faq summary::-webkit-details-marker { display: none; }
.bvv-faq summary::after {
  content: "+";
  font-family: "Anton", sans-serif;
  font-size: 32px;
  color: #FF7800;
  transition: transform .2s ease;
}
.bvv-faq details[open] summary::after { transform: rotate(45deg); }
.bvv-faq details p {
  margin: 12px 0 0;
  color: #2E454C;
  max-width: 70ch;
}

/* ---- Footer treatment ---- */
.wp-block-template-part[data-area="footer"] {
  background: #001818;
  color: #FFF0D8;
}
.wp-block-template-part[data-area="footer"] :where(a) {
  color: #FFF0D8;
  text-decoration: none;
  opacity: .85;
}
.wp-block-template-part[data-area="footer"] :where(a):hover {
  color: #FF7800;
  opacity: 1;
}
.wp-block-template-part[data-area="footer"] h5 {
  color: #FFAA52;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .bvv-stats { grid-template-columns: 1fr 1fr; }
  .bvv-match { grid-template-columns: 1fr; text-align: left; gap: 4px; }
  .bvv-match .team.right { text-align: left; }
  .bvv-match .court { text-align: left; }
}
