/* ============================================================
   Skerries RFC — Main Stylesheet
   Colors: Maroon #680000 + Gold #ffc50a
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --maroon:        #680000;
  --maroon-dark:   #4a0000;
  --maroon-light:  #8a1515;
  --gold:          #ffc50a;
  --gold-dark:     #d4a500;
  --gold-light:    #ffe082;
  --white:         #ffffff;
  --off-white:     #f8f7f4;
  --light:         #f0eeeb;
  --border:        #e0dbd3;
  --text:          #2c2c2c;
  --text-muted:    #6b6b6b;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.18);
  --radius:        8px;
  --radius-lg:     16px;
  --transition:    all 0.3s ease;
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Open Sans', sans-serif;
  --nav-h:         72px;
  --max-w:         1200px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--maroon-light); }
ul { list-style: none; }
button, input, select, textarea { font-family: var(--font-body); }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--maroon);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout Utilities ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--alt { background: var(--off-white); }
.text-center { text-align: center; }
.text-white  { color: var(--white); }

.section-header {
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }
.section-header .divider {
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem 0 1rem;
}
.text-center .divider { margin: 0.75rem auto 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn--primary {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--maroon);
}
.btn--maroon {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.btn--maroon:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.8rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--maroon);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(104,0,0,0.4);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.navbar__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}
.navbar__brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.navbar__brand-text span { display: block; font-weight: 400; font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.navbar__links a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.navbar__shop {
  background: var(--gold) !important;
  color: var(--maroon-dark) !important;
  border-radius: var(--radius) !important;
}
.navbar__shop:hover {
  background: var(--gold-dark) !important;
  color: var(--maroon-dark) !important;
}
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; }
.navbar__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Dropdown nav */
.navbar__dropdown {
  position: relative;
}
.navbar__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius);
  border: none;
  background: none;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar__dropdown-toggle:hover,
.navbar__dropdown.open .navbar__dropdown-toggle {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}
.navbar__dropdown-toggle .fa-chevron-down {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}
.navbar__dropdown.open .navbar__dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}
.navbar__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--maroon-dark);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  z-index: 200;
}
.navbar__dropdown.open .navbar__dropdown-menu {
  display: block;
}
.navbar__dropdown-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: rgba(255,255,255,0.85) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0 !important;
  transition: var(--transition);
}
.navbar__dropdown-menu a:hover,
.navbar__dropdown-menu a.active {
  background: rgba(255,255,255,0.12) !important;
  color: var(--white) !important;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: var(--maroon-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.80;
  transform: scale(1.02);
  transition: opacity 1s ease;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(104,0,0,0.50) 0%, rgba(74,0,0,0.35) 50%, rgba(0,0,0,0.20) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}
.hero__badge {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Next match strip inside hero */
.hero__match-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  border-top: 2px solid var(--gold);
  padding: 1rem 0;
  z-index: 3;
}
.match-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.match-strip-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.match-strip-teams {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.match-team {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.match-vs {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--gold);
  font-size: 0.9rem;
}
.match-meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  gap: 1.25rem;
}
.match-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ============================================================
   MATCH TICKER BAR
   ============================================================ */
.match-bar {
  background: var(--maroon);
  padding: 0.8rem 0;
  border-bottom: 3px solid var(--gold);
}
.match-bar .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.match-bar__item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.match-bar__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.match-bar__teams {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.match-bar__score {
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.match-bar__date {
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.news-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light);
  position: relative;
}
.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.05); }
.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}
.news-card__category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.news-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* When category label is inside body (no image), render it inline */
.news-card__body > .news-card__category {
  position: static;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}
.news-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.news-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color var(--transition);
}
.news-card:hover .news-card__title { color: var(--maroon); }
.news-card__excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}
.news-card__link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.news-card__link:hover { color: var(--gold-dark); }
.news-card__link::after { content: '→'; transition: transform 0.2s; }
.news-card:hover .news-card__link::after { transform: translateX(4px); }

/* ============================================================
   FIXTURES
   ============================================================ */
.fixtures-list { display: flex; flex-direction: column; gap: 0.75rem; }
.fixture-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: grid;
  grid-template-columns: 130px 1fr auto 1fr 120px;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}
.fixture-row:hover { box-shadow: var(--shadow-sm); border-color: var(--maroon); }
.fixture-row__date {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}
.fixture-row__date strong { display: block; color: var(--text); font-size: 1.05rem; }
.fixture-row__team {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.fixture-row__team--home { text-align: right; }
.fixture-row__team--skerries { color: var(--maroon); }
.fixture-row__vs {
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.fixture-row__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
}
.fixture-row__score span { width: 36px; text-align: center; }
.fixture-row__score .score-sep { font-size: 1rem; color: var(--text-muted); }
.fixture-row__comp {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge--win    { background: #d4edda; color: #155724; }
.badge--loss   { background: #f8d7da; color: #721c24; }
.badge--draw   { background: #fff3cd; color: #856404; }
.badge--upcoming { background: var(--light); color: var(--text-muted); }
.badge--postponed { background: #e2e3e5; color: #383d41; }

/* ============================================================
   TEAMS
   ============================================================ */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 3rem;
}
.team-card__image img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 1.5rem; }
.team-card__category {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 0.4rem;
}
.team-card__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--maroon);
  margin-bottom: 0.5rem;
}
.team-card__desc { font-size: 0.88rem; color: var(--text-muted); }
.team-card__meta { margin-top: 1rem; font-size: 0.82rem; color: var(--text-muted); }
.team-card__meta strong { color: var(--text); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(104,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-height: 85vh; max-width: 90vw; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.3); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.3); }
.lightbox__prev { left: 1.5rem; }
.lightbox__next { right: 1.5rem; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-split__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: var(--light);
}
.about-split__image img { width: 100%; height: 100%; object-fit: cover; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.stat-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border-left: 4px solid var(--gold);
}
.stat-box__number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--maroon);
  line-height: 1;
}
.stat-box__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: var(--maroon);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail__text strong { display: block; font-family: var(--font-heading); font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.contact-detail__text span { color: var(--text-muted); font-size: 0.9rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: 0.5rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--maroon); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Alert messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.alert--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert--error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert--info    { background: #cce5ff; color: #004085; border-left: 4px solid #0066cc; }

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-strip {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.sponsors-strip h4 {
  text-align: center;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.sponsors-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.sponsors-logos img {
  height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: var(--transition);
}
.sponsors-logos img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-col p { font-size: 0.88rem; line-height: 1.7; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-brand { margin-bottom: 1rem; }
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-brand-sub { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.social-links a:hover { background: var(--gold); color: var(--maroon-dark); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p  { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--gold); font-size: 0.82rem; font-weight: 600; }
.breadcrumb span { color: rgba(255,255,255,0.45); font-size: 0.78rem; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16/7;
}
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.post-header { margin-bottom: 2rem; }
.post-category-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.post-header h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }
.post-meta { display: flex; align-items: center; gap: 1.25rem; color: var(--text-muted); font-size: 0.84rem; flex-wrap: wrap; }
.post-content { font-size: 1.02rem; line-height: 1.85; color: #3a3a3a; }
.post-content h2, .post-content h3 { margin: 2rem 0 1rem; }
.post-content p  { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow-md); }
.post-content blockquote {
  border-left: 4px solid var(--gold);
  background: var(--off-white);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maroon);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.pagination a:hover { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.pagination .current { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

/* ============================================================
   TABS (Fixtures page)
   ============================================================ */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab-btn {
  padding: 0.6rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--maroon); color: var(--maroon); }
.tab-btn.active { background: var(--maroon); color: var(--white); border-color: var(--maroon); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ============================================================
   MAP (Contact page)
   ============================================================ */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}
.map-embed iframe { width: 100%; height: 320px; border: none; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split__image { aspect-ratio: 16/7; }
  .post-layout { grid-template-columns: 1fr; }
  .fixture-row { grid-template-columns: 100px 1fr auto 1fr; }
  .fixture-row__comp { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--maroon-dark); padding: 1rem; gap: 0.25rem; border-top: 2px solid var(--gold); z-index: 999; }
  .navbar__links.open { display: flex; }
  .navbar__links a { padding: 0.75rem 1rem; border-radius: var(--radius); width: 100%; }
  .navbar__toggle { display: flex; }
  .navbar__dropdown { width: 100%; }
  .navbar__dropdown-toggle { width: 100%; justify-content: space-between; padding: 0.75rem 1rem; }
  .navbar__dropdown-menu { position: static; box-shadow: none; border: none; border-radius: 0; background: rgba(0,0,0,0.25); margin-top: 0.25rem; }
  .navbar__dropdown-menu a { padding: 0.6rem 1rem 0.6rem 1.75rem; }
  .navbar { position: relative; }
  .news-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .hero h1 { font-size: 2.25rem; }
  .fixture-row { grid-template-columns: 1fr; text-align: center; }
  .fixture-row__team--home { text-align: center; }
  .match-bar .container { flex-direction: column; gap: 0.75rem; }
}

@media (max-width: 480px) {
  .teams-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .navbar, .footer, .hero__match-strip, .match-bar { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}

/* ============================================================
   CENTENARY
   ============================================================ */
.centenary-hero {
  background: linear-gradient(135deg, #1a0000 0%, var(--maroon) 50%, #3d0000 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.centenary-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,197,10,0.12) 0%, transparent 70%);
}
.centenary-hero__badge {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  padding: 0.4rem 1.5rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.centenary-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.centenary-hero p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* Timeline */
.timeline { position: relative; max-width: 720px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--maroon));
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 83px;
  top: 0.6rem;
  width: 16px;
  height: 16px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--maroon);
}
.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--maroon);
  padding-top: 0.25rem;
  text-align: right;
  padding-right: 1rem;
}
.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--maroon);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.timeline-content h4 { color: var(--maroon); margin-bottom: 0.5rem; font-size: 1rem; }
.timeline-content p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Centenary submission form */
.centenary-form { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; }
.centenary-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.centenary-form__group { margin-bottom: 1.25rem; }
.centenary-form__group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.centenary-form__group input[type="text"],
.centenary-form__group input[type="email"],
.centenary-form__group input[type="number"],
.centenary-form__group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.centenary-form__group input:focus,
.centenary-form__group textarea:focus { border-color: var(--maroon); }
.centenary-form__group textarea { min-height: 120px; resize: vertical; }
.centenary-form__captcha { background: var(--off-white); border-radius: var(--radius); padding: 1rem 1.25rem; }

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.membership-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.membership-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.membership-card__icon {
  font-size: 2rem;
  color: var(--maroon);
  margin-bottom: 1rem;
}
.membership-card h3 { color: var(--maroon); margin-bottom: 0.4rem; font-size: 1.15rem; }
.membership-price { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--maroon); margin-bottom: 0.75rem; }
.membership-card p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.membership-list { list-style: none; padding: 0; }
.membership-list li { font-size: 0.88rem; color: var(--text); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.membership-list li i { color: var(--maroon); font-size: 0.75rem; flex-shrink: 0; }

/* Join CTA box */
.join-cta { background: linear-gradient(135deg, var(--maroon-dark), var(--maroon)); border-radius: var(--radius-lg); overflow: hidden; }
.join-cta__inner { padding: 3rem 2rem; text-align: center; color: var(--white); }
.join-cta__inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.join-cta__inner p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }

/* Info boxes */
.info-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.info-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.info-box h3 { color: var(--maroon); font-size: 1rem; margin-bottom: 0.75rem; }
.info-box p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Buttons */
.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--maroon-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary-large:hover { background: var(--gold-dark); color: var(--maroon-dark); transform: translateY(-2px); }
.btn-outline-large {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-outline-large:hover { border-color: var(--white); color: var(--white); }

/* Data card */
.data-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Main content wrapper */
.main-content { padding: 4rem 0; }

/* ============================================================
   SPONSORS PAGE
   ============================================================ */
.sponsors-page-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.sponsor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sponsor-card img { max-height: 60px; max-width: 160px; width: auto; object-fit: contain; margin: 0 auto; }
.sponsor-card__name { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ============================================================
   INSTAGRAM STRIP
   ============================================================ */
.instagram-strip {
  background: var(--maroon-dark);
  padding: 2.5rem 0;
}
.instagram-strip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.instagram-strip__header h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.instagram-strip__header h4 i { color: var(--gold); margin-right: 0.5rem; }
.instagram-strip__handle {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.instagram-strip__handle:hover { color: var(--white); }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0.5rem;
}
.instagram-grid__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.instagram-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.instagram-grid__item:hover img { transform: scale(1.08); }

/* Navbar centenary highlight */
.navbar__centenary {
  color: var(--gold) !important;
  font-weight: 700 !important;
}
.navbar__centenary:hover { color: var(--gold-light) !important; }

/* ============================================================
   RESPONSIVE (additions)
   ============================================================ */
@media (max-width: 1100px) {
  .sponsors-page-grid { grid-template-columns: repeat(4, 1fr); }
  .membership-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 900px) {
  .info-boxes { grid-template-columns: 1fr; }
  .sponsors-page-grid { grid-template-columns: repeat(3, 1fr); }
  .centenary-form__row { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .membership-grid { grid-template-columns: 1fr; }
  .sponsors-page-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 60px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 1.25rem; }
  .timeline-item::after { left: 53px; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); }
}
