/* ---------------- Reset & Base Styles ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background-color: #0b0d10;
  color: #f5f5f5;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

main {
  flex: 1;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

/* ---------------- Header & Logo ---------------- */
header {
  position: absolute; /* sit on top of hero */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: transparent;
  color: #fff;
  z-index: 1000;
}

header .logo {
  height: 100px; /* bigger logo */
}

nav {
  display: flex;
  gap: 2rem; /* space between links */
}

nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #66CCFF; /* bright blue accent */
}

/* Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}

.hamburger:hover {
  color: #66CCFF;
}

/* Default: inner pages get space for header */
.inner main {
  padding-top: 110px; /* match your header height */
}

/* Home page: let hero sit under header */
.home main {
  padding-top: 0;
}

/* ---------------- Hero Section ---------------- */
.hero {
  position: relative;
  min-height: 80vh;
  background: url('../images/TeamHuddle2.jpg') top center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2; /* above overlay */
  max-width: 700px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h2,
.hero p,
.hero .cta {
  position: relative;
  z-index: 3;
  color: #cbd5e1;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  color: #cbd5e1;
}

.hero .cta {
  background: transparent;
  border-radius: 999px;
  border: solid 5px #0099EE;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 50%;
  display: block;
  margin: auto;
}

.hero .cta:hover {
  background: #0099EE;
  opacity: 75%;
  transform: scale(1.08);
}

.hero-phone {
  margin-top: 1.25rem;
  font-size: 1rem;
  letter-spacing: 1px;
}

.hero-phone a {
  color: #66CCFF;
  text-decoration: none;
  font-weight: 600;
}

.hero-phone a:hover {
  text-decoration: underline;
}


.about {
  background: #111;
  color: #fff;
  padding: 5rem 2rem;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-container p {
  font-size: 1.2rem;
}

.about h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #ccc;
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.about-card {
  background: #1c1c1c;
  padding: 0.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
}

.about-card h4 {
  margin: 0.75rem;
  color: #0099FF; /* accent */
}

/* ---------------- Weekly Schedule Table ---------------- */
.schedule {
  padding: 5rem 2rem;
  text-align: center;
  background: #0b0d10;
  color: #fff;
}

.schedule h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 3rem;
}

table {
  width: 100%;
  margin: 2rem auto;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #1e1f24;
  box-shadow: 0 4px 6px rgba(0,0,0,0.4);
  border-radius: 14px;
  overflow: hidden;
}


th {
  background-color: #2E2E2E;
  color: #fff;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem 1rem;
  font-size: 1rem;
}

td {
  padding: 1rem;
  text-align: center;
  color: #f5f5f5;
  border-bottom: 1px solid #3a3a3a;
}

tbody tr:nth-child(even) {
  background-color: #25262a;
}

tbody tr:hover {
  background-color: #333;
}

td[rowspan] {
  background-color: #2E2E2E;
  font-weight: bold;
  color: #fff;
}

/* ---------------- Disciplines Page ---------------- */
.disciplines {
  padding: 5rem 2rem;
  text-align: center;
  background: #0b0d10;
  color: #fff;
}

.disciplines h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 3rem;
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.discipline-card {
  background: #141821;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.discipline-card:hover {
  transform: translateY(-10px) scale(1.08);
}

.discipline-card h2 {
  color: #66CCFF;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.discipline-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: transform 1s ease;
}

.discipline-photo:hover {
  transform: scale(1.1);
}

/* ---------------- Footer ---------------- */
footer {
  background-color: #2E2E2E;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 0;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  margin: 1rem 0;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a.active {
  color: #66CCFF;
}

.footer-socials {
  margin-top: 0.5rem;
}

.footer-socials a {
  display: inline-block;
  margin: 0 6px;
}

.footer-socials img {
  width: 28px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
}

.contact-link {
  color: #66CCFF;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}


/* ---------------- Responsive Styles ---------------- */
@media (max-width: 768px) {
  header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 65px;
    background-color: transparent;
    padding: 0 1rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
  }

  header .logo {
    height: 45px;
    max-height: 100%;
    width: auto;
    margin-top: 20px;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  header.menu-open nav {
    display: flex;
  }

  nav a {
    font-size: 1.4rem;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
  }

  header.menu-open {
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100vw;
    background-color: #0b0d10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    z-index: 9999;
  }

  .hero h2 {
    font-size: 2rem;
  }

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

  .hero-overlay {
    gap: 1rem;
  }

  .schedule {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  table {
    font-size: 0.9rem;
    width: 100%;
    margin: 1.5rem 0;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-nav a {
    margin: 0;
  }

  .footer-socials {
    margin-top: 1rem;
  }


  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 1.5rem 1.25rem;
    font-size: 1.15rem;
  }

  .about-card h4 {
    font-size: 1.4rem;
  }

  .about-card p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}
