/* Stylesheet for Quillan Isidore website
   Colour palette and typography were selected to
   create a professional and modern feel. */

/*
  Import professional typefaces from Google Fonts.
  Poppins offers clean, modern headings while Inter provides easy‑reading body text.
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /*
    Dark palette for a sleek aesthetic.
    The primary colour is true black to give the site a moody, premium feel.
    Secondary tones provide subtle contrast between sections without losing the dark look.
    A soft accent colour adds warmth and draws attention to key buttons and headings.
  */
  --primary: #000000;       /* overall page background */
  --secondary: #111111;     /* slightly lighter black for alternating sections */
  --accent: #e06c75;        /* warm rose accent colour */
  --text-primary: #ffffff;  /* white text for dark backgrounds */
  --text-secondary: #aaaaaa;/* muted grey for secondary text */
  --light-bg: #f5f5f5;      /* light backgrounds for forms and cards when needed */
  --light-text: #0a192f;    /* dark text for light backgrounds */
  --surface: #171717;
  --surface-border: #282828;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Use Inter for body copy to enhance readability across devices */
  font-family: 'Inter', sans-serif;
  background-color: var(--primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Headings and logo use Poppins for a refined, professional feel */
h1, h2, h3, h4, h5, h6, nav .logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Navigation bar */
header {
  background: var(--primary);
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  color: var(--text-primary);
}

.site-logo {
  position: relative;
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  text-decoration: none;
}

.site-logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-logo-preview {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  width: 190px;
  padding: 0.65rem;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  background: #000000;
  border: 1px solid var(--surface-border);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.site-logo-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.site-logo:hover .site-logo-preview,
.site-logo:focus-visible .site-logo-preview {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  min-width: 0;
}

nav ul li a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a[aria-current='page'] {
  color: var(--accent);
}

a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(224, 108, 117, 0.55);
  outline-offset: 3px;
}

/* Hero section */
.hero {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  min-height: 520px;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.08;
  margin-bottom: 1rem;
  font-weight: 700;
  max-width: 980px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: var(--accent);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.button:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.button-secondary {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--text-primary);
}

.button-secondary:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.home-power-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(180px, 60vw);
  aspect-ratio: 1350 / 2180;
  margin: 1.6rem auto 0;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.home-power-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-power-logo:hover,
.home-power-logo:focus-visible {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 10px 14px rgba(224, 108, 117, 0.32));
}

/* Generic sections */
.section {
  padding: 4.5rem 2rem;
  background-color: var(--secondary);
  color: var(--text-primary);
}

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

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
}

.section > p,
.section > ul {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.section-intro {
  max-width: 760px;
  margin: -0.75rem auto 2.5rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.08rem;
}

.section > a.button {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 2rem auto 0;
}

.race-story-section {
  padding-bottom: 1.75rem;
}

.race-gallery-section {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.race-enquiry-section {
  padding-top: 1.75rem;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.about-feature-reverse {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
}

.about-feature-reverse .about-copy {
  order: 2;
}

.about-feature-reverse .about-photo {
  order: 1;
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-photo {
  margin: 0;
}

.about-photo-stack {
  display: grid;
  gap: 1rem;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid var(--surface-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.about-photo-portrait img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.achievements-feature {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
}

.achievements-list {
  margin: 0;
  padding: 2rem 2rem 2rem 3rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.achievements-list li + li {
  margin-top: 0.65rem;
}

.achievements-photo img {
  aspect-ratio: 16 / 9;
}

/* Cards for pricing and services */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: var(--surface);
  padding: 2rem;
  border-radius: 8px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--surface-border);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.light .card {
  background-color: #ffffff;
  color: var(--light-text);
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
  font-size: 1.5rem;
}

.card h4 {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.card .price {
  margin: -0.3rem 0 1rem;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.price-period {
  font-size: 0.45em;
  font-variant-caps: all-small-caps;
  letter-spacing: 0;
}

.plans-payment-note {
  margin-top: 2.25rem;
  text-align: center;
  font-weight: 600;
}

.section.online-plans-options {
  padding-bottom: 1.75rem;
}

.section.online-plans-ready {
  padding-top: 1.75rem;
}

.section.coaching-services-section {
  padding-bottom: 1.75rem;
}

.section.private-group-section {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.section.coaching-action-section {
  padding-top: 1.75rem;
}

.card p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.card .button {
  margin-top: auto;
  align-self: flex-start;
}

.performance-band {
  background: #080808;
}

.performance-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 2.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.performance-copy h2 {
  margin-bottom: 1rem;
  text-align: left;
}

.performance-copy p {
  max-width: 680px;
  margin: 0 0 1.8rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.performance-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.performance-stat {
  min-height: 132px;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.performance-stat strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.performance-stat span {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-secondary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2.5rem auto 0;
}

.testimonial-card {
  min-height: 260px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.testimonial-type {
  margin: 0 0 1rem;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.08rem;
  line-height: 1.7;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonials-coming-hero {
  position: relative;
  isolation: isolate;
  min-height: 560px;
  padding: 5rem 2rem;
  display: grid;
  place-items: center;
  background-image: url('../images/testimonials-rider-coaching.jpg');
  background-size: cover;
  background-position: center 35%;
  color: #ffffff;
  text-align: center;
}

.testimonials-coming-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.64);
}

.calendar-coming-hero {
  background-image: url('../images/coaching_hero.jpg');
  background-position: center 42%;
}

.testimonials-coming-copy {
  width: min(760px, 100%);
}

.testimonials-kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.testimonials-coming-copy h1 {
  margin: 0;
  font-size: 4.2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.testimonials-coming-copy h1 span {
  display: block;
  color: var(--accent);
}

.testimonials-coming-copy > p:not(.testimonials-kicker) {
  max-width: 620px;
  margin: 1.35rem auto 2rem;
  font-size: 1.18rem;
}

.testimonials-gallery-section {
  padding: 4.5rem 2rem 5rem;
  background: var(--secondary);
}

.testimonials-gallery-heading {
  max-width: 1180px;
  margin: 0 auto 2rem;
}

.testimonials-gallery-heading p {
  margin: 0 0 0.3rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonials-gallery-heading h2 {
  margin: 0;
  color: var(--accent);
  font-size: 2rem;
  letter-spacing: 0;
}

.testimonials-photo-grid {
  max-width: 1180px;
  margin: 0 auto;
  columns: 3 280px;
  column-gap: 1rem;
}

.testimonials-photo-grid figure {
  margin: 0 0 1rem;
  break-inside: avoid;
}

.testimonials-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.contact-form input[type='checkbox'] {
  width: auto;
  margin-right: 0.5rem;
}

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

.contact-form input[type='submit'] {
  cursor: pointer;
  background-color: var(--accent);
  border: none;
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem;
  border-radius: 4px;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-form input[type='submit']:hover {
  background-color: var(--primary);
  color: var(--accent);
}

.contact-page-links {
  max-width: 960px;
  margin: 3rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--surface-border);
}

.contact-page-link-group {
  text-align: center;
}

.contact-page-link-group h3 {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.35rem;
}

.instagram-profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.instagram-profile {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.instagram-profile:hover,
.instagram-profile:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.instagram-profile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #9d9d9d;
  border-bottom: 1px solid var(--surface-border);
}

.instagram-profile span {
  padding: 0.9rem 1rem;
  color: var(--text-primary);
  font-size: 1rem;
}

.credentials-section {
  max-width: 1180px;
  margin: 3.25rem auto 0;
  padding-top: 3.25rem;
  border-top: 1px solid var(--surface-border);
}

.credentials-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.credentials-heading .credentials-kicker {
  margin: 0 0 0.45rem;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.credentials-heading h2 {
  margin: 0 0 1rem;
}

.credentials-heading > p:last-child {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 2rem;
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: #0c0c0c;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
}

.credentials-list li {
  padding-left: 0.25rem;
  color: var(--text-primary);
}

.credentials-list li::marker {
  color: var(--accent);
}

.dbs-note {
  max-width: 900px;
  margin: 1.5rem auto 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--accent);
}

.dbs-note h3 {
  margin: 0 0 0.35rem;
  color: var(--text-primary);
  font-size: 1.15rem;
}

.dbs-note p {
  margin: 0;
  color: var(--text-secondary);
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.credential-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.credential-card-copy {
  min-height: 128px;
  padding: 1.4rem 1.5rem;
}

.credential-card-copy h3 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.credential-card-copy p {
  margin: 0;
  color: var(--text-secondary);
}

.credential-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  border-top: 1px solid var(--surface-border);
}

.credential-card-wide {
  grid-column: 1 / -1;
  width: min(100%, 570px);
  justify-self: center;
}

.calendar {
  max-width: 900px;
  margin: 2rem auto 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 8px;
}

.calendar iframe {
  display: block;
}

/* Footer */
.footer {
  background-color: var(--primary);
  padding: 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    padding: 0.85rem 1rem;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    font-size: 0.92rem;
    width: 100%;
    max-width: 100%;
  }

  .site-logo {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .site-logo-preview {
    left: 50%;
    width: 168px;
    transform: translate(-50%, -5px);
  }

  .site-logo:hover .site-logo-preview,
  .site-logo:focus-visible .site-logo-preview {
    transform: translate(-50%, 0);
  }

  .hero {
    min-height: 460px;
    padding: 4rem 1.25rem;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .testimonials-coming-hero {
    min-height: 500px;
    padding: 4rem 1.25rem;
    background-position: 48% center;
  }

  .testimonials-coming-copy h1 {
    font-size: 3rem;
  }

  .testimonials-gallery-section {
    padding: 3.5rem 1.25rem 4rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .race-story-section {
    padding-bottom: 1.5rem;
  }

  .race-gallery-section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .race-enquiry-section {
    padding-top: 1.5rem;
  }

  .cards {
    flex-direction: column;
    align-items: stretch;
  }

  .about-feature,
  .about-feature-reverse,
  .achievements-feature,
  .performance-feature {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .performance-copy h2 {
    text-align: center;
  }

  .performance-copy p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .performance-copy .button {
    display: block;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
  }

  .about-feature-reverse .about-copy,
  .about-feature-reverse .about-photo {
    order: initial;
  }

  .about-photo img,
  .about-photo-portrait img,
  .achievements-photo img {
    aspect-ratio: 4 / 3;
  }

  .achievements-list {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  }

  .credentials-list,
  .certificate-gallery {
    grid-template-columns: 1fr;
  }

  .instagram-profiles {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

  .credentials-list {
    padding-left: 2.5rem;
  }

  .credential-card-copy {
    min-height: 0;
  }

  .credential-card-wide {
    grid-column: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  nav ul {
    gap: 0.55rem 0.8rem;
    font-size: 0.86rem;
  }

  .hero h1,
  .coaching-intro h1 {
    font-size: 2rem;
  }

  .testimonials-coming-copy h1 {
    font-size: 2.45rem;
  }

  .testimonials-coming-copy > p:not(.testimonials-kicker) {
    font-size: 1.02rem;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .contact-page-links {
    margin-top: 2.5rem;
  }

  .credentials-section {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
  }

  .performance-stats {
    grid-template-columns: 1fr;
  }
}

/* Certificate image styling */
.certificate-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.certificate-wrapper img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Coaching intro styling */
.coaching-intro h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--accent);
}

.coaching-intro p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Gallery styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Training camp showcase */
.camp-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.camp-location {
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
}

.camp-location h3 {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.camp-location p {
  margin: 0;
  color: var(--text-secondary);
}

.camp-gallery {
  columns: 3 280px;
  column-gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.camp-gallery figure {
  break-inside: avoid;
  margin: 0 0 1rem;
}

.camp-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.section.camp-enquiry-section {
  padding-top: 2rem;
}

@media (max-width: 640px) {
  .camp-locations {
    grid-template-columns: 1fr;
  }
}
