/* ==========================================================================
   Warriors Table Tennis Club — Stylesheet
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f4f5;
  --color-black: #101010;
  --color-dark: #1a1a1a;
  --color-gray-800: #2b2b2e;
  --color-gray-600: #55555a;
  --color-gray-400: #8a8a90;
  --color-gray-200: #e2e2e5;
  --color-red: #c1121f;
  --color-red-dark: #8f0d17;
  --color-gold: #c9a15a;

  --font-base: 'Rajdhani', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Anton', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --radius: 10px;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --container-width: 1140px;
}

/* -------------------------- Reset & base -------------------------------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-gray-800);
  background: var(--color-bg);
  line-height: 1.5;
}


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

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

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

h1, h2, h3, h4 {
  margin: 0;
  color: var(--color-black);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.015em;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------ Buttons ---------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--color-red-dark);
}

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

.btn-outline:hover {
  background: var(--color-black);
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ------------------------------ Header ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-black);
  border-bottom: 3px solid var(--color-red);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  transform: translate(-50%, calc(-50% + 26px));
  transition: transform 0.3s ease;
}

.brand::before {
  content: "";
  position: absolute;
  inset: -22px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, transparent 68%);
  z-index: -1;
  transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
  .site-header.header-compact .brand {
    transform: translate(-50%, -50%);
  }

  .site-header.header-compact .brand::before {
    opacity: 0;
  }

  .site-header.header-compact .brand-logo {
    transform: scale(0.524);
  }
}

.brand-logo {
  height: 128px;
  width: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.55));
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-group {
  display: flex;
  gap: 28px;
}

.nav-link {
  color: #e7e7e7;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  border-color: var(--color-red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-black);
  padding: 110px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(193, 18, 31, 0.5), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(201, 161, 90, 0.12), transparent 40%),
    linear-gradient(100deg, rgba(10, 10, 10, 0.97) 20%, rgba(10, 10, 10, 0.88) 55%, rgba(10, 10, 10, 0.65) 100%),
    url('../assets/images/hero-arena.jpg');
  background-size: cover;
  filter: saturate(0.85);
  background-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: left;
}

.eyebrow {
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

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

.hero-subtext {
  color: var(--color-gray-200);
  font-size: 1.05rem;
  max-width: 520px;
  margin-top: 22px;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover {
  background: #fff;
  color: var(--color-black);
}

/* --------------------------- Stats strip ---------------------------------- */
.stats-strip {
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  gap: 4px;
}

.stat-icon {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--color-gold);
}

.stat-icon svg {
  width: 34px;
  height: 34px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-gray-200);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ------------------------------ Sections ---------------------------------- */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-tag {
  color: var(--color-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--color-gray-600);
  max-width: 640px;
  font-size: 1rem;
}

/* ------------------------------ Pricing ------------------------------------ */
.pricing-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.price-card-featured {
  border-color: var(--color-red);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--color-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 20px;
}

.price-amount span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-400);
  margin-left: 4px;
}

.price-features {
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-features li {
  color: var(--color-gray-600);
  font-size: 0.92rem;
  padding-left: 22px;
  position: relative;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 700;
}

/* ------------------------------ Two-column -------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col-reverse {
  grid-template-columns: 1fr 1.1fr;
}

.two-col-reverse .two-col-media {
  order: -1;
}

.check-list {
  margin: 22px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  color: var(--color-gray-600);
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-size: 0.6rem;
  top: 7px;
}

/* ------------------------------ Photo frames -------------------------------- */
.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
}

.photo-frame--zoom img {
  transform: scale(1.35);
  object-position: center 58%;
}

.walkin-note {
  margin-top: 14px;
  color: var(--color-gray-600);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* -------------------------- Equipment teaser ------------------------------- */
.equipment-teaser {
  background: linear-gradient(120deg, var(--color-red), var(--color-red-dark));
}

.equipment-inner {
  padding: 40px 24px;
  color: #fff;
  text-align: center;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.equipment-inner h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.equipment-inner p {
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------- Gallery ----------------------------------- */
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  transition: transform 0.3s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(16, 16, 16, 0.28), rgba(16, 16, 16, 0.05) 45%, rgba(16, 16, 16, 0.7) 100%);
  z-index: 1;
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 16px 14px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* -------------------------------- Contact ---------------------------------- */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 22px 0 26px;
}

.contact-list li {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  color: var(--color-red);
}

.contact-icon svg {
  width: 17px;
  height: 17px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  background: var(--color-red);
  transform: translateY(-2px);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gray-600);
  margin-top: 12px;
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid var(--color-gray-200);
  border-radius: 6px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-red);
}

.contact-form button {
  margin-top: 20px;
}

.form-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-red);
  min-height: 1.2em;
}

/* -------------------------------- Footer ------------------------------------ */
.site-footer {
  background: var(--color-black);
  color: var(--color-gray-200);
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 64px;
  width: auto;
}

.footer-tagline {
  margin-top: 12px;
  color: var(--color-gray-400);
  font-size: 0.9rem;
}

.footer-links h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: var(--color-gray-200);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  padding: 20px 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-gray-400);
}

/* ------------------------------ Responsive ---------------------------------- */
@media (max-width: 900px) {
  .two-col,
  .two-col-reverse {
    grid-template-columns: 1fr;
  }

  .two-col-reverse .two-col-media {
    order: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .brand {
    transform: translate(-50%, calc(-50% + 25px));
  }

  .site-header.header-compact .brand {
    transform: translate(-50%, -50%);
  }

  .site-header.header-compact .brand::before {
    opacity: 0;
  }

  .site-header.header-compact .brand-logo {
    transform: scale(0.524);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-group {
    position: relative;
    z-index: 10;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--color-black);
    transition: max-height 0.25s ease;
  }

  .nav-group.is-open {
    max-height: 260px;
  }

  .nav-group-right.is-open {
    border-bottom: 3px solid var(--color-red);
  }

  .nav-link {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 0 60px;
  }

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

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