/* ── Rice's Kickboxing — Stylesheet ──────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --black:      #0A0A0A;
    --dark:       #141414;
    --dark2:      #1E1E1E;
    --dark3:      #2A2A2A;
    --red:        #CC1A1A;
    --red-light:  #E52020;
    --white:      #FFFFFF;
    --off-white:  #F0F0F0;
    --gray:       #999999;
    --light-gray: #CCCCCC;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; font-size: 16px; color: var(--off-white); background: var(--black); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; line-height: 1.15; font-weight: 700; letter-spacing: 0.02em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { margin-bottom: 1rem; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }

/* ── Buttons ── */
.btn { display: inline-block; padding: 0.9rem 2.2rem; border-radius: 3px; font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s, transform 0.1s; border: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-light); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); }
.btn-outline-red { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline-red:hover { background: var(--red); color: var(--white); }

/* ── Header ── */
header { background: var(--black); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--red); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.logo-img { height: 72px; width: auto; }
.logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 0.1em; color: var(--white); }
.logo-text span { color: var(--red); }
nav a { color: var(--light-gray); font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 2rem; transition: color 0.2s; }
nav a:hover { color: var(--red); }
nav a.active { color: var(--red); }
.nav-cta { background: var(--red) !important; color: var(--white) !important; padding: 0.45rem 1.1rem; border-radius: 3px; }
.nav-cta:hover { background: var(--red-light) !important; color: var(--white) !important; }

/* ── Hero ── */
.hero { position: relative; background: var(--black); color: var(--white); padding: 7rem 0 6rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('../images/gallery-11.jpg') 50% 30%/cover no-repeat; opacity: 0.35; }
.hero-content { position: relative; max-width: 750px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-block; background: var(--red); color: var(--white); font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.3rem 1rem; border-radius: 2px; margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.2rem; text-transform: uppercase; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 1.1rem; color: var(--light-gray); margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-logo { width: 180px; margin: 0 auto 2rem auto; }

/* ── Stats Bar ── */
.stats-bar { background: var(--red); padding: 1.25rem 0; }
.stats-inner { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--white); line-height: 1; display: block; }
.stat-label { font-family: 'Oswald', sans-serif; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

/* ── Section Labels ── */
.section-label { font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 0.5rem; display: block; text-align: center; }
.section-title { margin-bottom: 1rem; text-align: center; text-transform: uppercase; }
.section-sub { color: var(--gray); font-size: 1rem; max-width: 560px; margin: 0 auto 3rem auto; text-align: center; }

/* ── Classes Section ── */
.classes-section { background: var(--dark); }
.classes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.class-card { background: var(--dark2); border-radius: 4px; padding: 2rem; border-top: 3px solid var(--red); position: relative; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.class-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(204,26,26,0.2); }
.class-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.class-card h3 { color: var(--white); margin-bottom: 0.5rem; text-transform: uppercase; }
.class-card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 1.2rem; }
.class-tag { display: inline-block; background: rgba(204,26,26,0.15); color: var(--red); font-family: 'Oswald', sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; padding: 0.2rem 0.7rem; border-radius: 2px; border: 1px solid rgba(204,26,26,0.4); }

/* ── Schedule Section ── */
.schedule-section { background: var(--black); }
.schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 700px; margin: 0 auto; }
.schedule-day { background: var(--dark2); border-radius: 4px; overflow: hidden; }
.schedule-day-header { background: var(--red); padding: 1rem 1.5rem; }
.schedule-day-header h3 { color: var(--white); text-transform: uppercase; font-size: 1.4rem; letter-spacing: 0.1em; }
.schedule-times { padding: 1.25rem 1.5rem; }
.schedule-time { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--dark3); }
.schedule-time:last-child { border-bottom: none; }
.time-label { font-family: 'Oswald', sans-serif; font-size: 1.1rem; color: var(--white); }
.time-class { font-size: 0.9rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.schedule-note { text-align: center; color: var(--gray); font-size: 0.9rem; margin-top: 1.5rem; font-style: italic; }

/* ── Pricing Section ── */
.pricing-section { background: var(--dark); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--dark2); border-radius: 4px; padding: 2.5rem 2rem; text-align: center; border: 1px solid var(--dark3); transition: border-color 0.2s, transform 0.2s; }
.price-card:hover { border-color: var(--red); transform: translateY(-4px); }
.price-card.featured { border-color: var(--red); background: var(--dark3); }
.price-tag-label { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.1em; color: var(--light-gray); font-size: 1rem; margin-bottom: 0.25rem; }
.price-tag-sub { color: var(--gray); font-size: 0.85rem; margin-bottom: 1.5rem; }
.price-amount { font-family: 'Bebas Neue', sans-serif; font-size: 4rem; color: var(--red); line-height: 1; margin-bottom: 0.5rem; }
.price-amount span { font-size: 1.8rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.price-period { color: var(--gray); font-size: 0.85rem; margin-bottom: 1.5rem; }
.price-card ul { list-style: none; margin-bottom: 2rem; text-align: left; }
.price-card ul li { padding: 0.4rem 0; color: var(--light-gray); font-size: 0.9rem; padding-left: 1.4rem; position: relative; }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ── Gallery ── */
.gallery-section { background: var(--black); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery-item { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; background: var(--dark2); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--dark3); font-size: 3rem; background: var(--dark2); min-height: 220px; }

/* ── CTA Band ── */
.cta-band { background: var(--red); color: var(--white); padding: 4.5rem 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.75rem; text-transform: uppercase; }
.cta-band p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .big-phone { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--white); margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.cta-band .btn { margin: 0.4rem; }
.btn-white { background: var(--white); color: var(--red); font-weight: 700; }
.btn-white:hover { background: var(--off-white); }

/* ── Contact Page ── */
.contact-section { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.contact-info h3 { color: var(--white); margin-bottom: 1.5rem; text-transform: uppercase; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-item h4 { font-family: 'Oswald', sans-serif; color: var(--red); margin-bottom: 0.2rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item p { color: var(--gray); font-size: 0.95rem; margin: 0; }
.contact-item a { color: var(--red); font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }
.contact-form-wrap { background: var(--dark2); border-radius: 4px; padding: 2.5rem; border: 1px solid var(--dark3); }
.contact-form-wrap h3 { color: var(--white); margin-bottom: 1.5rem; text-transform: uppercase; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; color: var(--light-gray); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--dark3); border-radius: 3px; font-family: 'Open Sans', sans-serif; font-size: 0.95rem; color: var(--white); background: var(--dark3); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group select option { background: var(--dark3); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; background: rgba(204,26,26,0.15); color: var(--red); border: 1px solid var(--red); border-radius: 3px; padding: 1rem; margin-top: 1rem; text-align: center; font-weight: 600; }

/* ── Page Hero ── */
.page-hero { background: var(--black); color: var(--white); padding: 5rem 0; text-align: center; border-bottom: 2px solid var(--red); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('../images/gallery-11.jpg') 50% 30%/cover no-repeat; opacity: 0.1; }
.page-hero-content { position: relative; }
.page-hero h1 { text-transform: uppercase; margin-bottom: 1rem; }
.page-hero p { color: var(--gray); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── Footer ── */
footer { background: var(--black); color: var(--gray); padding: 3rem 0 2rem; border-top: 2px solid var(--dark2); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-top: 0.75rem; }
footer h4 { font-family: 'Oswald', sans-serif; color: var(--white); margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer ul li a { font-size: 0.9rem; color: var(--gray); transition: color 0.2s; }
footer ul li a:hover { color: var(--red); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.social-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gray); font-size: 0.9rem; transition: color 0.2s; }
.social-link:hover { color: var(--red); }
.footer-bottom { border-top: 1px solid var(--dark2); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
    section { padding: 3.5rem 0; }
    .nav-inner { flex-wrap: wrap; gap: 0.75rem; }
    nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
    nav a { margin-left: 0.75rem; font-size: 0.8rem; }
    .stats-inner { gap: 2rem; }
    .schedule-grid { grid-template-columns: 1fr; max-width: 400px; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cta-band .big-phone { font-size: 2.2rem; }
}

/* ── ANIMATIONS ── */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }

/* Hero entrance (runs on load) */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate .hero-badge { animation: heroFadeUp 0.4s ease 0.05s both; }
.hero-animate h1           { animation: heroFadeUp 0.5s ease 0.15s both; }
.hero-animate p            { animation: heroFadeUp 0.5s ease 0.26s both; }
.hero-animate .hero-actions{ animation: heroFadeUp 0.5s ease 0.36s both; }

/* CTA pulse glow — red glow on the primary button */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,26,26,0); }
  50%       { box-shadow: 0 0 18px 6px rgba(204,26,26,0.4); }
}
.btn-primary {
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.btn-primary:hover {
  animation: none;
  box-shadow: 0 0 22px 8px rgba(204,26,26,0.5);
}

/* Nav scroll shadow */
header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* Stat number — slight scale-in on counter fire */
@keyframes statPop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.stat-pop {
  animation: statPop 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
}
