html {
  scroll-behavior: smooth;  /* enables smooth scrolling for anchor links */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px; /* Adds 3px space between characters */
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navbar base */
.navbar {
  position: sticky;     /* stays fixed in place */
  top: 0;              /* stick to the very top */
  left: 0;
  z-index: 1000;       /* keep it above other content */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 15px 20px;
  color: #fff;
  border-bottom: 5px solid #fff; /* ✅ white underline */
}

.navbar .logo {
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: 0.5px; /* Adds 3px space between characters */
  display: flex;
  flex-direction: column-reverse;
  margin-left: 2.5%;
}

.navbar img {
  position: relative;
  width: 15%;
  margin-bottom: 2.5%;
}

.small-logo {
  position: absolute;
  font-size: 1rem;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto;
  margin-right: 1%;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  padding: 8px 12px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover {
  background: #a40202;
  color: #fff;
  border-radius: 4px;
}

/* Book Now CTA */
.book-now {
  background: #a40202;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
  font-size: 1.25rem;
}

.book-now:hover {
  background: #a40202;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* hidden by default */
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
  }

  .navbar .logo img {
    width: 35%;
    margin-bottom: 5%;
  }

  .navbar .small-logo {
    font-size: 0.5rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex; /* show when toggled */
  }

  .hamburger {
    display: block; /* show hamburger on mobile */
  }

  .book-now {
    margin-left: 10px;
    text-align: center;
    white-space: nowrap;
  }
}


/* Section One (Hero Image with Overlay) */
section#one {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  overflow: hidden;
}

section#one img {
  width: 100%;
  height: 100vh;        /* full viewport height */
  object-fit: cover;    /* crop nicely */
  display: block;
  margin-top: 0;
  
}


/* Dark overlay */
section#one::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); /* semi-transparent black */
  z-index: 0;                  /* sits behind text */
}

/* Overlay text */
section#one h1,
section#one a, section#one p {
  position: absolute;
  z-index: 1;                  /* above overlay */
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
}

section#one h1 {
  top: 15%;
  font-size: 3rem;
}

section#one a {
  top: 40%;
  background: #a40202;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
  font-size: 1.25rem;
}

section#one p {
  top: 52.5%;
  font-size: 1.5rem;
}

section#one p .firstline {
  display: block;
  text-align: center;
}

section#one a:hover {
  background: #a40202;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section#one img {
    height: 70vh;
  }
  section#one h1 {
    top: 15%;
    font-size: 1.7rem;
    font-weight: bolder;
  }
  section#one a {
    top: 45%;
    font-size: 1rem;
    padding: 12px 18px;
    white-space: nowrap;
  }
  section#one p {
    font-size: 0.95rem;
    width: 90%;
    top: 58%;
  }
}

section#bookings {
  position: relative;
  background-image: url('../images/secondarybackground.PNG');
  min-height: 700px; /* MATCH widget height */
  background-size: cover;
  background-position: center;
  overflow: hidden;
  
}

/* Dark overlay */
section#bookings::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* adjust darkness here */
  z-index: 1;
}

/* Content stays ABOVE overlay */
.bookings-content {
  position: relative;
  z-index: 2;
}

/* PROGRAMS SECTION */
.programs {
  padding: 6rem 1.5rem;
  background-color: #f5f5f5;
}

.programs-header {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.programs-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.programs-header p {
  font-size: 1.05rem;
  color: #444;
}

/* GRID */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* PROGRAM CARD */
.program-card {
  background-color: #ffffff;
  padding: 3rem 2.5rem;
  border-radius: 14px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Red accent bar */
.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background-color: #d81920;
}

/* Group training slight contrast */
.program-card.group {
  background-color: #eaeaea;
}

/* Hover effect */
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Text styles */
.program-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.program-tagline {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 500;
}

.program-card ul {
  padding-left: 1.1rem;
  margin-bottom: 1.5rem;
}

.program-card ul li {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #222;
}

.best-for {
  font-size: 0.9rem;
  color: #333;
}

/* PROGRAM BUTTON */
.program-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.75rem;
  background-color: #d81920;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
}

.program-btn:hover {
  background-color: #b7151a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



/* Section Two (Locations Split) */
section#two {
  background: #000;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

section#two h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.locations {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.location {
  flex: 1;                /* each takes equal space */
  min-width: 300px;       /* prevents shrinking too small */
}

.location h4 {
  margin-bottom: 15px;
  font-weight: bold;
}

.location iframe {
  width: 100%;            /* responsive width */
  height: 350px;          /* consistent height */
  border: none;
  border-radius: 8px;
}

/* ✅ Responsive for phones */
@media (max-width: 768px) {
  .locations {
    flex-direction: column; /* stack vertically */
    align-items: center;
  }

  .location {
    width: 100%;
    max-width: 600px;      /* keep maps readable */
    margin-bottom: 30px;
  }
}


/* Section Three (Coach Info) */
section#three {
  padding: 60px 20px;
  background-image: url('../images/whitebackground.PNG');
  text-align: center;
}

section#three h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: black;
}

section#three h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: black;
}

/* Coach images side by side on larger screens */
.coach-photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* align tops */
  gap: 20px;
}

section#three img {
  width: 400px;             /* consistent width */
  height: 550px;            /* consistent height */
  object-fit: cover;        /* crop nicely */
  border-radius: 8px;
}




/* ✅ Responsive: stack images on smaller screens */
@media (max-width: 768px) {

  section#three {
    padding: 30px 20px;
  }
  section#three div {
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center them */
  }

  section#three img {
    width: 90%;             /* scale to screen width */
    height: auto;           /* keep aspect ratio */
  }
}

/* Highlight Tapes Section */
.highlight-tapes {
  margin-top: 40px;
  text-align: center;
}

.highlight-header {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.tapes-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap; /* allows stacking on smaller screens */
}

.tape {
  flex: 1;
  min-width: 300px;
}

.tape iframe {
  width: 100%;
  height: 350px;
  border-radius: 8px;
  border: none;
}

/* ✅ Responsive for phones */
@media (max-width: 768px) {
  .tapes-wrapper {
    flex-direction: column; /* stack vertically */
    align-items: center;
  }

  .tape {
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
  }

  .tape iframe {
    height: 250px; /* smaller height for mobile */
  }
}

/* Training Section */
section#training {
  background-image: url('../images/playersredbackground.PNG');
  color: white;
  padding: 60px 20px;
  margin: 0 auto;          /* ✅ centers the section */
  text-align: center;
}

section#training h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;          /* accent color */
}

/* Layout: list + pyramid side by side */
.training-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;         /* stack on smaller screens */
  text-align: left;        /* list aligned left */
}

/* Training List */
.training-list {
  flex: 1;
  list-style-type: none;
  padding-left: 0;
  position: relative;
  left: 15%;
}

.training-list li {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.training-list .icon {
  margin-right: 8px;
  color: #a40202;
}

/* Nested lists */
.training-list li ul {
  list-style-type: disc;
  margin-top: 10px;
}

.training-list li ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}

/* Pyramid Diagram */
.pyramid {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.level {
  text-align: center;
  color: #fff;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
}

/* Pyramid Levels */
.fundamentals { background: black; width: 100%; }
.advanced     { background: black; width: 85%; }
.receiving    { background: black; width: 70%; }
.iq           { background: black; width: 55%; }
.physicality  { background: black; width: 40%; }

/* Responsive */
@media (max-width: 768px) {

  section#training {
    padding-top: 25px;
  }
  .training-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .training-list {
    width: 100%;
    max-width: 600px;
    text-align: center;     /* Center the list items */
    position: static;
  }

  .training-list li {
    list-style-type: none;
  }

  .pyramid {
    width: 100%;
    margin-top: 0px;
  }

}

/* Contact Section */
section#contact {
  background: #000;
  color: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

section#contact h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.contact-info p {
  margin: 15px 0;
}

.contact-info .icon {
  margin-right: 8px;
  font-size: 1.3rem;
}

.contact-info a {
  color: #a40202;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* CTA Button */
.cta {
  margin-top: 20px;
}

.book-btn {
  display: inline-block;
  background: #a40202;       /* bright blue accent */
  color: white;
  padding: 14px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.book-btn:hover {
  background: #a40202;       /* darker blue on hover */
}
