/* ===== The Grouse Gym – Modern Gym Website ===== */
:root {
  --bg-dark: #0c0c0c;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --accent: #e85d04;
  --accent-hover: #f48c42;
  --border: #2a2a2a;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header & Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--accent) !important;
  font-weight: 600;
}

.nav-cta:hover {
  color: var(--accent-hover) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?w=1920&q=85") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.7) 0%, rgba(12, 12, 12, 0.85) 50%, var(--bg-dark) 100%);
}

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

.hero-badge {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 0 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.section-title-light {
  color: #fff;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0 0 2.5rem;
}

/* ===== About ===== */
.about {
  background: var(--bg-card);
}

.grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.about-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-content .btn {
  margin-top: 0.5rem;
}

/* ===== Services ===== */
.services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Hours ===== */
.hours {
  background: var(--bg-card);
}

.hours-card {
  max-width: 480px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.hours-highlight {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.hours-highlight strong {
  color: var(--accent);
}

.hours-note {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.link-phone {
  font-weight: 600;
  color: var(--accent);
}

.link-phone:hover {
  color: var(--accent-hover);
}

/* ===== Reviews ===== */
.reviews {
  background: var(--bg-dark);
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.rating-display .stars {
  color: var(--accent);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

.rating-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  margin: 0;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-style: italic;
}

.review-card cite {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

/* ===== Location ===== */
.location {
  background: var(--bg-card);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.location-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  margin: 1.5rem 0 0.5rem;
}

.location-info h3:first-child {
  margin-top: 0;
}

.location-info p {
  margin: 0;
  color: var(--text-muted);
}

.location-info a {
  color: var(--accent);
  font-weight: 500;
}

.location-info a:hover {
  color: var(--accent-hover);
}

.location-info .btn {
  margin-top: 1.5rem;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-elevated);
  min-height: 320px;
  aspect-ratio: 16/10;
}

.map-wrap iframe {
  display: block;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-cta p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    min-height: 280px;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .container {
    padding: 0 1rem;
  }
}
