:root {
    --bg-dark: #FFFFFF;
    --bg-darker: #F8F9FA;
    --bg-card: #FFFFFF;
    --color-primary: #E50914; /* Electric Red */
    --color-primary-glow: rgba(229, 9, 20, 0.3);
    --color-accent: #FF5E00;
    --text-main: #111111;
    --text-muted: #555555;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* Buttons */
button {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 1rem 2.5rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #FFF;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--color-primary-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(229, 9, 20, 0.1);
    box-shadow: 0 0 20px var(--color-primary-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.2);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(0,0,0,0.05);
}

/* Typography Helpers */
.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--color-primary);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-main);
}

.navbar:not(.scrolled) .logo {
    color: #FFF; /* Keep logo white when over dark hero image */
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar:not(.scrolled) .nav-links a {
    color: #FFF; /* Keep links white when over dark hero image */
}

.nav-links a:hover {
    color: var(--color-primary) !important;
}

.nav-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.navbar:not(.scrolled) .hamburger {
    color: #FFF;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Keep hero somewhat dark so the white text reads well, but lighten it */
    background: radial-gradient(circle at 70% 50%, rgba(229, 9, 20, 0.1), transparent 60%),
                linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin-top: 5rem;
    color: #FFF; /* Force white text for contrast on hero */
}

.fade-up {
    animation: fadeUpAnim 1s ease forwards;
}

@keyframes fadeUpAnim {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-label {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #CCC;
}

.headline {
    font-size: 6rem;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.text-glow {
    color: var(--color-primary);
}

.subheadline {
    font-size: 1.2rem;
    color: #E0E0E0;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-buttons .btn-secondary {
    color: #FFF;
    border-color: #FFF;
}

.hero-buttons .btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #E0E0E0;
}

/* General Section */
.section {
    padding: 6rem 5%;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 4px;
    filter: brightness(0.95);
}

.experience-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: var(--color-primary);
    color: #FFF;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

.experience-badge h4 { font-size: 3rem; line-height: 1; }
.experience-badge p { font-size: 1rem; font-weight: 700; }

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-list li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
}

.about-list i {
    color: var(--color-primary);
}

/* Programs Section */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.program-img {
    width: 100%; height: 60%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.program-card:hover .program-img {
    transform: scale(1.05);
}

.program-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.1);
}

.program-info {
    padding: 1.5rem;
    height: 40%;
    background: var(--bg-card);
    position: relative;
    z-index: 2;
}

.program-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.program-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.program-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Trainers Section */
.trainer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trainer-card {
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.trainer-img {
    height: 350px;
    background-size: cover;
    background-position: top;
    transition: filter 0.4s ease;
}

.trainer-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 350px;
    background: rgba(229, 9, 20, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: #FFF;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-icons i:hover {
    transform: scale(1.2);
}

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

.trainer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.trainer-info p {
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.trainer-info .exp {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Transformation Section */
.transform-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.transform-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.img-wrapper img {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: -20px 20px 0 var(--color-primary-glow);
}

/* Features Bar */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    text-align: center;
}

.feature-item {
    background: var(--bg-card);
    padding: 2rem 1rem;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
}

.f-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
}

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

.pricing-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
}

.pricing-card.popular {
    background: #111;
    color: #FFF;
    border: 1px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.popular .btn-outline {
    border-color: #FFF;
    color: #FFF;
}
.pricing-card.popular .btn-outline:hover {
    background: #FFF;
    color: #111;
}

.popular-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #FFF;
    padding: 0.3rem 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    font-size: 1rem;
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.popular h3 { color: #FFF; }

.price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.price span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
}

.plan-features li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.plan-features i {
    width: 20px;
    color: var(--color-primary);
    margin-right: 10px;
}

.plan-features i.text-muted {
    color: #CCC;
}

/* Testimonials */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0; left: 0; width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
}

.stars {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.t-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.t-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.t-author img {
    width: 60px; height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.t-author h4 {
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    text-align: center;
    padding: 8rem 5%;
    background-image: url('https://images.unsplash.com/photo-1540497077202-7c8a3999166f?q=80&w=2070&auto=format&fit=crop');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85);
}

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

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2rem;
    color: var(--color-primary);
}

.info-item h4 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-darker);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    border-color: var(--color-primary);
}

/* Footer */
footer {
    background: #111;
    color: #FFF;
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.f-brand .logo {
    color: #FFF;
}

.f-brand p {
    color: #AAA;
    font-size: 0.9rem;
    margin: 1.5rem 0;
}

.f-socials {
    display: flex;
    gap: 1rem;
}

.f-socials i {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.f-socials i:hover {
    background: var(--color-primary);
}

.f-links h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.f-links ul {
    list-style: none;
}

.f-links li {
    margin-bottom: 0.8rem;
}

.f-links a {
    color: #AAA;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .headline { font-size: 4rem; }
    .about-container, .transform-container, .contact-container { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .trainer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    .pricing-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.4s ease;
        pointer-events: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .navbar:not(.scrolled) .nav-links {
        background: rgba(0,0,0,0.9);
    }
    .navbar.scrolled .nav-links {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .hamburger { display: block; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .input-row { flex-direction: column; }
    .nav-btn { display: none; }
    .headline { font-size: 3.5rem; }
}
