/* Design System for Cleaning Cap SP - Premium Subtle Neon */
:root {
    --primary: #00d4d4; /* Soft teal cyan */
    --secondary: #d400d4; /* Soft magenta */
    --accent: #66b3ff; /* Soft sky blue */
    --bg-dark: #0a0a0a; /* Very dark */
    --bg-surface: #121214;
    --text-light: #F5F5F5;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.85);
    --neon-shadow: 0 0 8px rgba(0, 200, 200, 0.4), 0 0 12px rgba(0, 200, 200, 0.2);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Background Decoration */
.bg-blob {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.38; /* Más intenso para quitar lo opaco */
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 25s infinite alternate;
}

.blob-1 { top: -250px; left: -250px; }
.blob-2 { 
    bottom: -250px; 
    right: -250px; 
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%); 
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 120px) scale(1.1); }
    100% { transform: translate(-60px, 60px) scale(0.9); }
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

/* Estilos Globales para Formularios */
input, select, textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-family: inherit;
    transition: var(--transition);
}

select option {
    background-color: #121214 !important; /* Fondo oscuro para que se vea el texto */
    color: white !important;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(0, 212, 212, 0.3);
}

/* Category Filters */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 5%;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    transition: var(--transition);
}

nav .logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(0, 212, 212, 0.2);
}

nav .nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav .nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: var(--neon-shadow);
}

nav .nav-links a:hover {
    opacity: 1;
    color: var(--primary);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

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

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
    box-shadow: 0 0 5px rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--neon-shadow);
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 900;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-btn:hover {
    transform: scale(1.1) translateY(-5px);
}

.social-btn.wa:hover {
    background: #25D366;
    border-color: #25D366;
    box-shadow: 0 0 15px #25D366;
}

.social-btn.ig:hover {
    background: #E1306C;
    border-color: #E1306C;
    box-shadow: 0 0 15px #E1306C;
}

.social-btn.tk:hover {
    background: #000000;
    border-color: #00f2ea;
    box-shadow: 0 0 15px #ff0050;
}

.social-btn.fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 0 15px #1877F2;
}

.social-btn.tk:hover {
    background: #000000;
    border-color: #ff0050;
    box-shadow: -2px -2px 10px #00f2fe, 2px 2px 10px #ff0050;
}

/* Footer */
footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
    background: var(--bg-surface);
}

/* Cart Icon in Nav */
.cart-icon-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-icon-container:hover {
    background: rgba(0, 255, 255, 0.1);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--secondary);
}

/* Responsive */
@media (max-width: 900px) {
    nav .nav-links { 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
    }
    nav .nav-links.active {
        transform: translateY(0);
    }
    nav .nav-links a {
        font-size: 1.5rem;
    }
    .hamburger { display: flex; z-index: 1002; }
    
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    .hero h1 { font-size: 3.5rem; }
}

/* Product Badges */
.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 212, 0.1);
    color: var(--primary);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(0, 212, 212, 0.2);
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 0.7rem;
    border: 1px solid var(--glass-border);
}

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

/* Product Slider Styles */
.product-slider {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

/* Product Image Modal (Lightbox) */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.product-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-modal-overlay.active .product-modal-content {
    transform: scale(1);
}

.product-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 3100;
}

.product-modal-close:hover {
    color: var(--primary);
    transform: scale(1.2) rotate(90deg);
}

.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.8rem;
    backdrop-filter: blur(10px);
    z-index: 3100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.modal-arrow:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.modal-arrow.prev { left: 40px; }
.modal-arrow.next { right: 40px; }

@media (max-width: 1100px) {
    .modal-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        background: rgba(0, 0, 0, 0.5);
    }
    .modal-arrow.prev { left: 15px; }
    .modal-arrow.next { right: 15px; }
}

#modal-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 212, 212, 0.2);
    object-fit: contain;
    border: 1px solid var(--glass-border);
    transition: opacity 0.3s ease;
}

.product-modal-info {
    margin-top: 25px;
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.product-modal-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.product-modal-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Cursor pointer for clickable images */
.product-slider img, .menu-item img {
    cursor: zoom-in;
}

/* Fade-in Animation for Products */
.menu-item.reveal {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
}

.menu-item.reveal.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#infinite-scroll-sentinel {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes pulse-cart {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.pulse-cart {
    animation: pulse-cart 0.4s ease-out;
    color: var(--primary) !important;
}

@keyframes pulse-skeleton {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}
