/* ==========================================================
   ROOT THEME VARIABLES — TOURNAMENT RED UI
   ========================================================== */
:root {
  --color-dark: #8b0f0f;
  --color-primary: #c62828;
  --color-secondary: #d84315;
  --color-light-bg: #ffffff;
  --color-bg: #ffebee;
  --color-fg: #222;

  --radius-card: 16px;
  --shadow-card: 0 6px 18px rgba(0,0,0,0.18);

  --transition-fast: .25s;
  --header-height: 120px;
}

/* ==========================================================
   GLOBAL RESET & BASE
   ========================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #fff4f4, #ffe6e6);
  color: var(--color-fg);
  line-height: 1.5;
}


img { max-width: 100%; height: auto; }

/* Ensure header sits flush at top with no unexpected spacing */
.site-header {
    margin: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

/* Main area must begin immediately after header */
main, #main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html, body {
  min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff; /* ensures no pink bleed */
}

/* Very visible keyboard ring */
*:focus-visible {
  outline: 3px solid #ffd700;
  outline-offset: 3px;
}


/* ==========================================================
    General HIGH CONTRAST MODE
========================================================== */
html[data-contrast="true"] * {
  color: #fff !important;
  background: #000 !important;
  border-color: #ffd700 !important;
}

/* ==========================================================
   LARGE TEXT MODE — ACCESSIBLE & CONSISTENT
========================================================== */
html[data-large="true"] {
  font-size: 125%;
}

html[data-large="true"] body {
  font-size: 1.25em;
}

html[data-large="true"] p {
  font-size: 1.25em;
  line-height: 1.8;
}

html[data-large="true"] h1 {
  font-size: 2.9rem;
}

html[data-large="true"] h2 {
  font-size: 2.3rem;
}

html[data-large="true"] h3 {
  font-size: 1.7rem;
}

html[data-large="true"] .nav-list a,
html[data-large="true"] button {
  font-size: 1.15em;
}

/* ==========================================================
Red    HEADER — TOURNAMENT STYLE
   ========================================================== */
.site-header {
  position: relative;
  top: 0; left: 0; right: 0;
  z-index: 9000;

  background: linear-gradient(90deg, var(--color-dark), var(--color-primary), var(--color-secondary));
  padding: 1.5rem 0;
  border-bottom: 6px solid var(--color-dark);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);

  transition: transform .3s ease;
}

.hide-header {
  transform: translateY(-100%);
}

.header-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand (logo + title) centered visually */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Make the logo aligned and slightly larger */
.brand .logo {
  height: 95px;  /* adjust here */
  width: auto;
  object-fit: contain;
}

/* Big bold site title */
.site-title {
  font-size: clamp(1.2rem, 4vw, 2.1rem); /* scales with screen size */
  font-weight: 900;        /* boldest */
  color: #ffffff;          /* white text */
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-shadow: 0 0 6px rgba(0,0,0,0.4);
    margin-bottom: .25rem; /* just added today */
  white-space: nowrap;     /* 🔥 ALWAYS keep on one line */
}

/* ==========================================================
   SPORT TOURNAMENT HEADINGS (H1 / H2 / H3)
   Bold • Premium • Red Theme • Accessible
========================================================== */
/* MAIN PAGE TITLES (H1) */
h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--color-dark);
/*   text-transform: uppercase; */
  margin-bottom: 1.5rem;
  padding-bottom: .4rem;
  position: relative;
  text-shadow: 0 0 6px rgba(0,0,0,0.14);
}

/* Tournament underline bar */
h1::after,
.page-title::after {
  content: "";
  width: 90px;
  height: 6px;
  background: linear-gradient(90deg, #c62828, #ea4335, #ff7043);
  border-radius: 4px;
  position: absolute;
  left: 0;
  bottom: -2px;
}

/* SECTION HEADERS (H2) */
h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  margin: 2rem 0 1rem 0;
    margin-bottom: 1.2rem; /* just added */
  text-shadow: 0 0 4px rgba(0,0,0,0.12);
/* /* text-transform: uppercase; */ */
}

h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  background: var(--color-secondary);
  margin-top: .3rem;
  border-radius: 4px;
}

/* CARD TITLES (H3 — Events + News Cards) */
h3 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: .6rem;
  color: #4b0000;
/*   text-transform: uppercase; */
}

/* Sporty shadow effect */
h3 {
  text-shadow: 0 0 3px rgba(0,0,0,0.15);
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  h1,
  .page-title {
    font-size: 1.9rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  h3 {
    font-size: 1.18rem;
  }
}

/* HIGH-CONTRAST MODE — Automatic Visibility */
html[data-contrast="true"] h1,
html[data-contrast="true"] h2,
html[data-contrast="true"] h3 {
  color: #ffd700 !important;
  text-shadow: none !important;
}

html[data-contrast="true"] h1::after,
html[data-contrast="true"] h2::after {
  background: #fff !important;
}

/* ==========================================================
   PARAGRAPH — Tournament Red Premium Style
   ========================================================== */
p {
  font-size: 1.05rem;               /* clean readable size */
  line-height: 1.65;                /* good spacing for long text */
  color: #3a0c0c;                   /* deep sport red/brown for body text */
  margin: 0 0 1.1rem 0;             /* consistent spacing below */
  font-weight: 450;                 /* slightly bold, high readability */
  letter-spacing: 0.2px;            /* subtle polish */
}

/* Paragraphs inside premium cards */
.card p,
.event-card p,
.home-news-item p,
.news-card p {
  color: #4a0e0e;                   /* slightly richer */
}

/* High contrast mode */
html[data-contrast="true"] p,
html[data-contrast="true"] .card p,
html[data-contrast="true"] .event-card p,
html[data-contrast="true"] .news-card p,
html[data-contrast="true"] .home-news-item p {
  color: #fff !important;
}

/* ==========================================================
   NAVIGATION BAR
   ========================================================== */
.site-nav {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: .4rem 0;
  border-bottom: 4px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 8000;
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 700;
    color: var(--color-dark); /* ensures icons always visible */
  display: flex;
  align-items: center;
  gap: .35rem;
  position: relative;
  padding: .45rem .6rem;
}

/* TOURNAMENT UNDERLINE EFFECT */
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-primary);
  transition: width .25s ease;
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after,
.nav-current::after {
  width: 100%;
}

/* ================================================
   REQUIRED NAV ICON 
================================================ */
.nav-icon {
  display: inline-flex;
    position: relative;
  align-items: center;
  justify-content: center;
  width: 1.4rem;    /* ensures space exists */
  height: 1.4rem;
  margin-right: .45rem;
  flex-shrink: 0;
}

/* --------------------------------------------------- */
/* UNIVERSAL SVG ICON STYLE (size, alignment)          */
/* --------------------------------------------------- */
.nav-icon svg {
  width: 1.4rem;
  height: 1.4rem;
    stroke-width: 2.2; /* thicker & sharper */
    fill: none;
    stroke: currentColor;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease, filter 0.25s ease;
    transform-style: preserve-3d;
}

/* --------------------------------------------------- */
/* TOURNAMENT COLOR PALETTE PER ICON                   */
/* --------------------------------------------------- */

#navHome .nav-icon { color: #7b2cbf; } /* purple home */
#navAbout .nav-icon { color: #1E88E5; } /* blue book */
 #navMedia .nav-icon { color: #222 !important;} /* black camera */
#navEvents .nav-icon { color: #FB8C00;} /* orange cricket bat */
#navNews .nav-icon { color: #6d6d6d; } /* grey newspaper */
#navDonate .nav-icon { color: #e53935; } /* red heart */
#navContact .nav-icon { color: #2ecc71; } /* green phone */

/* --------------------------------------------------- */
/* HOVER + FOCUS ANIMATION                             */
/* --------------------------------------------------- */
.nav-list a:hover .nav-icon svg,
.nav-list a:focus-visible .nav-icon svg {
  transform: translateY(-2px) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(255,215,0,0.9));
}

/* 3D tilt + glow on hover/focus */
.nav-icon:hover svg,
.nav-icon:focus-visible svg {
    transform: rotateX(14deg) rotateY(14deg) scale(1.15);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.45));
}

/* Ripple pulse on hover/focus */
.nav-icon:hover::after,
.nav-icon:focus-visible::after {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: currentColor;
    opacity: 0.15;
    animation: navRipple 0.6s ease-out;
}

/* keyframes for ripple effect on nav icons */
@keyframes navRipple {
    0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0.35; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* --------------------------------------------------- */
/* HIGH-CONTRAST MODE (auto switch colors)             */
/* --------------------------------------------------- */
html[data-contrast="true"] .nav-icon {
  color: #ffd700 !important;   /* Gold icons for visibility */
}

html[data-contrast="true"] .nav-icon svg {
  filter: none !important;
  transform: none !important;
}

/* ==========================================================
   NAV CURRENT PAGE (JAWS/ARIA + VISUAL)
========================================================== */
.nav-list a[aria-current="page"] {
  color: #5d0303 !important;
  font-weight: 900;
  background: rgba(198, 40, 40, 0.14);
  border-radius: 12px;
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.20) inset;
}

.nav-list a[aria-current="page"]::after {
  width: 100%;
  height: 4px;
  background: var(--color-primary);
}

.nav-list a[aria-current="page"] .nav-icon svg {
  transform: translateY(-1px) scale(1.08);
  filter: drop-shadow(0 0 6px rgba(198,40,40,0.55));
}

/* High contrast mode */
html[data-contrast="true"] .nav-list a[aria-current="page"] {
  background: #000 !important;
  color: #ffd700 !important;
  box-shadow: 0 0 0 2px #ffd700 inset !important;
}

html[data-contrast="true"] .nav-list a[aria-current="page"]::after {
  background: #ffd700 !important;
}


/* -------------------------------------------
   ACCESSIBLE HAM BURGER BUTTON
------------------------------------------- */

.hamburger {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.75rem;
  margin-left: auto;
  z-index: 10050;
}

/* Container for injected SVG */
.hamburger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
}

.hamburger-icon svg {
  display: block;
  background: transparent !important;
}

.hamburger.is-open svg {
  transform: rotate(20deg) scale(1.05);
}

/* Ball base */
.cricket-ball-svg {
  display: block;
  background: transparent !important;
  transition:
    transform 0.45s cubic-bezier(.4,0,.2,1),
    filter 0.35s ease;
}

/* Glow on hover + keyboard focus */
.hamburger:hover .cricket-ball-svg,
.hamburger:focus-visible .cricket-ball-svg {
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.85))
          drop-shadow(0 0 20px rgba(255,255,255,0.45));
}

/* Rotate when menu opens */
.hamburger.is-open .cricket-ball-svg {
  transform: rotate(180deg);
}

/* Press feedback (optional but nice) */
.hamburger:active .cricket-ball-svg {
  transform: scale(0.92);
}

/* Remove any legacy hamburger visuals */
.hamburger-line {
  display: none !important;
}

/* Show hamburger ONLY on small screens */
@media (max-width: 768px) {

  .hamburger {
    position: relative;
    margin: 0 auto;
    margin-top: 0.4rem;
    order: 3;
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-bottom: 4px solid var(--color-primary);

    transition: max-height .35s ease;
    z-index: 20000 !important;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-list a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
  }

/* Mobile nav visibility tied to aria-hidden for safety */
  #mainNav[aria-hidden="true"] {
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
  }

  #mainNav[aria-hidden="false"] {
    max-height: 420px;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
  }
}

/* ==========================================================
   LIGHTBOX — GLASS PANEL RIGHT SLIDE
   ========================================================== */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}

.image-lightbox.visible {
  opacity: 1;
  visibility: visible;
}

.image-lightbox-inner {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  max-width: 620px;
  height: 100vh;
  padding: 2rem;
  overflow-y: auto;

  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(22px);
  border-left: 4px solid var(--color-primary);

  transform: translateX(100%);
  transition: .35s ease;
}

.image-lightbox.visible .image-lightbox-inner {
  transform: translateX(0);
}

@media(max-width:768px){
  .image-lightbox-inner {
    width: 100%;
    height: 70vh;
    border-left: none;
    border-top: 4px solid var(--color-primary);
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
  }
  .image-lightbox.visible .image-lightbox-inner {
    transform: translateY(0);
  }
}

/* ==========================================================
   TOURNAMENT BUTTONS
   =================f========================================= */
.btn {
  background: linear-gradient(90deg, #c62828, #d84315);
  padding: .9rem 1.4rem;
  color: #fff;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(0,0,0,.25);
  transition: .2s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #b71c1c, #bf360c);
}

/* Base style for ALL header buttons */
.header-controls button {
  background: #ffffff;
  color: #6a0000;            /* deep red text to match theme */
  border: 2px solid #ffffff;
  padding: 0.45rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  white-space: nowrap;       /* prevent wrapping */
}

/* Hover + focus (premium glowing ring) */
.header-controls button:hover,
.header-controls button:focus-visible {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(255,255,255,0.65);
}

/* HIGH CONTRAST MODE */
html[data-contrast="true"] .header-controls button {
  background: #000 !important;
  color: #ffd700 !important;
  border: 2px solid #ffd700 !important;
}

/* Container for home icons */
.home-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;                   /* Even spacing */
  flex-wrap: wrap;            /* Wrap on very small screens */
}

/* Icon buttons */
.icon-btn {
  width: 70px;
  height: 70px;
  background: #ffffff15;      /* transparent white */
  border: 2px solid #ffffff55;
  border-radius: 50%;          /* round shape */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: visible; /* allow ripple outside */
  color: inherit;
  transition: all 0.25s ease;
  transform-style: preserve-3d;
  perspective: 600px;
}

/* 3D effect on icon */
.icon-btn:hover svg,
.icon-btn:focus-visible svg {
  transform: translateY(-4px) scale(1.12) rotateX(8deg);
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* shine the home icons */

.icon-btn::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -50%;
  width: 200%;
  height: 160%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(255, 255, 255, 0.0) 100%
  );
  opacity: 0;
  transform: translateX(-100%) rotate(15deg);
  transition: opacity 0.2s ease, transform 0.7s ease;
  pointer-events: none;
}

/* Trigger shine animation */
.icon-btn:hover::before,
.icon-btn:focus-visible::before {
  opacity: 1;
  transform: translateX(120%) rotate(15deg);
}

.icon-btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: currentColor;
  opacity: 0;
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
}

/* Trigger ripple on tap/click */
.icon-btn:active::after {
  opacity: 0.35;
  transform: scale(6);
  transition: transform 0.4s ease-out, opacity 0.45s ease-out;
}

/* Size + color of SVG icons */
.icon-btn svg {
  width: 38px;
  height: 38px;
   fill: none; /* keep original icon colours */ 
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
  transition: transform 0.2s ease, filter 0.25s ease;
}

#btnStory { color: #3D8BFF; }     /* Blue book */
#btnMedia { color: #00C2D9; }     /* Camera teal */
#btnDonate { color: #FF3355; }    /* Red heart */
#btnConnect { color: #00C851; }   /* Green phone */

/* glow effects of each icon */
/* BOOK (Our Story) — Blue glow */
#btnStory:hover svg,
#btnStory:focus-visible svg {
  filter: drop-shadow(0 0 8px rgba(0,120,255,0.8))
          drop-shadow(0 4px 10px rgba(0,75,180,0.5));
  transform: translateY(-3px) scale(1.1);
}

/* CAMERA (Media Hub) — Teal glow */
#btnMedia:hover svg,
#btnMedia:focus-visible svg {
  filter: drop-shadow(0 0 8px rgba(0,220,255,0.8))
          drop-shadow(0 4px 10px rgba(0,130,160,0.6));
  transform: translateY(-3px) scale(1.1);
}

/* HEART (Donate Today) — Red glow */
#btnDonate:hover svg,
#btnDonate:focus-visible svg {
  filter: drop-shadow(0 0 10px rgba(255,0,70,0.9))
          drop-shadow(0 4px 12px rgba(160,0,40,0.6));
  transform: translateY(-3px) scale(1.1);
}

/* Mail (Let’s Connect) — blue glow */
#btnConnect:hover svg,
#btnConnect:focus-visible svg {
  filter: drop-shadow(0 0 9px rgba(0,255,90,0.85))
          drop-shadow(0 4px 12px rgba(0,150,60,0.55));
  transform: translateY(-3px) scale(1.1);
}

/* Ensure row layout on mobile too */
@media (max-width: 600px) {
  .home-buttons {
    gap: 0.7rem;
  }

  .icon-btn {
    width: 60px;
    height: 60px;
  }

  .icon-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* Footer styling is in footer.css */


/* ==========================================================
   HIGH CONTRAST MODE
   ========================================================== */
html[data-contrast="true"] {
  --bg-color: #000;
  --fg-color: #fff;
}

html[data-contrast="true"],
html[data-contrast="true"] main {
  background: #000;
  color: #fff;
}

html[data-contrast="true"] .site-header,
html[data-contrast="true"] .site-nav,
html[data-contrast="true"] .site-footer {
  background: #000;
  border-color: #ffd700;
}

html[data-contrast="true"] .btn {
  background: #ffd700 !important;
  color: #000 !important;
}

html[data-contrast="true"] .card,
html[data-contrast="true"] .event-card,
html[data-contrast="true"] .home-news-item {
  background: #000;
  border: 2px solid #fff;
}

html[data-contrast="true"] h1,
html[data-contrast="true"] h2,
html[data-contrast="true"] h3 {
  color: #ffd700;
}

/* ============================================================
   TOURNAMENT RIPPLE EFFECT — Safe for WCAG 2.1
============================================================ */
.ripple {
  position: absolute;
  background: rgba(255, 215, 0, 0.35); /* gold ripple */
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-expand 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-expand {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* ----------------------------------------------
   Lightbox swipe animation (mobile-friendly)
---------------------------------------------- */
@keyframes lightboxSwipeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-30px); }
}

.slide-out {
  animation: lightboxSwipeOut 0.2s ease-out;
}

/* ==========================================================
   PAGE CONTENT LAYOUT FIX — Remove Excess Top Spacing
   ========================================================== */

/* All standard page sections (About, Events, News, Donate, Contact) */
.page-section,
.content-wrapper,
.container,
main section:first-of-type {
    margin-top: 0 !important;
    padding-top: 1.2rem !important; /* gentle spacing only */
}

/* ==========================================================
   GLOBAL CONTENT CONTAINER (LEFT / RIGHT GUTTERS)
   ========================================================== */
.container {
  max-width: 1200px;          /* readable line length */
  margin: 0 auto;          /* required for true centering */
  padding-inline: 0.75rem; /* professional gutter */
  box-sizing: border-box;      /* ✅ keeps padding predictable */
}

/* Make H1 appear correctly aligned (no large gap) */
.page-section h1,
.content-wrapper h1,
.container h1,
main h1:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Make paragraph follow nicely */
.page-section p,
.content-wrapper p,
.container p,
main p:first-of-type {
    margin-top: 0.4rem !important;
}

/* ============================
   CONTENT LIST — Premium Style
============================ */
.content-list {
   list-style: none;
  margin: 1.25rem 0;
  padding-left: 0;
  max-width: 900px;
}

.content-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;

  font-size: 1rem;
  line-height: 1.6;
  color: #3a0c0c;                   /* deep sport red/brown for body text */
}

/* Custom bullet */
.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: #c62828; /* Premium red */
  box-shadow: 0 0 0 3px rgba(198,40,40,0.25);
}

/* check mark list style */
.content-list.check li::before {
  content: "✓";
  width: auto;
  height: auto;
  top: 0.15em;

  color: #c62828;
  font-weight: 700;
  box-shadow: none;
}

/* check mark usage in html ul class:
<ul class="content-list check"> */

/* ==========================================================
   GLOBAL BODY LINK COLOR Darck Red (DEFAULT STATE)
   ========================================================== */

p a,
li a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================
CONTENT LINK HOVER — GREEN
========================================================== */
p a:hover,
p a:focus,
p a:focus-visible,
li a:hover,
li a:focus,
li a:focus-visible {
  color: #1E88E5;                /* clean accessible blue */
  font-weight: 700;
  text-decoration: underline;
}

/* email href link styling */
a[href^="mailto:"] {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* Email link hover / focus — premium blue */
a[href^="mailto:"]:hover,
a[href^="mailto:"]:focus,
a[href^="mailto:"]:focus-visible {
  color: #1E88E5;                /* clean accessible blue */
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.25s ease;
}

/* ==========================================================
   GOOGLE FORM EMBED 
========================================================== */

.form-section {
  padding: 2rem 0;
  margin-top: 1rem;
}

.form-container {
  max-width: 820px;        /* controls form width */
  margin: 0 auto;          /* centers form */
  padding: 0 1rem;         /* mobile side spacing */
/*  overflow: visible;         🔑 ensure no clipping */
}

.form-container iframe {
  width: 100%;
  min-height: 1200px;      /* prevents cutoff */
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .form-section {
    padding-top: 1rem;
  }

  .form-container {
    max-width: 100%;      /* 🔑 KEY FIX */
    width: 100%;
    padding: 0;           /* remove side squeeze */
  }

  .form-container iframe {
    width: 100%;
    min-height: 1600px; /* Google Forms needs more height on mobile */
  }
}

/* ====================================================================== */
/* FORCE DESKTOP NAV TO SHOW ALWAYS */
/* ====================================================================== */
@media (min-width: 769px) {
  .site-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .nav-list {
    flex-direction: row !important;
  }

  .hamburger {
    display: none !important;
  }
}

/* Skip link styling - currently commented out in html */
.skip-link {
  position: absolute;
  top: -40px;              /* Hidden off-screen until focus */
  left: 0;
  background: #ffffff;     /* WHITE background */
  color: #000000;          /* Black text for perfect contrast */
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  z-index: 9999;
  transition: top 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}
/* When keyboard users tab into it */
.skip-link:focus,
.skip-link:focus-visible {
  top: 10px;                               /* Slide into view */
  outline: 3px solid #ffd700;              /* Gold high-visibility focus ring */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);  /* Soft shadow */
}

/* HEADER MUST NEVER USE WHITE CONTAINER BACKGROUND */
.site-header .container {
  background: transparent !important;
}

/* ==========================================================
   MOBILE HEADER RE-ARCHITECTURE (NO OVERLAP)
   ========================================================== */
@media (max-width: 768px) {

  :root {
    --header-height: 0px;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .header-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .brand {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    gap: 0.4rem;
  }

  .brand .logo {
    height: 60px;
    width: auto;
  }

  .site-title {
    white-space: normal;     /* 🔑 allow wrapping */
    font-size: 1.3rem;
    line-height: 1.25;
    text-align: center;
  }

  /* Header controls row */
  .header-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center !important;
    gap: 0.4rem;
    margin-top: 0.3rem;
  }

  /* Control buttons */
  .header-controls button {
    font-size: 0.85rem;
    padding: 0.45rem 0.65rem;
    min-height: 40px;         /* WCAG touch target */
    white-space: normal;
    text-align: center;
  }

  /* Hamburger becomes its own row */
  .hamburger {
    display: block;
    margin-top: 0.4rem;
  }
}


/* for mobile browser to display site properly */
html {
  -webkit-text-size-adjust: 100%;
}

@media (pointer: coarse), (max-width: 768px) {
  .header-row {
    flex-direction: column !important;
    align-items: center !important;
  }

  .hamburger {
    display: block !important;
  }
}

/* end of mobile header. remove important from above if there is any problem in mobile header */
