/* Modern Light Blue Design System */
:root {
    --primary-blue: #2563eb; /* Vibrant Royal Blue from image */
    --light-blue: #dbeafe;
    --accent-blue: #60a5fa;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    zoom: 0.9; /* Scale down entire site by 10% */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header & Nav */
header {
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent; /* Initially transparent */
    transition: var(--transition); /* Smooth transition */
    display: flex;
    justify-content: center;
}

header.scrolled {
    background: rgba(37, 99, 235, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 5%; /* Shrink slightly on scroll */
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.split-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
}

.nav-left, .nav-right {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex: 1;
}

.nav-left { justify-content: flex-end; padding-right: 3rem; }
.nav-right { justify-content: flex-start; padding-left: 3rem; }

.split-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
}

.split-nav a:hover {
    color: var(--accent-blue);
}

.nav-whatsapp {
    background: #25d366;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-whatsapp:hover {
    background: #128c7e !important;
    color: white !important;
    transform: scale(1.05);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

.logo img {
    height: 70px;
    object-fit: contain;
}

.btn-ingresa {
    background: var(--text-white);
    color: var(--primary-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-ingresa:hover {
    background: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%; /* 4 original + 1 duplicate */
    height: 100%;
    display: flex;
    animation: slideChange 20s ease-in-out infinite; /* Smoother transitions with pauses */
    z-index: 1;
}

@keyframes slideChange {
    0%, 20% { transform: translateX(0); }
    25%, 45% { transform: translateX(-20%); }
    50%, 70% { transform: translateX(-40%); }
    75%, 95% { transform: translateX(-60%); }
    100% { transform: translateX(-80%); }
}

.hero-slide {
    width: 20%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Subtle Ken Burns Effect */
.hero-slide {
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.1) translateX(-20px); }
}

/* Overlay for readability */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.65), rgba(30, 58, 138, 0.8));
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-80%); } /* Slide through 4 out of 5 images */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 80px 5% 0; /* Reduced top padding as header is shorter now */
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: clamp(4px, 2vw, 10px);
    color: #ffffff;
    text-shadow: 
        0 10px 30px rgba(0,0,0,0.5),
        0 0 20px rgba(37, 99, 235, 0.3);
    animation: 
        titleReveal 1.5s cubic-bezier(0.2, 0, 0.2, 1) forwards,
        titlePulse 3s ease-in-out infinite alternate 1.5s; /* Constant pulse after reveal */
}

@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
        letter-spacing: 30px;
        filter: blur(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: clamp(4px, 2vw, 10px);
        filter: blur(0);
    }
}

@keyframes titlePulse {
    0% {
        text-shadow: 
            0 10px 30px rgba(0,0,0,0.5),
            0 0 20px rgba(37, 99, 235, 0.3);
        transform: scale(1);
    }
    100% {
        text-shadow: 
            0 10px 40px rgba(0,0,0,0.6),
            0 0 40px rgba(37, 99, 235, 0.6);
        transform: scale(1.02);
    }
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Grid Sections */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.grid-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.category-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
    cursor: pointer;
}

.category-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: var(--accent-blue);
    transition: var(--transition);
}

.category-card:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.category-card p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Features Section */
#other-products {
    padding: 8rem 10%;
    background: rgba(255,255,255,0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.feature-item {
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
    color: var(--accent-blue);
    transition: var(--transition);
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ffffff;
}

.feature-item h4 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    color: #ffffff;
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.2);
    padding: 5rem 10% 2rem;
    border-top: 1px solid var(--glass-border);
    color: white;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.footer-info h3, .footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-info p, .footer-contact p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-blue);
}

.footer-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    height: 60px;
    object-fit: contain;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-branding {
        order: -1;
    }
}

.cta-main {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
    transition: var(--transition);
}

.cta-main:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 210, 255, 0.4);
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(2rem, 12vw, 2.5rem);
        letter-spacing: 2px;
    }
    
    .split-nav {
        gap: 1rem;
        flex-direction: column;
        padding-top: 1rem;
    }

    .split-nav a {
        font-size: 0.8rem;
    }

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: #fefefe;
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 650px;
    max-height: 90vh; /* Don't exceed viewport height */
    overflow-y: auto; /* Scroll if content is too long */
    text-align: center;
    position: relative;
    color: #333;
    animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

@keyframes modalIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #333;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128c7e;
}



/* FAQ Section */
#faq {
    padding: 5rem 10%;
    background: #ffffff;
    color: #0f172a;
}

#faq .section-title h2 {
    color: #0f172a;
}

#faq .section-title p {
    color: var(--accent-blue);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #0f172a;
    transition: var(--transition);
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-answer {
    color: #475569;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
    opacity: 1;
    border-top: 1px solid #e2e8f0;
}

.faq-item i {
    transition: transform 0.3s ease;
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* Marquee Section */
#brands-marquee {
    background: rgba(255, 255, 255, 0.05);
    padding: 6rem 0;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.marquee-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.marquee-container {
    display: flex;
    width: 200%;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    animation: scrollBrands 30s linear infinite;
    align-items: center;
}

.brand-item {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    opacity: 0.4;
    white-space: nowrap;
    transition: var(--transition);
}

.brand-item:hover {
    opacity: 1;
    color: var(--accent-blue);
    transform: scale(1.1);
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Workshop Section */








/* Shop Section */
#shop {
    padding: 5rem 10%;
    background: #ffffff;
    color: #0f172a;
}

#shop .section-title h2 {
    color: #0f172a;
}

#shop .section-title p {
    color: var(--accent-blue);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-img {
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f1f5f9; /* Soft grey background to highlight the product */
    transition: var(--transition);
    margin: 10px;
    border-radius: 15px;
}

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

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

.product-info h3 {
    color: #0f172a;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.btn-ver-mas {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover .btn-ver-mas {
    background: var(--accent-blue);
    color: white;
}

/* Media Queries for Full Responsiveness */
@media (max-width: 1024px) {
    html { zoom: 1; } /* Reset zoom on tablets/mobile for better control */
    
    .hero-content h1 { font-size: 3.5rem; }
    .split-nav { padding: 0 2rem; }
    .nav-left, .nav-right { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-left, .nav-right {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(37, 99, 235, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
        padding: 0;
    }

    .nav-left {
        left: -100%;
    }

    .nav-right {
        right: -100%;
    }

    .nav-left.active { transform: translateX(100%); }
    .nav-right.active { transform: translateX(-100%); }

    .split-nav a {
        font-size: 1.5rem;
    }

    .nav-whatsapp {
        font-size: 1.2rem !important;
    }

    /* Section adjustments */
    .hero-content h1 { 
        font-size: clamp(1.8rem, 10vw, 2.2rem); 
        letter-spacing: 2px;
    }
    .hero-content p { font-size: 1rem; }
    
    .section-title h2 { font-size: 2rem; }
    
    .footer-container,
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .grid-categories {
        grid-template-columns: 1fr;
    }
    
    .stat-number { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { 
        font-size: clamp(1.5rem, 8vw, 1.8rem); 
        letter-spacing: 1px;
    }
    .logo img { height: 50px; }
    .whatsapp-btn { width: 50px; height: 50px; font-size: 30px; bottom: 20px; right: 20px; }
}

