/* ========== VARIABLES ========== */
:root {
    /* Colors */
    --bg-color: #050505;
    --surface-color: #111111;
    --surface-light: #1a1a1a;
    --text-color: #f5f5f7;
    --text-muted: #a1a1a6;
    --accent-red: #ff2a2a;
    --accent-blue: #00d2ff;
    
    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 0;
    
    /* Layout */
    --container-width: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial; /* Lenis handles this */
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* ========== LENIS SMOOTH SCROLL ========== */
html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}

/* ========== UTILITIES & COMPONENTS ========== */
.text-gradient {
    background: linear-gradient(90deg, var(--text-color) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--accent-red);
}

.glass-panel {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
}

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

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

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

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-light {
    font-weight: 300;
    color: var(--text-muted);
}

.logo-bold {
    font-weight: 800;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-red);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========== LOADER ========== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.loader-text {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    letter-spacing: 0.3rem;
    color: var(--text-color);
    text-align: center;
    line-height: 1.3;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.loader-sub {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--accent-red);
    letter-spacing: 0.1rem;
}
.loader-progress {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}
.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    animation: loadProgress 2s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height for parallax */
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4) 0%, rgba(5,5,5,0.95) 100%);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.2rem;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(100%);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-red);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ========== ABOUT SECTION ========== */
.about {
    background-color: var(--bg-color);
}
.about-container {
    display: flex;
    justify-content: flex-end;
}
.about-text {
    padding: 4rem;
    max-width: 800px;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.stat-num {
    font-size: 2.5rem;
    color: var(--text-color);
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== PRODUCTS SECTION ========== */
.products {
    background-color: var(--bg-color);
}
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 42, 42, 0.3);
}
.product-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-img {
    transform: scale(1.05);
}
.product-info {
    padding: 2rem;
}
.product-info.no-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    min-height: 250px;
    gap: 1rem;
}
.product-icon {
    margin-bottom: 1rem;
}
.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ========== GALLERY SECTION ========== */
.gallery {
    background-color: var(--surface-light);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 42, 42, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay span {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ========== WHY CHOOSE US ========== */
.why-us {
    background-color: var(--bg-color);
    padding: 6rem 0;
}
.why-us-content {
    padding: 4rem;
}
.text-center {
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    text-align: center;
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}
.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.feature-item p {
    color: var(--text-muted);
}

/* ========== REVIEWS SECTION ========== */
.reviews {
    background-color: var(--surface-light);
}
.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
    text-align: center;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    pointer-events: none;
    padding: 0 4rem;
}
.review-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}
.quote-icon {
    font-size: 3rem;
    color: var(--accent-red);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}
.review-text {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}
.review-author {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.footer {
    background-color: #000;
    padding-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-desc {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--accent-red);
    transform: translateY(-5px);
}
.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}
.footer-links a:hover {
    color: var(--accent-red);
    padding-left: 5px;
}
.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== FLOATING WHATSAPP ========== */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}
.float-wa:hover {
    transform: scale(1.1) translateY(-5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.05);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }
    .nav-links.active {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }
    .mobile-menu-btn {
        display: block;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .about-text, .why-us-content, .reviews-slider {
        padding: 2rem 1rem;
    }
    .review-slide {
        padding: 0 1rem;
    }
    .review-text {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .gallery-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
