/* styles.css - Tema Navidad */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a3a2a;
    --secondary-color: #c41e3a;
    --accent-color: #d4af37;
    --text-color: #f5f5f5;
    --light-gray: #0a3a2a;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(196, 30, 58, 0.3);
    --gradient: linear-gradient(135deg, #0a3a2a00 0%, #165a4300 100%);
    --christmas-red: #c41e3a;
    --christmas-green: #165a43;
    --christmas-gold: #d4af37;
    --christmas-dark: #0a3a2a;
    --card-bg: #165a43;
    --section-bg: #0a3a2a;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--christmas-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAV ESTILOS */
.nuevo-navbar {
    background: linear-gradient(90deg, #0a3a2a00, #165a4300);
    color: #ffffff;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0);
    font-family: 'Segoe UI', sans-serif;
    z-index: 999;
    border-bottom: 2px solid #bbff0000;
}

/* Contenedor principal */
.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Logo */
.nav-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Botón toggle (para móvil) */
.nav-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    color: #d4af37;
    cursor: pointer;
}

/* Menú principal */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    transition: all 0.3s ease-in-out;
    align-items: center;
}

/* Enlaces del menú */
.nav-menu li a {
    text-decoration: none;
    color: #ffffff;
    padding: 0.6rem 1rem;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    border-radius: 8px;
}

/* sombra enlaces de mas categorias */
.nav-menu li a:hover {
    background: #c41e3a;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(52, 196, 30, 0);
}

/* Botón dropdown con mismo estilo que los links del menú */
.nuevo-navbar .dropdown-toggle-btn {
    text-decoration: none;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    display: inline-block;
    cursor: pointer;
    font-family: inherit;
    background: transparent;
    border: none;
    font-size: 1rem;
}

.nuevo-navbar .dropdown-toggle-btn:hover,
.nuevo-navbar .dropdown-toggle-btn:focus-visible {
    background: #c41e3a;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(196, 30, 58, 0.6);
    outline: none;
}

/* Versión móvil */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 1rem;
        background: #1e4b0000;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    /* Botón categorías centrado en móvil */
    .nuevo-navbar .dropdown-toggle-btn {
        width: 100%;
        text-align: center;
    }
}

/* FIN DEL NAV ESTILOS */

/* Header Styles */
.header {
    background: #0a3a2a;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid #d4af37;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
    color: #d4af37;
    animation: rotate 4s linear infinite;
    filter: drop-shadow(0 0 10px #d4af37);
}

.logo h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hero Section con Video de Fondo */
.hero {
    background: var(--gradient);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

.hero-content {
    flex: 1;
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.cta-button {
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.8);
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* (sombra del boton de ofertas del hero) */
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.9);
    filter: brightness(1.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0);
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0);
}

.hero-main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0);
}

@media (max-width: 768px) {
    .hero-video {
        object-position: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-overlay {
        background: rgba(0, 0, 0, 0.166);
    }
}

@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    .hero-content {
        margin-bottom: 2rem;
    }
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: #0a3a2a;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 3rem;
    position: relative;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #c41e3a, #d4af37);
    border-radius: 2px;
    box-shadow: 0 0 10px #d4af37;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: linear-gradient(135deg, #165a43, #0f4733);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    border-color: #d4af37;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 1);
}

.category-icon i {
    font-size: 2rem;
    color: var(--white);
}

.category-card h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.category-card p {
    color: #f5f5f5;
    margin-bottom: 1.5rem;
}

.category-btn {
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    color: #ffffff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.5);
}

.category-btn:hover {
    background: linear-gradient(135deg, #d4af37, #e5c158);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.8);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #165a43;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #0f4733, #165a43);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    border-color: #d4af37;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #d4af37;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #f5f5f5;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #0a3a2a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.about-text p {
    color: #f5f5f5;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.learn-more-btn {
    background: linear-gradient(135deg, #c41e3a, #d4af37);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.6);
}

.learn-more-btn:hover {
    background: linear-gradient(135deg, #d4af37, #e5c158);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.9);
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-card {
    background: linear-gradient(135deg, #165a43, #0f4733);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    text-align: center;
    max-width: 300px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.about-card i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px #d4af37);
}

.about-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.about-card p {
    color: #f5f5f5;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #165a43, #0a3a2a);
    color: #ffffff;
    padding: 50px 0 20px;
    border-top: 2px solid #d4af37;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: #d4af37;
    filter: drop-shadow(0 0 10px #d4af37);
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: #ffffff;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #f5f5f5;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-section ul li a:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
}

.contact-info i {
    color: #d4af37;
    width: 20px;
    filter: drop-shadow(0 0 5px #d4af37);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    opacity: 0.9;
    color: #f5f5f5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 20px 60px;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
}

/* Mobile menu styles */
.nav.active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #165a43;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.4);
    padding: 1rem;
    border-bottom: 2px solid #d4af37;
}

.nav.active .nav-links {
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .nav.active .nav-links {
        display: flex;
    }
}