* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: light;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

/* Header */
.site-header {
  background: #111;
  color: #fff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

.site-header nav a {
  text-decoration: none;
  color: #fff;
  margin-left: 20px;
  font-size: 0.95rem;
}

.site-header nav a:hover {
  text-decoration: underline;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 140px 20px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: #eee;
}

.btn {
  display: inline-block;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover {
  background: #c72e3a;
}

/* Sections */
.section {
  padding: 60px 20px;
}

.section.alt {
  background: #f4f4f4;
}

.section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.section p {
  max-width: 700px;
  margin: 0 auto 16px;
}

.section p:last-of-type {
  margin-bottom: 0;
}

/* Trainer section */
.trainer-facts {
  list-style: none;
  margin-top: 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.trainer-facts li {
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.trainer-facts li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #e63946;
  font-weight: bold;
}

/* Programs */
.programs-note {
  text-align: center;
  margin-top: 30px;
  color: #555;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

/* Testimonial cards */
.card.quote {
  max-width: 300px;
  font-style: italic;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-author {
  margin-top: 14px;
  font-style: normal;
  font-weight: bold;
  color: #555;
}

/* Cards */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 24px;
  flex: 1 1 220px;
  max-width: 260px;
}

.card h3 {
  margin-bottom: 10px;
}

/* Contact form */
.contact-form {
  max-width: 500px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 14px;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  align-self: flex-start;
}

/* Footer */
.site-footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}
