@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Oswald:wght@400;500;700&display=swap');

:root {
    /* Colors - Dark Mode (Default) */
    --bg-body: #000000;
    --bg-surface: #000000;
    --bg-card: #0a0a0a;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --primary: #FF0000; /* Vibrant Red from reference */
    --primary-hover: #cc0000;
    --accent: #ffffff;
    --border-color: #222222;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
}

[data-theme="light"] {
    --bg-body: #ffffff;
    --bg-surface: #f5f5f5;
    --bg-card: #ffffff;
    --text-main: #121212;
    --text-muted: #555555;
    --primary: #ff3b30;
    --primary-hover: #d32f2f;
    --accent: #121212;
    --border-color: #e0e0e0;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

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

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

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-body);
}

/* Component: Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

/* Header Styles */
.main-header {
    background-color: var(--bg-surface);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

/* Mobile Menu */
@media (max-width: 900px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-surface);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .sm-hidden {
        display: none;
    }
}

/* Footer Styles */
.main-footer {
    background-color: var(--bg-surface);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 300px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

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

.footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1540496905036-5937c10647ad?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -85px; /* Pull behind transparent header if we want, but header is sticky solid now. Adjust later. */
}

/* Adjust for sticky header being solid */
.hero-section {
    margin-top: 0;
    height: calc(100vh - 85px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.text-stroke {
    -webkit-text-stroke: 2px var(--primary);
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero-btns .btn {
        width: 100%;
    }
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
    background-color: var(--bg-surface);
}

.feature-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 4px; /* Slight rounded or sharp matching brand */
    text-align: center;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.icon-box {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--text-main);
}

/* Programs Section */
.programs-section {
    padding: var(--section-padding);
}

.program-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: var(--transition-fast);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.program-img {
    height: 250px;
    overflow: hidden;
}

.program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-info {
    padding: 25px;
}

.program-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

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

.btn-link {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    gap: 12px;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
    background-color: var(--bg-surface);
}

.pricing-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition-fast);
}

.pricing-card.highlight-card {
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 2;
    background-color: #2a2a2a;
}

.plan-header h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-features {
    text-align: left;
    margin-bottom: 30px;
}

.plan-features li {
    margin-bottom: 15px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: var(--primary);
}

/* Trainers Section */
.trainers-section {
    padding: var(--section-padding);
}

.trainer-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.trainer-img {
    height: 400px;
    position: relative;
}

.trainer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.trainer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    z-index: 2;
}

.trainer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.trainer-info span {
    color: var(--primary);
    font-weight: 600;
}

/* Gallery Section */
.gallery-section {
    padding: var(--section-padding);
    background-color: var(--bg-surface);
}

.gallery-grid {
    gap: 15px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stars {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
    background-color: var(--bg-surface);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 15px;
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.map-container {
    height: 300px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.direct-contact {
    display: flex;
    gap: 15px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
}

@media (max-width: 900px) {
    .pricing-card.highlight-card {
        transform: scale(1);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}
