/* CSS Variables */
:root {
    --primary: #ee2d28;
    --light-grey: #9e9e9e;
    --dark-grey: #676767;
    --black: #000000;
    --white: #ffffff;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-dark: linear-gradient(35deg, #000 22%, #520f0d 67%, #ee2d28);
    --gradient-dark-overlay: linear-gradient(35deg, rgba(0, 0, 0, 0.5) 22%, rgba(82, 15, 13, 0.4) 86%, rgba(238, 45, 40, 0.3));
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--dark-grey);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

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

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

/* Light button variant for dark backgrounds */
.btn-light {
    background-color: var(--white);
    color: var(--black);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: var(--primary);
}

.header.scrolled .nav-link {
    color: var(--black);
    text-shadow: none;
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .mobile-menu-btn span {
    background-color: var(--black);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/hero image.webp');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-dark-overlay);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
    padding-top: 80px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 0.85;
    letter-spacing: 0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--black);
}

.about-text p {
    color: var(--dark-grey);
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Location Section */
.location {
    padding: 6rem 0;
    background: var(--gradient-dark);
    text-align: center;
    color: var(--white);
}

.location h2 {
    color: var(--white);
}

.location-address {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.location-directions {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 3rem;
}

.location-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.location-images img {
    border-radius: 8px;
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.location-map {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.location-map iframe {
    border-radius: 8px;
    width: 100%;
}

.location-map .btn {
    align-self: center;
}

/* Schedule Section */
.schedule-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.schedule-section h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.section-intro {
    text-align: center;
    color: var(--dark-grey);
    margin-bottom: 3rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-item {
    background-color: var(--white);
    border-radius: 8px;
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.schedule-day {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--black);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.schedule-time {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.schedule-class {
    font-size: 0.9375rem;
    color: var(--dark-grey);
    font-weight: 500;
}

.schedule-toggle {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    color: var(--light-grey);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
    margin-top: 0.75rem;
    padding: 0;
    font-family: var(--font-body);
    transition: color 0.2s ease;
}

.schedule-item:hover .schedule-toggle {
    color: var(--primary);
}

.schedule-item.expanded .schedule-toggle {
    color: var(--primary);
}

.schedule-desc {
    font-size: 0.8125rem;
    color: var(--light-grey);
    margin-top: 0.5rem;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.schedule-item.expanded .schedule-desc {
    max-height: 100px;
    opacity: 1;
}

.schedule-note {
    text-align: center;
    color: var(--dark-grey);
    font-size: 0.9375rem;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background-color: #f8f8f8;
}

.pricing-section h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 3rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.pricing-card .price {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.pricing-card .period {
    display: block;
    font-size: 0.875rem;
    color: var(--light-grey);
    margin-bottom: 1rem;
}

.pricing-card p {
    color: var(--dark-grey);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.pricing-note {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(238, 45, 40, 0.1);
    border-radius: 4px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Coaches Section */
.coaches {
    padding: 6rem 0;
    background: var(--gradient-dark);
}

.coaches h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
}

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

.coach-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
}

.coach-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.coach-info {
    padding: 0 2rem 2rem;
    text-align: center;
}

.coach-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.coach-role {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
}

.coach-info .belt {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.coach-info p {
    color: var(--dark-grey);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* Community Section */
.community {
    padding: 6rem 0;
    background-color: var(--white);
}

.community h2 {
    text-align: center;
    color: var(--black);
}

.community-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--dark-grey);
    font-size: 1.125rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit {
    text-align: center;
    padding: 1.5rem;
}

.benefit h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.benefit p {
    color: var(--dark-grey);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Slideshow */
.slideshow {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.slideshow-container .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slideshow-container .slide.active {
    opacity: 1;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    z-index: 10;
}

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

.slideshow-btn.prev {
    left: 1rem;
}

.slideshow-btn.next {
    right: 1rem;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--light-grey);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.slideshow-dots .dot.active {
    background-color: var(--primary);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta > .container > p {
    color: var(--light-grey);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-grey);
}

.contact-item a {
    color: var(--white);
    font-weight: 500;
}

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

.contact-address {
    color: var(--light-grey);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background-color: #111;
    text-align: center;
}

.footer p {
    color: var(--light-grey);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--white);
}

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

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid #eee;
        color: var(--black);
        text-shadow: none;
    }

    .nav-link:hover {
        color: var(--primary);
    }

    .hero {
        background-attachment: scroll;
    }

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

    .about-image {
        order: -1;
    }

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

    .location-images img {
        height: 220px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding-top: 100px;
    }

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

    .pricing-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
