/**
 * Promotional Banner - Ar-Tec Invent
 * Sección de banner promocional para destacar productos y ofertas especiales
 */

/* ===== SECCIÓN PRINCIPAL ===== */
.promotional-banner-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.promotional-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbb03b 0%, #ff8c00 50%, #fbb03b 100%);
    z-index: 1;
}

.promotional-banner {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9e9e9;
    transition: all 0.3s ease;
}

.promotional-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbb03b 0%, #ff8c00 100%);
}

.promotional-banner:hover {
    box-shadow: 0 12px 40px rgba(251, 176, 59, 0.2);
    transform: translateY(-2px);
}

/* ===== BADGE PROMOCIONAL ===== */
.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

.promo-badge i {
    font-size: 14px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(251, 176, 59, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(251, 176, 59, 0.6);
    }
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.promo-content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* ===== IMAGEN DEL PRODUCTO ===== */
.promo-image {
    flex: 0 0 300px;
    text-align: center;
    position: relative;
}

.promo-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.promo-image:hover img {
    transform: scale(1.05) rotate(2deg);
}

/* ===== CONTENIDO ===== */
.promo-content {
    flex: 1;
}

.promo-title {
    margin: 0 0 20px;
    line-height: 1.2;
}

.promo-title-main {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.promo-title-sub {
    display: block;
    font-size: 24px;
    font-weight: 400;
    color: #fbb03b;
    text-transform: none;
}

.promo-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.promo-description strong {
    color: #fbb03b;
    font-weight: 600;
}

/* ===== CARACTERÍSTICAS ===== */
.promo-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #fbb03b;
    transition: all 0.3s ease;
}

.promo-features li:hover {
    background: #fff5e6;
    transform: translateX(5px);
}

.promo-features li i {
    color: #fbb03b;
    font-size: 16px;
}

/* ===== BOTONES ===== */
.promo-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.promo-btn-primary {
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    color: #ffffff;
    border: none;
    padding: 18px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.promo-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(251, 176, 59, 0.6);
    color: #ffffff;
}

.promo-btn-primary span {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.promo-btn-secondary {
    background: #ffffff;
    color: #333;
    border: 2px solid #e9e9e9;
    padding: 18px 35px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.promo-btn-secondary:hover {
    border-color: #fbb03b;
    color: #fbb03b;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ===== NOTA ADICIONAL ===== */
.promo-note {
    margin: 0;
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
    font-style: italic;
}

.promo-note i {
    color: #fbb03b;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .promo-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .promo-image {
        flex: 0 0 auto;
        max-width: 250px;
    }
    
    .promo-title-main {
        font-size: 36px;
    }
    
    .promo-title-sub {
        font-size: 20px;
    }
    
    .promo-buttons {
        flex-direction: column;
    }
    
    .promo-btn-primary,
    .promo-btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .promotional-banner-section {
        padding: 40px 0;
    }
    
    .promotional-banner {
        padding: 30px 20px;
    }
    
    .promo-badge {
        position: relative;
        top: auto;
        right: auto;
        display: inline-block;
        margin-bottom: 20px;
    }
    
    .promo-title-main {
        font-size: 28px;
    }
    
    .promo-title-sub {
        font-size: 18px;
    }
    
    .promo-description {
        font-size: 14px;
    }
    
    .promo-features {
        flex-direction: column;
        gap: 10px;
    }
    
    .promo-features li {
        width: 100%;
    }
    
    .promo-image {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .promotional-banner {
        padding: 25px 15px;
    }
    
    .promo-title-main {
        font-size: 24px;
    }
    
    .promo-title-sub {
        font-size: 16px;
    }
    
    .promo-buttons {
        gap: 10px;
    }
    
    .promo-btn-primary,
    .promo-btn-secondary {
        padding: 15px 25px;
        font-size: 14px;
    }
}

/* ===== VARIANTES DE BADGE ===== */
/* Para ocultar el badge, usar: .promo-badge { display: none; } */

/* Badge "Nuevo" */
.promo-badge.new {
    background: linear-gradient(135deg, #30a67c 0%, #2d8f6a 100%);
    box-shadow: 0 4px 15px rgba(48, 166, 124, 0.4);
}

/* Badge "Oferta" */
.promo-badge.offer {
    background: linear-gradient(135deg, #c10707 0%, #a00505 100%);
    box-shadow: 0 4px 15px rgba(193, 7, 7, 0.4);
}

/* Badge "Destacado" */
.promo-badge.featured {
    background: linear-gradient(135deg, #1c1c1c 0%, #333 100%);
    box-shadow: 0 4px 15px rgba(28, 28, 28, 0.4);
}

/* ============================================
   ESTILOS ESPECÍFICOS PARA MOLAB
   ============================================ */

/* ===== BANNER MOLAB - FONDO CON IMAGEN ===== */
.molab-banner {
    padding: 80px 0;
    background: #000000;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo MOLAB */
.molab-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/fondo-molab.png');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    opacity: 1;
    object-fit: cover;
}

/* Asegurar que el contenido esté por encima del fondo */
.molab-banner > * {
    position: relative;
    z-index: 1;
}

.molab-banner::after {
    display: none;
}

/* ===== CONTENEDOR PRINCIPAL MOLAB ===== */
.molab-promo {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.molab-promo::before {
    display: none;
}

.molab-promo:hover {
    transform: none;
    box-shadow: none;
}

/* ===== LOGO Y PRESENTACIÓN ===== */
.molab-logo-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

.molab-company-logo {
    margin-bottom: 15px;
}

.molab-company-logo img {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.molab-presents {
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
    text-transform: lowercase;
    letter-spacing: 2px;
    margin: 0;
    opacity: 0.9;
}

/* ===== CONTENEDOR PRINCIPAL - CONTENIDO CENTRADO Y EXTENDIDO ===== */
.molab-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}


/* ===== CONTENIDO CENTRAL MOLAB ===== */
.molab-center-content {
    text-align: center;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* ===== TECLAS DE TECLADO MOLAB ===== */
.molab-keyboard {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.keyboard-key {
    width: 70px;
    height: 70px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

.keyboard-key::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 6px 6px 0 0;
    pointer-events: none;
}

.keyboard-key:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 15px rgba(100, 200, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: #64c8ff;
}


/* ===== TAGLINE ===== */
.molab-tagline {
    font-size: 32px;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.4;
    margin: 0 0 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.molab-tagline strong {
    font-weight: 600;
    color: #64c8ff;
}

/* ===== DESCRIPCIÓN ===== */
.molab-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0 0 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CARACTERÍSTICAS ===== */
.molab-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.molab-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.molab-features li:hover {
    background: rgba(100, 200, 255, 0.1);
    border-color: #64c8ff;
    transform: translateY(-2px);
}

.molab-features li i {
    color: #64c8ff;
    font-size: 14px;
}

/* ===== BOTONES MOLAB ===== */
.molab-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.molab-btn-primary {
    background: linear-gradient(135deg, #64c8ff 0%, #4a90e2 100%);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(100, 200, 255, 0.4);
    transition: all 0.3s ease;
}

.molab-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(100, 200, 255, 0.6);
    color: #ffffff;
}

.molab-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.molab-btn-secondary:hover {
    border-color: #64c8ff;
    color: #64c8ff;
    background: rgba(100, 200, 255, 0.1);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE MOLAB ===== */
@media (max-width: 1200px) {
    .molab-content-wrapper {
        max-width: 1000px;
    }
    
    .molab-center-content {
        max-width: 900px;
    }
}

@media (max-width: 991px) {
    .molab-content-wrapper {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .molab-center-content {
        max-width: 100%;
    }
    
    .keyboard-key {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .molab-tagline {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    /* Tablet: ajustar imagen de fondo */
    .molab-banner::before {
        background-attachment: scroll;
        background-size: 100% 100%;
        background-position: center center;
    }
}

@media (max-width: 767px) {
    .molab-banner {
        padding: 60px 0;
    }
    
    /* Móvil: optimizar imagen de fondo */
    .molab-banner::before {
        background-attachment: scroll;
        background-size: 100% 100%;
        background-position: center center;
        /* Asegurar que la imagen cubra toda el área en móviles */
        min-height: 100%;
    }
    
    .molab-company-logo img {
        max-width: 150px;
    }
    
    .molab-presents {
        font-size: 16px;
    }
    
    .keyboard-key {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    
    .molab-tagline {
        font-size: 20px;
    }
    
    .molab-description {
        font-size: 14px;
    }
    
    .molab-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .molab-features li {
        width: 100%;
        justify-content: center;
    }
    
    .molab-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .molab-btn-primary,
    .molab-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .molab-banner {
        padding: 50px 0;
    }
    
    /* Móvil pequeño: ajustar imagen de fondo */
    .molab-banner::before {
        background-size: 100% 100%;
        background-position: center center;
        background-attachment: scroll;
    }
    
    .molab-keyboard {
        gap: 8px;
    }
    
    .keyboard-key {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    
    .molab-tagline {
        font-size: 18px;
    }
}

/* Optimización para pantallas muy anchas */
@media (min-width: 1920px) {
    .molab-banner::before {
        background-size: 100% 100%;
        background-position: center center;
    }
}

/* Optimización para orientación landscape en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .molab-banner::before {
        background-size: 100% 100%;
        background-position: center center;
    }
}

