/* ============================================
   Hokianga Community Gym - Stylesheet
   Light theme with Māori design accents
   ============================================ */

/* CSS Variables */
:root {
  /* Logo colors */
  --gold: #C9A227;
  --gold-dark: #7B6114;
  --gold-light: #E8D48A;

  /* Tino Rangatiratanga accents */
  --tino-black: #1A1A1A;
  --tino-white: #FFFFFF;
  --tino-red: #D42A2A;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-dark: #1A1A1A;

  /* Text */
  --text-dark: #1A1A1A;
  --text-muted: #6C757D;
  --text-light: #FFFFFF;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.75rem;
  --font-size-3xl: 2.25rem;
  --line-height: 1.6;

  /* Sizing */
  --btn-min-height: 40px;
  --touch-target: 40px;

  /* Enhanced shadows for modern depth */
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Gradient backgrounds */
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  --gradient-dark: linear-gradient(135deg, var(--bg-dark) 0%, #2D2D2D 100%);
  --gradient-red: linear-gradient(135deg, var(--tino-red) 0%, #B82222 100%);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: var(--line-height);
  color: var(--text-dark);
  background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

p {
  margin-bottom: var(--spacing-sm);
}

a {
  color: var(--gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--tino-red);
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
  background-color: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 80px;
  width: auto;
  transition: height var(--transition-fast);
}

.logo-text {
  color: var(--text-light);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* Navigation */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-sm);
}

.nav-menu a {
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background-color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: var(--gold);
  color: var(--text-dark);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--spacing-xs);
  min-width: var(--touch-target);
  min-height: var(--touch-target);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Header phone CTA */
.header-phone {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--gold);
  font-weight: 600;
  font-size: var(--font-size-lg);
}

.header-phone svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    flex-direction: column;
    padding: var(--spacing-sm);
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: var(--spacing-sm);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .header-phone {
    display: none;
  }

  .logo-text {
    display: none;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: var(--container-narrow);
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: var(--font-size-xl);
  color: var(--gold-light);
  margin-bottom: var(--spacing-md);
  font-style: italic;
}

.hero p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  min-height: var(--btn-min-height);
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary,
a.btn-primary,
a.btn-primary:hover {
  background-color: var(--tino-red);
  color: var(--text-light);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background-color: var(--gold);
  color: var(--text-dark);
}

.btn-large {
  font-size: var(--font-size-lg);
  padding: 0.75rem 1.5rem;
}

/* ============================================
   Sections
   ============================================ */
section {
  padding: var(--spacing-xl) 0;
}

/* Offset for sticky header when scrolling to anchors */
section[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   Funders Logo Banner
   ============================================ */
.funders-banner {
  background: var(--bg-white);
  padding: var(--spacing-md) 0 var(--spacing-sm);
  overflow: hidden;
}

.funders-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
}

.funders-track-wrapper {
  overflow: hidden;
  position: relative;
}

.funders-track-wrapper::before,
.funders-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 1;
  pointer-events: none;
}

.funders-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-white), transparent);
}

.funders-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-white), transparent);
}

.funders-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
  will-change: transform;
}

.funders-track:hover {
  animation-play-state: paused;
}

.funders-track img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.85;
  transition: opacity 0.3s, filter 0.3s;
}

.funders-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   Members Banner
   ============================================ */
.members-banner {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-sm) 0;
  text-align: center;
  font-size: 0.95rem;
}

.members-banner a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.members-banner a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ============================================
   Facilities Grid
   ============================================ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto;
}

.facility-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.facility-card h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-dark);
}

.facility-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-sm);
}

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

.facility-icon-red {
  background: var(--tino-red);
}

.facility-icon-dark {
  background: var(--tino-black);
}

.facility-icon-green {
  background: #2D8A4E;
}

.facility-icon-gold {
  background: var(--gold-dark);
}

.section-light {
  background-color: var(--bg-white);
}

.section-gray {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

/* Māori accent - red underline on headings */
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--tino-red);
  border-radius: 2px;
}

.section-dark .section-header h2 {
  color: var(--text-light);
}

.section-dark a {
  color: var(--gold);
}

/* ============================================
   Cards
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--spacing-md);
}

.card-content h3 {
  margin-bottom: var(--spacing-xs);
}

/* Māori accent - red left border on cards */
.card-accent {
  border-left: 4px solid var(--tino-red);
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  text-align: center;
  border-top: 4px solid var(--gold);
}

.pricing-card.featured {
  position: relative;
  z-index: 1;
}

.pricing-card h3 {
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

.pricing-card .price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: var(--spacing-xs);
}

.pricing-card .period {
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: var(--spacing-md);
  text-align: left;
}

.pricing-card li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--bg-light);
}

/* li::before styled in Enhanced Pricing Cards section below */

.how-to-join {
  background-color: var(--bg-white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  margin: 0 auto var(--spacing-lg);
}

/* ============================================
   Classes/Schedule
   ============================================ */
.schedule-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  border-left: 4px solid var(--tino-red);
}

.schedule-card h3 {
  color: var(--gold-dark);
  margin-bottom: var(--spacing-sm);
}

.schedule-time {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
}

.schedule-time svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

/* ============================================
   Facilities List
   ============================================ */
.facilities-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-sm);
  list-style: none;
}

.facilities-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
}

.facilities-list li::before {
  content: '●';
  color: var(--gold);
  font-size: 0.75rem;
}

/* ============================================
   Image Gallery
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Contact/Location
   ============================================ */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--text-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-md);
  display: block;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  text-align: center;
  color: var(--text-muted);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 2px solid var(--bg-light);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Honeypot field - hidden from users */
.hidden-field {
  display: none;
}

/* ============================================
   Footer
   ============================================ */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-lg);
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
}

.footer-section a {
  color: var(--text-light);
  opacity: 0.8;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.footer-bottom a {
  color: var(--gold);
}

.footer-credit {
  margin-top: var(--spacing-sm);
}

.footer-credit img {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-credit img:hover {
  opacity: 1;
}


/* ============================================
   Placeholder Styles
   ============================================ */
.placeholder {
  background-color: var(--bg-light);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}

.placeholder-inline {
  background-color: var(--gold-light);
  color: var(--gold-dark);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.text-gold {
  color: var(--gold);
}

.text-red {
  color: var(--tino-red);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--text-dark);
  padding: 8px 16px;
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Page-specific styles
   ============================================ */

/* Thank you page */
.thank-you-content {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--text-dark);
}

/* Members/Documents page */
.document-list {
  list-style: none;
}

.document-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  border-left: 4px solid var(--gold);
}

.document-item:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.document-icon {
  width: 40px;
  height: 40px;
  background-color: var(--tino-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.document-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--text-light);
}

/* Legal pages */
.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

.legal-content h1 {
  margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-xl);
}

.legal-content p,
.legal-content li {
  margin-bottom: var(--spacing-sm);
}

.legal-content ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   Additional Utility Classes
   ============================================ */

/* Max-width utilities */
.max-w-narrow {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.max-w-medium {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Text size utility */
.text-lg {
  font-size: var(--font-size-lg);
}

/* Button group */
.btn-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Page header (reduced padding) */
.page-header {
  padding: var(--spacing-lg) 0;
}

/* Info box with accent */
.info-box {
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--tino-red);
}

/* Rounded image with shadow */
.img-rounded {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Responsive 2-column grid */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

/* Full-width pricing card buttons */
.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ============================================
   Modern Page Headers
   ============================================ */
.page-header-modern {
  background: var(--gradient-dark);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative background pattern */
.page-header-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(212, 42, 42, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.page-header-modern .container {
  position: relative;
  z-index: 1;
}

.page-header-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
  padding: 0.25rem 1rem;
  background: rgba(201, 162, 39, 0.15);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.page-header-modern h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-header-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Gold accent line under header */
.page-header-modern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--tino-red));
  border-radius: 2px;
}

/* ============================================
   Enhanced Hero Content (Compact)
   ============================================ */
.hero-content-compact {
  max-width: 600px;
  background: rgba(26, 26, 26, 0.85);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.hero-content-compact h1 {
  text-shadow: none;
  font-size: 2.5rem;
}

.hero-content-compact .tagline {
  color: var(--gold);
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Equipment Cards - Modern Layout
   ============================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.equipment-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  border-bottom: 4px solid var(--gold);
}

.equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.equipment-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--bg-light);
}

.equipment-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equipment-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--text-dark);
}

.equipment-icon-red {
  background: var(--gradient-red);
}

.equipment-icon-red svg {
  fill: var(--text-light);
}

.equipment-icon-dark {
  background: var(--gradient-dark);
}

.equipment-icon-dark svg {
  fill: var(--gold);
}

.equipment-card h3 {
  margin: 0;
  font-size: var(--font-size-xl);
  color: var(--text-dark);
}

.equipment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.equipment-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 1rem;
}

.equipment-list li:last-child {
  border-bottom: none;
}

.equipment-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   Enhanced Pricing Cards
   ============================================ */
.pricing-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Featured card - significantly more prominent */
.pricing-card.featured {
  background: var(--gradient-dark);
  color: var(--text-light);
  transform: scale(1.08);
  box-shadow: var(--shadow-2xl);
  border: 2px solid var(--gold);
  border-top: 2px solid var(--gold);
}

.pricing-card.featured:hover {
  transform: scale(1.1);
}

/* Badge for featured */
.pricing-card.featured::before {
  content: 'BEST VALUE';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tino-red);
  color: var(--text-light);
  padding: 0.25rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card.featured h3 {
  color: var(--gold);
}

.pricing-card.featured .price {
  color: var(--text-light);
}

.pricing-card.featured .period {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card ul {
  flex-grow: 1;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pricing-card li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231A1A1A'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.price-free {
  color: var(--tino-red) !important;
}

/* ============================================
   Enhanced Buttons
   ============================================ */
.btn-primary {
  background: var(--tino-red);
  box-shadow: 0 4px 14px rgba(212, 42, 42, 0.4);
}

.btn-primary:hover {
  background: var(--tino-red);
  color: var(--text-light);
  box-shadow: 0 6px 20px rgba(212, 42, 42, 0.4);
  transform: translateY(-2px);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-outline:hover {
  background: var(--gradient-gold);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  min-height: 56px;
}

/* ============================================
   Contact Form Styles
   ============================================ */
.contact-form-section {
  background: var(--bg-white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.contact-form .required {
  color: var(--tino-red);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9CA3AF;
}

/* ============================================
   Class Listings (simple paragraph format)
   ============================================ */
.class-listing {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  border-left: 4px solid var(--tino-red);
}

.class-listing h3 {
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.class-subtitle {
  font-size: var(--font-size-lg);
  color: var(--gold-dark);
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

/* ============================================
   Membership Application Form
   ============================================ */
.membership-apply {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

/* Checkbox group for T&C */
.checkbox-group {
  margin-top: var(--spacing-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.checkbox-label span {
  font-size: 0.95rem;
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: var(--tino-red);
}

/* Error state for checkbox */
.checkbox-group.error .checkbox-label {
  color: var(--tino-red);
}

/* ============================================
   Additional Mobile Responsive Fixes
   ============================================ */
@media (max-width: 768px) {
  /* Logo responsive size */
  .logo img {
    height: 60px;
  }

  /* Hero height on mobile */
  .hero {
    min-height: 50vh;
  }

  /* Pricing card - remove scale on mobile */
  .pricing-card.featured {
    transform: none;
  }

  /* Map container responsive */
  .map-container {
    height: 300px;
  }

  /* 2-column grid stacks on mobile */
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  /* Hero compact on mobile */
  .hero-content-compact {
    max-width: 90%;
    padding: var(--spacing-md);
  }

  .hero-content-compact h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  /* Pricing featured card on mobile */
  .pricing-card.featured {
    transform: none;
    order: -1;
  }

  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }

  /* Contact form row stacks on mobile */
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  /* Equipment grid on mobile */
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  /* Facilities grid responsive */
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .facility-card {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .facility-icon {
    width: 44px;
    height: 44px;
  }

  .facility-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Funders banner smaller logos on mobile */
  .funders-track img {
    height: 35px;
  }

  .funders-track {
    gap: 2rem;
  }
}

/* ============================================
   Utility Classes (extracted from inline styles)
   ============================================ */
.footer-trust-info {
  margin-top: var(--spacing-sm);
}

.footer-phone-link {
  color: var(--gold);
}

.document-icon--gold {
  background-color: var(--gold);
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.thank-you-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  header,
  footer,
  #cookie-banner,
  .skip-link,
  .hero-overlay,
  .funders-banner,
  .members-banner,
  .btn,
  .contact-map,
  .contact-buttons {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  section {
    padding: var(--spacing-md) 0;
  }
}
