/* 
  Author: Arjun Madichetty
  File Name: styles.css
  Date: November 2025
*/

/* Global Reset */
body, header, nav, main, footer, img, h1, section, aside, figure, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #F6D2B8;
  font-family: Verdana, Arial, sans-serif;
}

/* Desktop Navigation Default */
.tab-desk {
  display: none;
}

/* Header */
header {
  text-align: center;
  padding: 2%;
  background-color: #F6D2B8;
}

header img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

header h1 {
  font-size: 3em;
  font-family: "DM Serif Display", serif;
  text-shadow: 2px 2px 4px #8C3D00;
}

/* Banner */
#hero {
  margin: 0;
  padding: 0;
}

.banner {
  width: 100%;
  display: block;
  max-height: 450px;
  object-fit: cover;
}

/* Navigation */
nav {
  background-color: #1A1A1A;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav ul {
  list-style-type: none;
  margin: 0;
  text-align: center;
  padding: 0;
}

nav li {
  display: block;
  font-size: 1.5em;
  font-family: "Roboto", sans-serif;
  border-top: 1px solid #F6D2B8;
}

nav li a {
  display: block;
  color: #FFFFFF;
  text-align: center;
  padding: 0.5em 1em;
  text-decoration: none;
}

nav li a:hover,
nav li a:focus {
  background-color: #E76F00;
  color: #000000;
  transform: scale(1.08);
}

/* Main Content */
main {
  padding: 2%;
  background-color: #FCE7D6;
  overflow: auto;
}

main p {
  font-size: 1.25em;
}

.action {
  font-size: 1.5em;
  color: #E76F00;
  font-weight: bold;
}

/* Program Grid */
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 25px;
  justify-content: center;
}

/* Program Sections */
.program-section {
  margin-bottom: 3%;
  padding: 2%;
  background-color: #FDEEE3;
  border-left: 8px solid #E76F00;
  border-radius: 10px;
}

.program-section h3 {
  font-size: 2em;
  font-family: "DM Serif Display", serif;
  color: #8C3D00;
}

/* Program Images */
.program-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Coach Images */
.coach-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  justify-items: center;
  justify-content: center;
}

/* Schedule Table */
table {
  border: 2px solid #000000;
  border-collapse: collapse;
  margin: 0 auto;
  width: 100%;
  background-color: #FDEEE3;
}

caption {
  font-size: 1.5em;
  font-weight: bold;
  padding: 1%;
  color: #8C3D00;
}

th, td {
  border: 1px solid #000000;
  padding: 2%;
  text-align: center;
}

tr:nth-child(odd) {
  background-color: #F6D2B8;
}

th {
  background-color: #1A1A1A;
  color: #FFFFFF;
  font-size: 1.15em;
}

/* Contact Form */
fieldset, input {
  margin-bottom: 2%;
}

fieldset legend {
  font-weight: bold;
  font-size: 1.25em;
  color: #8C3D00;
}

label {
  display: block;
  padding-top: 3%;
}

#submit {
  margin: 0 auto;
  display: block;
  padding: 3%;
  background-color: #E76F00;
  color: #fff;
  font-size: 1em;
  border: none;
  border-radius: 8px;
}

#submit:hover {
  background-color: #8C3D00;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.85em;
  padding: 2%;
  background-color: #F6D2B8;
}

footer a {
  color: #8C3D00;
  text-decoration: none;
}

.social img {
  width: 40px;
  display: inline-block;
  padding: 1%;
}

/* Mobile Navigation */
.mobile-nav {
  background-color: #1A1A1A;
}

.mobile-nav a {
  color: #fff;
  text-align: center;
  font-size: 2em;
  text-decoration: none;
  padding: 3%;
  display: block;
}

/* Hamburger Icon (box removed) */
.mobile-nav a.menu-icon {
  display: block;
  position: absolute;
  right: 10px;
  top: 10px;
}

.menu-icon div {
  height: 50px;
  width: 50px;
  background-color: transparent;
  color: #fff;
  text-align: center;
  font-size: 2em;
}

/* Mobile Menu Hidden */
#menu-links {
  display: none;
}

/* Tablet Layout */
@media screen and (min-width: 550px) {
  .mobile-nav {
    display: none;
  }

  .tab-desk {
    display: block;
  }

  nav li {
    display: inline-block;
    border-top: none;
    border-right: 1px solid #F6D2B8;
  }

  nav li:last-child {
    border-right: none;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    justify-content: center;
  }
}

/* Desktop Layout */
@media screen and (min-width: 769px) {
  nav li a:hover {
    background-color: #E76F00;
    color: #000000;
    transform: scale(1.12);
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  .program-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
  }

  main {
    font-size: 1.1em;
  }
}

/* Print */
@media print {
  body {
    background-color: #fff;
    color: #000;
  }
}
