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

html {
    scroll-padding-top: 150px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Clases reutilizables para mejor mantenibilidad */
.flag-icon {
    width: 20px;
    height: auto;
}

.nav-emoji {
    margin-right: 5px;
}

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

/* Ajuste para pantallas anchas 16:9 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
}

/* Header/Navbar */
.navbar {
    background-color: #f5f5f5;
    padding: 2px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #ddd;
}

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

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

.logo img {
    height: 90px;
    width: auto;
    mix-blend-mode: multiply;
}

.menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #2c7ba7;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

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

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    letter-spacing: 2px;
}

.carousel-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

/* Botones de navegación */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover { background: rgba(0,0,0,0.7); }

/* Organization Section */
.organization {
    padding: 60px 0;
}

.organization h2 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.org-description {
    margin-bottom: 50px;
    text-align: center;
    font-size: 14px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founder {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.founder-image {
    margin-left: 25%;
}

@media (max-width: 1200px) {
    .founder-image {
        margin-left: 15%;
    }
}

@media (max-width: 992px) {
    .founder-image {
        margin-left: 5%;
    }
}

.founder-image img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.founder-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.founder-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.founder-info h4 {
    font-size: 12px;
    color: #2c7ba7;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Mission & Vision Section */
.mission-vision {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    padding: 60px 0;
}

.mission-vision .container {
    display: flex;
    gap: 60px;
}

.mission, .vision {
    flex: 1;
}

.mission h3, .vision h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.mission p, .vision p {
    font-size: 14px;
    line-height: 1.8;
}

/* ================= SERVICES ================= */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-container .service-box {
    position: relative;
    overflow: hidden;
    height: 260px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.services-container .service-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services-container .service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.services-container .service-text {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    text-align: left;
}

.services-container .service-text h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #ffd700;
}

.services-container .service-text p {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 300;
}

.services-container .service-more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.5s ease;
}

.services-container .service-box:hover .service-more {
    opacity: 1;
}

.services-container .service-box:hover img {
    transform: scale(1.1);
}

.services-container .service-more p {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.services-container .form-btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 8px 16px;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Commerce Section */
.commerce {
    padding: 60px 0;
    position: relative;
}

.commerce h2 {
    padding: 0 40px;
}

.commerce .number {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 48px;
    color: #e74c3c;
    font-weight: bold;
}

.commerce-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 20px;
}

.commerce-text {
    flex: 1;
}

.commerce-image {
    flex: 1;
}

.commerce-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.commerce-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    background-color: #2c7ba7;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.btn:hover {
    background-color: #1e5a80;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.commerce-image img,
.ie-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Animaciones para la sección comercio */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll,
.animate-on-scroll-delay {
    opacity: 0;
    transform: translateX(100px);
}

.animate-on-scroll.visible {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-on-scroll-delay.visible {
    animation: slideInRight 0.8s ease-out 0.4s forwards;
}

.import-export {
    display: flex;
    gap: 40px;
    align-items: center;
}

.ie-image {
    flex: 1;
}

.ie-text {
    flex: 1;
}

.ie-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.ie-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* Secciones con fondo verde */
#areas h2,
.commerce h2,
.products h2,
.sport h2,
.sport h3.reveal-title,
.container h2.reveal-title,
.container h3.reveal-title {
    background-color: #6fb374;
    color: #fefdfd;
    padding: 20px 40px;
    margin: 60px auto 40px auto;
    width: 100%;
    max-width: 1200px;
    display: block;
    text-align: left;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sport Section with Background */
.sport-background {
    background-image: url('images/fondo_deporte.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 60px 0;
}

.sport-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.sport-background > * {
    position: relative;
    z-index: 2;
}

/* Products Section with Background */
.products-background {
    background-image: url('images/mapa_mondo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 60px 0;
}

.products-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.70);
    z-index: 1;
}

.products-background > * {
    position: relative;
    z-index: 2;
}

/* Index Background */
.index-background {
    background-image: url('images/fondo_index.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 0;
    min-height: 100vh;
    will-change: background-position;
}

.index-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 0;
}

.index-background > * {
    position: relative;
    z-index: 2;
}

/* Premio Section with Background */
.premio-background {
    background-image: url('images/fondo_premio.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    padding: 60px 0;
    min-height: 100vh;
}

.premio-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.40);
    z-index: 0;
}

.premio-background > * {
    position: relative;
    z-index: 2;
}

/* Products Section */
.products {
    padding: 60px 0;
    background-color: #fafafa;
}

.products h2 {
    padding: 20px 60px;
}

.product-item {
    position: relative;
    overflow: hidden;
    height: 160px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    margin-bottom: 20px;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    transition: transform 0.5s ease;
}

.aceite::before {
    background-image: url('images/seccion_productos_aceite.png');
}

.frutos::before {
    background-image: url('images/seccion_productos_frutos.png');
}

.textil::before {
    background-image: url('images/seccion_productos_textil.png');
}

.jamon::before {
    background-image: url('images/seccion_productos_jamon.jpg');
}

.pescado::before {
    background-image: url('images/seccion_productos_pescado.jpg');
}

.product-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.product-item:hover::before {
    transform: scale(1.1);
}

.product-item h4 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
    text-align: left;
}

.product-item .product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.5s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-item .product-overlay p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #fff;
}

.product-item .product-overlay .btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.product-item .product-overlay .btn:hover {
    background-color: #ffed4e;
    transform: scale(1.05);
}

.product-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Ajustes para nuevas secciones */
.tourism {
    background-color: transparent;
}

.tourism h2 {
    padding: 20px 40px;
}

.cultural {
    background-color: #fafafa;
}

.cultural h2 {
    padding: 20px 40px;
}

/* Responsive para la sección CULTURA Y TURISMO */
@media (max-width: 768px) {
    /* CULTURA: image à gauche, texte à droite */
    .tourism .commerce-content:first-of-type {
        flex-direction: row !important;
        align-items: center;
    }
    
    .tourism .commerce-content:first-of-type .commerce-image {
        flex: 0 0 35%;
        max-width: 35%;
    }
    
    .tourism .commerce-content:first-of-type .commerce-text {
        flex: 1;
        padding-left: 15px;
        padding-right: 0;
    }
    
    .tourism .commerce-content:first-of-type .commerce-image img {
        height: 120px;
        object-fit: cover;
    }
    
    /* TURISMO: image à gauche, texte à droite */
    .tourism .commerce-content:last-of-type {
        flex-direction: row !important;
        align-items: center;
    }
    
    .tourism .commerce-content:last-of-type .commerce-image {
        flex: 0 0 35%;
        max-width: 35%;
    }
    
    .tourism .commerce-content:last-of-type .commerce-text {
        flex: 1;
        padding-left: 15px;
        padding-right: 0;
    }
    
    .tourism .commerce-content:last-of-type .commerce-image img {
        height: 120px;
        object-fit: cover;
    }
}

/* Estado inicial: Respeta los márgenes Bootstrap siendo invisible */
.reveal-title {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

/* Estado final: Retorno a la posición exacta prevista por Bootstrap */
.reveal-title.active {
    opacity: 1;
    transform: translateX(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2c7ba7;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #1e5a7a;
}

/* Contact Section */
.contact {
    background-color: #1e3a5f;
    color: white;
    padding: 60px 0;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info {
    flex: 1;
}

/* Nuevos estilos para el espaciado de los títulos */
.contact-company-title {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 30px; /* El espacio que solicitó */
    font-weight: 500;
}

.contact-main-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-details {
    margin-top: 25px;
}

.contact-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.contact h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-map {
    flex: 1;
}

.contact-map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Estilo del contenedor de los iconos */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* Estilo de los iconos individuales */
.social-links img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Pequeño efecto al pasar el cursor */
.social-links img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.contact-info .social-links a {
    display: inline-block;
}

/* Footer */
.footer {
    background-color: #0f1f2f;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
        gap: 10px;
    }

    .founder {
        flex-direction: column;
        align-items: center;
    }

    .founder-image {
        margin-left: 0;
    }

    .founder-info [data-key="founder_quote"] br {
        display: none;
    }

    .mission-vision .container {
        flex-direction: column;
        gap: 30px;
    }

    .commerce:not(.tourism) .commerce-content,
    .import-export {
        flex-direction: column;
    }

    /* Sección COMERCIO - PRODUCTOS TRADICIONALES: Imagen arriba, texto y botón abajo */
    .commerce:not(.tourism) .commerce-content:first-of-type {
        flex-direction: column-reverse !important;
    }

    /* Asegurarse de que el contenido sea visible en móvil incluso antes de la animación */
    .animate-on-scroll,
    .animate-on-scroll-delay {
        opacity: 1 !important;
        transform: none !important;
    }

    .contact-content {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 36px;
    }
}

/* =================================
   ESTILOS PARA PÁGINA DE PRODUCTOS
   ================================= */

.category-title {
    font-size: 2rem;
    font-weight: bold;
    color: #2c7ba7;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 10px;
    border-bottom: 3px solid #2c7ba7;
    display: inline-block;
    margin: 0 auto 2rem;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.hover-card .product-description {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    border-radius: 8px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.hover-card:hover .product-description {
    opacity: 1;
    visibility: visible;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.border-dashed {
    border: 2px dashed #ddd !important;
    background-color: #f8f9fa;
}

.border-dashed:hover {
    border-color: #2c7ba7 !important;
    background-color: #e9ecef;
}

.badge {
    font-size: 0.85rem;
    padding: 0.5em 0.8em;
}

/* Estilos para productos.html */
.producto-container {
    display: flex;
    min-height: 70vh;
    margin-top: 100px;
    gap: 30px;
}

.categoria-sidebar {
    flex: 0 0 280px;
    padding: 20px;
}

.categoria-item {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(30, 64, 175, 0.9) 100%);
    color: white;
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.categoria-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
}

.categoria-item.active {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.95) 0%, rgba(30, 58, 138, 0.95) 100%);
    border-color: #ffd700;
    transform: scale(1.05);
}

.categoria-item h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.productos-display {
    flex: 1;
    padding: 20px;
    background: rgba(248, 249, 250, 0.60);
    border-radius: 10px;
    min-height: 500px;
}

.productos-display h2 {
    color: #1a4d2e;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
    background: rgba(255, 255, 255, 0.85);
    padding: 15px;
    border-radius: 8px;
}

.productos-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.productos-grid.active {
    display: grid;
}

.producto-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.92);
}

.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.producto-card-body {
    padding: 20px;
}

.producto-card-title {
    font-weight: bold;
    color: #1a4d2e;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.producto-card-desc {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.badge-import {
    display: none;
}

.badge-export {
    display: none;
}

.categoria-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(26, 77, 46, 0.9);
    color: #ffd700;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: bold;
}

.category-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #2d7a4f, transparent);
    margin: 30px 0;
    position: relative;
}

.category-separator::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f8f9fa;
    color: #2d7a4f;
    padding: 0 15px;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .producto-container {
        flex-direction: column;
        margin-top: 80px;
    }

    .categoria-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }

    .categoria-item {
        margin-bottom: 15px;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    /* Mejorar visibilidad del fondo en mobile */
    .products-background::before {
        background-color: rgba(255, 255, 255, 0.50) !important;
    }

    .productos-display {
        background: rgba(248, 249, 250, 0.40) !important;
    }

    .producto-card {
        background: rgba(255, 255, 255, 0.65) !important;
    }
}

/* Styles pour premio.html */
.premio-container {
    margin-top: 100px;
    min-height: 70vh;
    background: transparent !important;
    position: relative;
    z-index: 1;
}

.premio-container .row {
    background: transparent !important;
}

.premio-container .col-lg-3,
.premio-container .col-md-4,
.premio-container .col-lg-9,
.premio-container .col-md-8,
.premio-container .d-grid {
    background: transparent !important;
}

.premio-container .card {
    background: transparent !important;
    border: none !important;
}

.premio-container .card-body {
    background: transparent !important;
    padding: 10px !important;
}

.periodo-item {
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.9) 0%, rgba(45, 122, 79, 0.9) 100%);
    color: white;
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.periodo-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.95) 0%, rgba(45, 122, 79, 0.95) 100%);
}

.periodo-item.active {
    background: linear-gradient(135deg, rgba(45, 122, 79, 0.95) 0%, rgba(58, 156, 100, 0.95) 100%);
    border-color: #ffd700;
    transform: scale(1.05);
}

.periodo-item h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.images-display {
    padding: 20px;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 10px;
    min-height: 500px;
}

.images-display h2 {
    color: #1a4d2e;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
    background: rgba(255, 255, 255, 0.80);
    padding: 15px;
    border-radius: 8px;
}

.images-grid {
    display: none;
}

.images-grid.active {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.premio-container .image-card,
.image-card {
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.70) !important;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.premio-container .image-card:hover,
.image-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.88) !important;
}

.image-card img {
    height: 200px;
    object-fit: cover;
}

.image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(224, 224, 224, 0.5) 0%, rgba(245, 245, 245, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
}

.image-card-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #1a4d2e;
}

@media (max-width: 768px) {
    .premio-container {
        margin-top: 80px;
    }
    
    .periodo-item {
        margin-bottom: 15px;
    }

    /* Mejorar visibilité du fond en mobile */
    .premio-background {
        background-size: 150%;
        background-position: center center;
    }
    
    .premio-background::before {
        background-color: rgba(255, 255, 255, 0.30) !important;
    }

    .images-display {
        background-color: transparent !important;
    }

    .image-card {
        background: rgba(255, 255, 255, 0.60) !important;
    }

    .images-display h2 {
        background: rgba(255, 255, 255, 0.75) !important;
    }
}

/* Styles pour premio.html */
.premio-container {
    margin-top: 100px;
    min-height: 70vh;
    background: transparent !important;
}

.premio-container .row {
    background: transparent !important;
}

.periodo-item {
    background: linear-gradient(135deg, #1a4d2e 0%, #2d7a4f 100%);
    color: white;
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.periodo-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    border-color: #ffd700;
}

.periodo-item.active {
    background: linear-gradient(135deg, #2d7a4f 0%, #3a9c64 100%);
    border-color: #ffd700;
    transform: scale(1.05);
}

.periodo-item h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.images-display {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    min-height: 500px;
}

.images-display h2 {
    color: #1a4d2e;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.images-grid {
    display: none;
}

.images-grid.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.image-card {
    transition: transform 0.3s ease;
}

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

.image-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 3rem;
}

.image-card-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #1a4d2e;
}

@media (max-width: 768px) {
    .premio-container {
        margin-top: 80px;
    }

    .periodo-item {
        margin-bottom: 15px;
    }

    .images-grid.active {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
