/* Falmouth Sports Center — custom styles */

:root {
  --fsc-black: #14161a;
  --fsc-black-soft: #1e2126;
  --fsc-red: #d7263d;
  --fsc-red-dark: #a91e30;
  --fsc-cream: #f5f4f1;
  --fsc-gray: #6b7280;
  --fsc-white: #ffffff;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--fsc-black);
  background-color: var(--fsc-white);
}

h1, h2, h3, h4, .navbar-brand, .btn {
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-eyebrow {
  font-family: var(--font-head);
  color: var(--fsc-red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
}

.section-title {
  font-weight: 700;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section-pad {
  padding: 5.5rem 0;
}

.bg-cream {
  background-color: var(--fsc-cream);
}

.bg-fsc-black {
  background-color: var(--fsc-black);
}

.text-fsc-red {
  color: var(--fsc-red);
}

/* Navbar */
.navbar {
  background-color: rgba(20, 22, 26, 0.95);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: background-color 0.2s ease;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--fsc-white) !important;
  line-height: 1.1;
}

.navbar-brand small {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.65rem;
  color: var(--fsc-red);
  font-weight: 500;
}

.navbar .nav-link {
  color: var(--fsc-white) !important;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
}

.navbar .nav-link:hover {
  color: var(--fsc-red) !important;
}

.navbar .btn-nav-cta {
  background-color: var(--fsc-red);
  color: var(--fsc-white);
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  margin-left: 0.5rem;
}

.navbar .btn-nav-cta:hover {
  background-color: var(--fsc-red-dark);
  color: var(--fsc-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 8px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  color: var(--fsc-red);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-weight: 700;
  font-size: 4rem;
  color: var(--fsc-white);
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
  line-height: 1.05;
}

.hero-subtitle {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.25rem;
  color: var(--fsc-white);
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
  margin-top: 1rem;
}

.hero-tagline {
  font-family: var(--font-head);
  color: var(--fsc-white);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
  margin-top: 0.75rem;
}

.hero-cta {
  margin-top: 2rem;
}

.btn-fsc {
  background-color: var(--fsc-red);
  border: 2px solid var(--fsc-red);
  color: var(--fsc-white);
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  padding: 0.85rem 2.25rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-fsc:hover {
  background-color: transparent;
  border-color: var(--fsc-white);
  color: var(--fsc-white);
}

.btn-fsc-outline {
  background-color: transparent;
  border: 2px solid var(--fsc-white);
  color: var(--fsc-white);
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  padding: 0.85rem 2.25rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-fsc-outline:hover {
  background-color: var(--fsc-white);
  color: var(--fsc-black);
}

/* About / stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

.stat-cell {
  background-color: var(--fsc-white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fsc-red);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fsc-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.about-photo img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* Equipment / gallery */
.equip-card {
  background-color: var(--fsc-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  height: 100%;
}

.equip-photo {
  height: 220px;
  overflow: hidden;
}

.equip-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.equip-card:hover .equip-photo img {
  transform: scale(1.06);
}

.equip-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.equip-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--fsc-red);
  color: var(--fsc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.equip-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.equip-card p {
  color: var(--fsc-gray);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Membership */
.membership-card {
  background-color: var(--fsc-white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.membership-card:hover {
  border-color: var(--fsc-red);
  transform: translateY(-4px);
}

.membership-card .plan-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fsc-black);
  margin-bottom: 0.5rem;
}

.membership-card .plan-sub {
  font-size: 0.8rem;
  color: var(--fsc-gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.membership-card .plan-price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fsc-red);
  line-height: 1;
}

.membership-card .plan-price sup {
  font-size: 1rem;
  top: -1em;
}

.membership-note {
  background-color: var(--fsc-white);
  border-left: 4px solid var(--fsc-red);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--fsc-black);
}

/* Location */
.hours-table {
  width: 100%;
}

.hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--fsc-white);
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: var(--fsc-white);
}

.contact-item i {
  color: var(--fsc-red);
  font-size: 1.2rem;
  margin-top: 0.15rem;
}

.contact-item a {
  color: var(--fsc-white);
  text-decoration: none;
}

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

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--fsc-black);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

footer .footer-brand {
  font-family: var(--font-head);
  color: var(--fsc-white);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
}

footer a:hover {
  color: var(--fsc-red);
}

footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  margin-right: 0.5rem;
  color: var(--fsc-white);
  transition: all 0.2s ease;
}

footer .social-icons a:hover {
  background-color: var(--fsc-red);
  border-color: var(--fsc-red);
}

footer hr {
  border-color: rgba(255,255,255,0.12);
  margin: 2rem 0 1.25rem;
}

.footer-powered {
  font-size: 0.9rem;
}

.footer-powered a {
  color: var(--fsc-red);
  font-weight: 600;
  text-decoration: none;
}

.footer-powered a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section-pad {
    padding: 3.5rem 0;
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
