:root {
  --primary: #292c31;
  --semidark: #3c3e41;
  --accent: #e3a702;
  --light: #f8fafc;
  --lightdark: #c6c6c6;
  --lesslight: #a0a0a0;
  --muted: #64748b;
  min-width: 750px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(260deg, var(--light), var(--lightdark));
  color: var(--primary);
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary), #020617);
  background: linear-gradient(179deg, var(--accent), #020617);
  color: white;
  padding: 1rem 1.5rem;
  text-align: center;
}

header p {
  color: #e3a702;
  max-width: 600px;
  margin: 0 auto;
}

nav {
  background: #020617;
  border-bottom: 2px solid #e3a702;
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color: var(--accent);
}

section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: auto;
  margin-top: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--semidark);
}

#about {
  padding: 0rem;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(0.5rem, 2.5vw, 4rem);
  padding: clamp(1.25rem, 3vw, 0rem);
}

#about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  max-width: none;
  overflow-wrap: break-word;
  background: white;
  border-radius: 12px;
  padding: 1.5rem 3rem 1.5rem 3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

#about-text p {
  color: var(--muted);
  font-weight: semi-bold;
  font-size: 1.1rem;
  text-align: left;
}

#about-text h3 {
  margin-bottom: 1rem;
  text-align: left;
  color: var(--primary);
}

#about-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border: #e3a702 5px solid;
}

@media (max-width: 750px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #about-img {
    height: auto;
    max-width: 100%;
    min-height: 0;
  }

  #about-text {
    max-width: none;
  }

  #about-text h3 {
    text-align: center;
  }
}

.sport-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.sport-card h3 {
  text-align: center;
  margin-bottom: 1rem;
}

.sport-card p {
  font-weight: semi-bold;
  font-size: 1.1rem;
  color: var(--muted);
  text-align: left;
}

.side-card {
  background: white;
  background: linear-gradient(100deg, var(--accent), var(--lesslight));
  display: flex;
  gap: 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  border: #e3a702 0px solid;
}

.side-card img {
  width: 400px;
  object-fit: cover;
  border-left: #e3a702 0px solid;
}

.side-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-items: center;
  margin: auto;
  justify-content: center;
  gap: 0.75rem;
}

.side-card-content h3 {
  color: var(--semidark);
  margin: 0;
  margin-bottom: 1.5rem;
}

.side-card-content h4 {
  color: var(--semidark);
  margin-bottom: 1rem;
}

.side-card-content table {
  color: var(--semidark);
  font-weight: bold;
}

.side-card-content table tr td {
  padding-bottom: 0.5rem;
}

.training-sub-title {
  justify-self: center;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

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

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

.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card h3 {
  margin-bottom: 0.5rem;
}

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

.card2 {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card2 h3 {
  margin-bottom: 0.5rem;
}

.cta {
  background: var(--accent);
  color: white;
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta a {
  display: inline-block;
  margin-top: 1rem;
  background: white;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  /* 1 * 16 = 16px */
}

.cta a:hover {
  color: var(--accent);
  box-shadow:
    rgba(0, 0, 0, 0.16) 0px 3px 6px,
    rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

footer {
  background: linear-gradient(135deg, var(--primary), #020617);
  background: linear-gradient(270deg, var(--accent), #020617);
  border-top: 5px solid #020617;
  color: #020617;
  font-weight: bold;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* Contact information */

#contact .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contact-info-card {
  background: white;
  padding: clamp(2rem, 6dvw, 5rem);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
  border: 2px solid #e2e8f0;
  border-radius: 6px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
}

.contact-info-title {
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-align: center;
}

.contact-info-panel {
  overflow-x: auto;
}

.contact-info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.contact-info-heading {
  padding: 1rem 0 1rem 0;
  border-top: 2px solid #e2e8f0;
  border-bottom: 2px solid #e2e8f0;
  color: var(--accent);
  font-size: 1.5rem;
  text-align: center;
}

.contact-info-table td {
  padding: 0.75rem 0;
  vertical-align: middle;
}

.contact-info-table tr:last-child td {
  border-bottom: 2px solid #e2e8f0;
}

.contact-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  fill: var(--accent);
}

.contact-item {
  color: var(--muted);
  font-weight: bold;
}

.contact-item a {
  color: var(--muted);

  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent);
}

footer {
  margin-top: 4rem;
}

@media (max-width: 820px) {
  #sports .grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .schedule-grid .card {
    grid-column: span 2;
  }

  .schedule-grid .card:nth-child(n + 4) {
    grid-column: span 3;
  }
}

/* Contact page */

#contact-form {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: auto;
}

.contact-card {
  background: white;
  padding: 5rem 5rem;
  border: 1px solid rgba(227, 167, 2, 0.25);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);

  display: grid;
  gap: 1.5rem;
}

.contact-card h1 {
  margin: 0;
  color: var(--accent);
  text-align: center;
  border-bottom: 1px solid var(--muted);
  border-top: 1px solid var(--muted);
}

.contact-field {
  display: grid;
  gap: 0.5rem;
}

label {
  font-weight: bold;
  color: var(--primary);
  font-size: 0.95rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}

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

.contact-submit {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.9;
}
