/*
    BODYCRAFT - FITNESS TRAINER
*/

:root {
    --bg: #f5f5f5;
    --bg-dark: #e8e8e8;
    --black: #111;
    --gray: #666;
    --light-gray: #999;
    --white: #fff;
    --line: rgba(0, 0, 0, 0.1);
}

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

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* 
   HEADER NAVIGATION
   Fixed glass-effect header
*/
header {
    position: fixed;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(245, 245, 245, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: transform 0.3s ease;
}

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

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 4px;
    color: var(--black);
}

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

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

.nav-links a:hover {
    color: var(--black);
}

.header-cta {
    padding: 0.8rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.header-cta:hover {
    background: var(--gray);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--black);
}

/* 
   HERO SECTION
   Split layout with image and stats overlay
*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: calc(100vh - 80px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem 4rem 0;
    border-right: 1px solid var(--line);
}

.hero-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--black);
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 7rem;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 3rem;
    max-width: 400px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.2rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #333;
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    border-color: var(--black);
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s;
}

.hero-image:hover img {
    filter: grayscale(0%);
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
}

.stat p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

/* Features */
.features {
    padding: 6rem 0;
    border-bottom: 1px solid var(--line);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.section-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
}

.section-header p {
    color: var(--gray);
    font-size: 0.85rem;
    max-width: 300px;
    text-align: right;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-card {
    padding: 2.5rem;
    border-right: 1px solid var(--line);
    transition: background 0.3s;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background: var(--bg-dark);
}

.feature-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Programs */
.programs {
    padding: 6rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.program-card {
    border-right: 1px solid var(--line);
    transition: background 0.3s;
}

.program-card:last-child {
    border-right: none;
}

.program-card:hover {
    background: var(--bg);
}

.program-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s;
    border-bottom: 1px solid var(--line);
}

.program-card:hover .program-image {
    filter: grayscale(0%);
}

.program-content {
    padding: 2.5rem;
}

.program-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.program-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.program-content p {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.program-features li::before {
    content: '→';
    color: var(--black);
}

.program-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.program-price .amount {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
}

.program-price .period {
    color: var(--gray);
    font-size: 0.8rem;
}

.program-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: center;
    background: transparent;
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--line);
    transition: all 0.3s;
}

.program-btn:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

/* Results */
.results {
    padding: 6rem 0;
    border-bottom: 1px solid var(--line);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.result-card {
    border-right: 1px solid var(--line);
    transition: background 0.3s;
}

.result-card:last-child {
    border-right: none;
}

.result-card:hover {
    background: var(--bg-dark);
}

.result-image {
    aspect-ratio: 3/4;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s;
    border-bottom: 1px solid var(--line);
}

.result-card:hover .result-image {
    filter: grayscale(0%);
}

.result-content {
    padding: 1.5rem;
}

.result-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-content p {
    font-size: 0.75rem;
    color: var(--gray);
}

.result-tag {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 0.6rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* CTA */
.cta {
    padding: 8rem 0;
    background: var(--black);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--light-gray);
    margin-bottom: 3rem;
    font-size: 1rem;
}

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

.cta .btn-primary:hover {
    background: var(--bg);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--line);
}

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

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

footer p {
    color: var(--gray);
    font-size: 0.8rem;
}

/* 
   RESPONSIVE LAYOUT
*/
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 5rem;
    }

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

    .feature-card:nth-child(2) {
        border-right: none;
    }

    .feature-card:nth-child(1),
    .feature-card:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }

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

    .result-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

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

    .hero-content {
        border-right: none;
        padding: 6rem 0 3rem;
    }

    .hero-image {
        height: 500px;
    }

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

    .program-card:nth-child(2) {
        border-right: none;
    }

    .program-card:nth-child(1),
    .program-card:nth-child(2) {
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-cta {
        display: none;
        /* Toggle handled via JS */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 2rem;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    body,
    html {
        overflow-x: hidden;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header p {
        text-align: left;
    }

    .features-grid,
    .programs-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .program-card,
    .result-card {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .feature-card:last-child,
    .program-card:last-child,
    .result-card:last-child {
        border-bottom: none;
    }

    .cta h2 {
        font-size: 3rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
