@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&family=Roboto+Slab:wght@300;400;700&family=Roboto:wght@100;300;400;700&display=swap');

:root {
  --black: #000;
  --white: #fff;
  --gold: #f4c822;
  --blue: #3ebfea;
  --red: #e34d4f;
  --gray-900: #0b0b0b;
  --gray-800: #111;
  --gray-700: #1b1b1b;
  --gray-600: #2a2a2a;
  --gray-300: #d4d4d4;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  --radius: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto Slab', serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
}

.page-light {
  background-color: var(--white);
  color: var(--black);
}

.page-light .site-header,
.page-light .site-footer {
  background: var(--black);
  color: var(--white);
}

.page-light .section-subtitle {
  color: #4a4a4a;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.page-content {
  padding-bottom: 80px;
}

.top-bar {
  background: var(--gold);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 10px 0;
  flex-wrap: wrap;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.96);
  border-bottom: 1px solid var(--gray-700);
  backdrop-filter: blur(8px);
}

.site-header .container {
  width: min(100% - 64px, 1400px);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-right: auto;
}

.logo:hover,
.logo:focus-visible {
  color: var(--gold);
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo-mark {
  width: 44px;
  height: 50px;
  border: 2px solid var(--gold);
  position: relative;
  clip-path: polygon(50% 0%, 90% 10%, 100% 45%, 50% 100%, 0% 45%, 10% 10%);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-links a {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
  font-size: 0.9rem;
}

.nav-links a.active {
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

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

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

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
}

.btn-dark:hover {
  background: var(--gray-700);
  border-color: var(--white);
}

.section {
  padding: 70px 0;
}

.section-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}

.section-subtitle {
  color: var(--gray-300);
  max-width: 720px;
  margin: 0 0 32px;
}

.section-light {
  background: var(--white);
  color: var(--black);
}

.section-light .section-title {
  color: var(--black);
}

.section-light .card {
  background: var(--white);
  color: var(--black);
  border-color: #e6e6e6;
}

.section-light .card p {
  color: #1f1f1f;
}

.hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25)),
    url('../images/homepage_hero.png')
      center/cover no-repeat;
  min-height: 70vh;
  display: grid;
  align-items: center;
  justify-items: start;
  text-align: left;
}

.hero-content {
  max-width: 620px;
  padding-left: 90px;
  margin: 0;
}

.hero h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: normal;
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero p {
  color: var(--gray-300);
  margin-bottom: 28px;
}

.info-bar {
  background: var(--gray-800);
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 0;
  text-align: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-item {
  display: grid;
  gap: 8px;
  place-items: center;
}

.info-icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card h3 {
  margin: 0 0 10px;
  text-transform: uppercase;
  font-family: 'Roboto Condensed', sans-serif;
  letter-spacing: 0.06em;
}

.feature-grid .card:hover,
.feature-grid .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.feature-grid .card:nth-child(3n + 1):hover,
.feature-grid .card:nth-child(3n + 1):focus-within {
  border-color: rgba(244, 200, 34, 0.9);
}

.feature-grid .card:nth-child(3n + 2):hover,
.feature-grid .card:nth-child(3n + 2):focus-within {
  border-color: rgba(227, 77, 79, 0.9);
}

.feature-grid .card:nth-child(3n):hover,
.feature-grid .card:nth-child(3n):focus-within {
  border-color: rgba(62, 191, 234, 0.9);
}

.facility-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.facility-preview img {
  transition: transform 0.3s ease;
}

.facility-preview img:hover {
  transform: scale(1.05);
}

.facility-preview img,
.facility-grid img {
  border-radius: var(--radius);
  height: 220px;
  width: 100%;
  object-fit: cover;
}

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

.review-card {
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-name {
  margin: 0 0 10px;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.review-quote {
  color: var(--gray-300);
  font-style: italic;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.review-card:hover .review-avatar,
.review-card:focus-within .review-avatar {
  transform: scale(1.03);
  box-shadow: 0 0 0 3px rgba(244, 200, 34, 0.4);
}

.review-rating {
  margin-top: 16px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.cta {
  background: var(--gold);
  color: var(--black);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 2px solid var(--black);
}

.cta-modern {
  position: relative;
  background: linear-gradient(120deg, #0b0b0b 0%, #111 60%, #1b1b1b 100%);
  color: var(--white);
  border: 1px solid rgba(62, 191, 234, 0.35);
  overflow: hidden;
}

.cta-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(244, 200, 34, 0.08), rgba(62, 191, 234, 0.18));
  pointer-events: none;
}

.cta-modern h2,
.cta-modern p {
  position: relative;
  z-index: 1;
}

.cta-modern p {
  color: #ffffff;
}

.cta-modern .btn {
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta p {
  color: #1b1b1b;
}

.cta.cta-modern p {
  color: #ffffff;
}

.cta .btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.facility-card p {
  color: var(--gray-300);
}

.facility-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #0f0f0f;
}

.facility-card-media {
  overflow: hidden;
}

.facility-card-media img {
  transition: transform 0.3s ease, filter 0.3s ease;
  height: 260px;
  width: 100%;
  object-fit: cover;
}

.facility-card-body {
  padding: 22px;
  border-top: 1px solid #1f1f1f;
  color: var(--white);
}

.facility-card:hover .facility-card-media img,
.facility-card:focus-within .facility-card-media img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pricing-card {
  background: linear-gradient(145deg, #f4c822, #f8e38a);
  color: var(--black);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-card h2 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Roboto Condensed', sans-serif;
}

.pricing-card ul {
  padding-left: 18px;
}

.pricing-card li {
  margin: 8px 0;
}

.qr-box {
  width: 200px;
  height: 200px;
  border: 2px dashed var(--black);
  display: grid;
  place-items: center;
  font-weight: 700;
  text-align: center;
  margin: 20px 0;
}

.qr-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.form-card {
  background: var(--gray-800);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-700);
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-600);
  background: var(--gray-700);
  color: var(--white);
  font-family: inherit;
}

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

.site-footer {
  background: var(--gray-900);
  border-top: 1px solid var(--gray-700);
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-grid h4 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Roboto Condensed', sans-serif;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.footer-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer-qr {
  width: 90px;
  height: 90px;
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
  border: 2px solid var(--gray-700);
  border-radius: 12px;
  background: var(--white);
  padding: 8px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: var(--gray-300);
  text-align: center;
}

.socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-cta {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.footer-qr {
  width: 90px;
  height: 90px;
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
  border: 2px solid var(--gray-700);
  border-radius: 12px;
  background: var(--white);
  padding: 8px;
}

.bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 12px;
  text-transform: uppercase;
  z-index: 20;
}

@media (max-width: 980px) {
  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-grid,
  .feature-grid,
  .facility-preview,
  .facility-grid,
  .reviews-grid,
  .membership-grid,
  .footer-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 60vh;
  }
}
