/* --- Global Styles & Variables (Mobile First) --- */
:root {
    --primary-color: #9efcff; /* Gold */
    --secondary-color: #1a1a1a;
    --background-color: #0f0f0f;
    --text-color: #9efcff;
    --heading-font: 'Teko', sans-serif;
    --body-font: 'Poppins', sans-serif;
    --transition-speed: 0.3s ease;
    --header-height: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

ul { list-style: none; }
a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1200px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.section {
    padding: 4rem 0 2rem;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.1;
}

.section-title span {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    transition: all var(--transition-speed);
    cursor: pointer;
    border: 2px solid var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--secondary-color);
    border-color: transparent;
}
.btn-secondary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
}
.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* --- Header & Navbar --- */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.header.scrolled {
    background-color: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}
.logo span { color: var(--primary-color); }

.nav-join-btn { display: none; }
.nav-toggle { font-size: 1.5rem; cursor: pointer; }

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background-color: var(--secondary-color);
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    padding: 6rem 2rem 4rem;
    transition: right 0.4s ease-in-out;
}
.nav-list { display: flex; flex-direction: column; gap: 2.5rem; }
.nav-link { color: var(--text-color); font-weight: 500; }
.nav-link:hover { color: var(--primary-color); }
.nav-close { position: absolute; top: 1.2rem; right: 1.5rem; font-size: 1.8rem; cursor: pointer; }
.nav-menu.show-menu { right: 0; }

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('https://images.unsplash.com/photo-1581009146145-b5ef050c2e1e?q=80&w=2670&auto=format&fit=crop') no-repeat center center/cover;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); }
.hero-content { position: relative; z-index: 1; }
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
.hero-title span { color: var(--primary-color); }
.hero-subtitle { font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; font-weight: 300; }

/* --- About Section --- */
.about-container { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.about-image { order: -1; }
.about-image img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.stats { display: flex; justify-content: space-around; text-align: center; margin-top: 2rem; }
.stat-item h3 { font-family: var(--heading-font); font-size: 2.5rem; color: var(--primary-color); line-height: 1; }
.stat-item p { font-size: 0.9rem; margin: 0; }

/* --- Carousel --- */
.carousel { position: relative; }
.carousel-track-container { overflow: hidden; }
.carousel-track {
    padding: 0;
    margin: 0;
    display: flex;
    transition: transform 300ms ease-in-out;
}
.carousel-slide {
    padding: 0 0.5rem;
    flex-shrink: 0;
    width: 100%;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 40, 40, 0.7);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-speed);
}
.carousel-button:hover { background-color: var(--primary-color); color: var(--secondary-color); }
.carousel-button.is-hidden { display: none !important; }
.carousel-button--left { left: 0.5rem; }
.carousel-button--right { right: 0.5rem; }

/* Class Carousel */
.class-card-inner {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.class-card-inner img { width: 100%; height: 220px; object-fit: cover; }
.class-info { padding: 20px; }
.class-info h3 { font-family: var(--heading-font); font-size: 1.8rem; color: var(--primary-color); margin-bottom: 10px; }

/* Testimonial Carousel */
.testimonials-section { background-color: var(--secondary-color); }
.testimonial-card-inner {
    background: var(--background-color);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-text { font-style: italic; margin-bottom: 20px; flex-grow: 1; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-author img { width: 50px; height: 50px; border-radius: 50%; margin-right: 15px; object-fit: cover; }
.author-info h4 { font-weight: 600; color: #fff; }
.author-info p { font-size: 0.9rem; color: var(--primary-color); }

/* --- Membership Section --- */
.pricing-grid { display: grid; gap: 2rem; }
.pricing-card {
    background-color: var(--secondary-color);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.pricing-card.featured { border-color: var(--primary-color); }
.featured-badge {
    position: absolute;
    top: 10px;
    right: -45px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-card h3 { font-family: var(--heading-font); font-size: 2.2rem; margin-bottom: 1rem; }
.price { font-size: 3.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 1.5rem; }
.price sup { font-size: 1.5rem; top: -1.5em; }
.price span { font-size: 1rem; font-weight: 400; color: var(--text-color); }
.pricing-card ul { margin-bottom: 2rem; text-align: left; display: inline-block; }
.pricing-card ul li { margin-bottom: 1rem; }
.pricing-card ul li i { margin-right: 10px; width: 20px; }
.pricing-card ul li .fa-check { color: #28a745; }
.pricing-card ul li .fa-times { color: #dc3545; }

/* --- Trainers & Contact --- */
.trainers-section { background-color: var(--secondary-color); }
.trainers-grid { display: grid; gap: 2rem; }
.trainer-card { position: relative; border-radius: 10px; overflow: hidden; }
.trainer-card img { width: 100%; height: 400px; object-fit: cover; }
.trainer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}
.trainer-info h3 { font-family: var(--heading-font); font-size: 2rem; color: var(--primary-color); margin-bottom: 5px; }
.contact-wrapper { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--body-font);
}
.contact-form button { width: 100%; border: none; }
.contact-info h3 { font-family: var(--heading-font); font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem; }

/* --- Footer --- */
.footer { background-color: var(--secondary-color); padding-top: 4rem; text-align: center; }
.footer-content { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-about .logo { font-size: 2rem; }
.footer-about p { margin-top: 1rem; }
.footer-links h3, .footer-social h3 { font-family: var(--heading-font); font-size: 1.8rem; color: #fff; margin-bottom: 1.5rem; }
.social-icons { display: flex; justify-content: center; gap: 1.5rem; }
.social-icons a { color: var(--text-color); font-size: 1.5rem; }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; font-size: 0.9rem; }

/* --- Media Queries (Desktop) --- */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
    .section {
        padding: 6rem 0 2rem;
    }
    .section-title { font-size: 3.5rem; }
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
    }
    .nav-list { flex-direction: row; gap: 2.5rem; }
    .nav-toggle, .nav-close { display: none; }
    .nav-join-btn { display: block; }
    
    .hero-title { font-size: 6rem; }
    .hero-subtitle { font-size: 1.3rem; }

    .about-container { grid-template-columns: 1fr 1fr; align-items: center; }
    .about-image { order: 0; }
    
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-card.featured { transform: scale(1.05); }
    .pricing-card.featured:hover { transform: scale(1.1); }

    .trainers-grid { grid-template-columns: repeat(3, 1fr); }
    
    .contact-wrapper { grid-template-columns: 2fr 1fr; }

    .footer-content { grid-template-columns: 2fr 1fr 1fr; text-align: left; }
    .social-icons { justify-content: flex-start; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .section-title { font-size: 4rem; }
    .hero-title { font-size: 7rem; }
    .logo { font-size: 2.5rem; }
    .about-container { gap: 4rem; }
    .carousel-button--left { left: -25px; }
    .carousel-button--right { right: -25px; }
}



