/* FITT Warehouse CrossFit Newnan — site styles */

:root {
  --orange: #e88504;
  --orange-dark: #c97203;
  --black: #111111;
  --dark: #1c1c1c;
  --gray: #666666;
  --light: #f4f4f4;
  --white: #ffffff;
  --font: 'Rajdhani', 'Segoe UI', Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .5px; }
h1 { font-size: 56px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }

/* Orange dash after headings (matches the Divi theme) */
.dash::after {
  content: '';
  display: inline-block;
  width: 44px;
  height: 3px;
  background: var(--orange);
  margin-left: 14px;
  vertical-align: middle;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  padding: 16px 30px;
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); }
.btn .arrow { font-size: 20px; margin-left: 12px; vertical-align: -2px; }
.btn-small { padding: 12px 26px; font-size: 14px; }
.btn-outline { background: transparent; border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--orange); }

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,.75), rgba(0,0,0,0));
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 0; }
/* Transparent logo with a soft shadow so it floats over whatever is behind the header. */
.logo img { width: 198px; height: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav ul a {
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav ul a:hover, .site-nav ul a.active { border-bottom-color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--white); margin: 5px 0; transition: .2s; }

/* Hero (home) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: url('/img/hero-home.jpg') center/cover no-repeat;
  padding: 160px 0 100px;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.hero .wrap { position: relative; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 16px;
  margin-bottom: 18px;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 90px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(48px, 8vw, 90px); margin: 0 0 20px; letter-spacing: 2px; }
.hero .quote { font-size: 24px; font-weight: 500; margin-bottom: 36px; }

/* Orange band */
.band {
  background: var(--orange);
  color: var(--white);
  padding: 44px 0;
}
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band h2 { margin: 0 0 4px; font-size: 32px; }
.band p { margin: 0; font-size: 20px; font-weight: 500; }

/* Dark photo section */
.section { padding: 90px 0; }
.section-dark {
  position: relative;
  color: var(--white);
  background: url('/img/bg-dark.jpg') center/cover fixed no-repeat;
  text-align: center;
}
.section-dark::before { content: ''; position: absolute; inset: 0; background: rgba(15,15,15,.86); }
.section-dark .wrap { position: relative; max-width: 900px; }
.section-dark h2 { font-size: 44px; }
.section-dark h2 .dash::after { margin-left: 16px; }
.section-dark p { font-size: 20px; }

/* About / features */
.about .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.about h2 { font-size: 40px; }
.about .lead { color: #444; margin-bottom: 36px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.feature { display: flex; align-items: center; gap: 16px; }
.feature .icon { flex: 0 0 64px; width: 64px; height: 64px; background: var(--orange); border-radius: 50%; display: grid; place-items: center; }
.feature .icon img { width: 36px; height: 36px; }
.feature h4 { margin: 0; font-size: 18px; letter-spacing: 1px; }
.about-photos { display: grid; gap: 20px; }
.about-photos img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Inner page hero */
.page-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  background: url('/img/hero-inner.jpg') center/cover no-repeat;
  padding: 200px 0 90px;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 0 0 8px; letter-spacing: 2px; }
.page-hero p { font-size: 22px; letter-spacing: 2px; margin: 0; }
.page-hero .btn { margin-top: 26px; }

/* Team */
.team-member { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; padding: 60px 0; border-bottom: 1px solid #e6e6e6; }
.team-member:last-child { border-bottom: 0; }
.team-member h2 { font-size: 32px; margin-bottom: 2px; }
.team-member .role { font-style: italic; text-transform: uppercase; letter-spacing: 3px; color: #555; font-size: 18px; margin-bottom: 22px; }
.team-member .photo { width: 100%; max-width: 420px; }
.team-member .bio { color: #444; letter-spacing: .5px; padding-top: 10px; }

/* Gallery */
.gallery-section { background: linear-gradient(to bottom, #9a9a9a, #e9e9e9); padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gallery-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Pricing */
.page-hero.compact { padding: 150px 0 50px; }
.pricing { padding: 50px 0 70px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price-card {
  background: var(--white);
  border: 1px solid #e3e3e3;
  border-top: 4px solid var(--orange);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { background: #111; border-color: #111; color: var(--white); }
.price-card h2 { font-size: 22px; margin-bottom: 12px; letter-spacing: 1px; }
.price-list { list-style: none; margin: 0 0 12px; padding: 0; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px dashed rgba(128,128,128,.25); }
.price-list li:last-child { border-bottom: 0; }
.price-list .amt { font-size: 26px; font-weight: 700; color: var(--orange); min-width: 62px; line-height: 1; }
.price-list .what { font-size: 17px; font-weight: 600; letter-spacing: .3px; }
.price-card .fine { margin: auto 0 0; font-size: 14px; line-height: 1.45; color: #666; }
.price-card.featured .fine { color: #bbb; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: 1fr; } }

/* Schedule */
.center { text-align: center; }
.schedule-section { padding-bottom: 40px; }
.schedule-section h2 { font-size: 32px; margin-bottom: 28px; }
.schedule { background: #0b0b0b; padding: 32px; border-radius: 4px; }
.schedule-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.schedule-table { width: 100%; min-width: 860px; border-collapse: separate; border-spacing: 8px; font-family: var(--font); }
.schedule-table th, .schedule-table td {
  padding: 14px 8px;
  text-align: center;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1.2;
  vertical-align: middle;
}
.schedule-table thead th { background: var(--orange); color: var(--white); text-transform: uppercase; font-weight: 700; letter-spacing: 1.5px; font-size: 16px; }
.schedule-table tbody th { background: var(--orange); color: var(--white); font-weight: 700; white-space: nowrap; font-size: 18px; }
.schedule-table td { background: #f3f2ea; color: #1a1a1a; text-transform: uppercase; font-weight: 700; letter-spacing: .5px; }
.schedule-table td:empty { background: #2a2a2a; }
.schedule-table td.hy { background: #fde3c2; }
.schedule-table th:first-child { width: 110px; }
.schedule-table .rsvp { display: block; font-size: 12px; letter-spacing: 2.5px; color: var(--orange-dark); margin-bottom: 2px; }
.schedule-note { text-align: center; font-size: 19px; font-weight: 600; letter-spacing: .5px; margin: 0 0 22px; color: #333; }
.schedule-note a { white-space: nowrap; }
.schedule-key { color: #bbb; font-size: 15px; margin: 14px 0 0; text-align: center; }
.schedule-key span { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin: 0 6px 0 14px; }
.map { width: 100%; aspect-ratio: 4/3; border: 0; box-shadow: 0 10px 30px rgba(0,0,0,.2); }

/* Contact */
.contact-section .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.contact-section h2 { font-size: 32px; }
.contact-details p { font-size: 19px; }
.contact-details .label { text-transform: uppercase; font-weight: 700; letter-spacing: 2px; font-size: 14px; color: var(--orange); margin-bottom: 2px; }
.schedule-img { box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.contact-page-form { background: var(--light); padding: 32px; }
.contact-page-form h3 { margin-bottom: 18px; }

/* Forms */
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #ccc;
  background: var(--white);
  color: #222;
  margin-bottom: 12px;
}
.contact-form textarea { resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; margin: 10px 0 0; min-height: 1.2em; }
.form-status.ok { color: #2f9e44; }
.form-status.err { color: #d9480f; }
.site-footer .form-status.ok { color: #8ce99a; }
.site-footer .form-status.err { color: #ffa94d; }

/* Footer */
.site-footer {
  position: relative;
  color: #ddd;
  background: url('/img/bg-footer.jpg') center/cover no-repeat;
}
.site-footer::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,.9); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 50px; padding: 80px 0 50px; }
.site-footer h4 { color: var(--white); letter-spacing: 3px; margin-bottom: 18px; }
.site-footer h4::after { content: ''; display: block; width: 36px; height: 3px; background: var(--orange); margin-top: 10px; }
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--orange); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; font-size: 15px; font-weight: 600; }
.site-footer .contact-form input, .site-footer .contact-form textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white); }
.site-footer .contact-form input::placeholder, .site-footer .contact-form textarea::placeholder { color: #aaa; }
.copyright {
  position: relative;
  text-align: center;
  padding: 18px 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: #999;
}

/* Responsive */
@media (max-width: 900px) {
  h1 { font-size: 42px; }
  .about .wrap, .team-member, .contact-section .wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-dark { background-attachment: scroll; }
  .band .wrap { justify-content: center; text-align: center; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,.97);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav ul a { display: block; padding: 10px 0; font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .btn-header { text-align: center; }
  .logo img { width: 130px; }
  .hero { padding-top: 130px; }
  .eyebrow::before, .eyebrow::after { width: 40px; }
  .hero .quote { font-size: 19px; }
  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 0 60px; }
  .section { padding: 60px 0; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
}
