/* =====================================================
   STORE WELCOME - Estilos para pagina de bienvenida
   Actualizados para cumplir WCAG AA (contraste minimo 4.5:1)
   ===================================================== */

.hero-section {
    min-height: 480px;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: #ffffff !important;
}

/* ISSUE 1 FIX: Mejorar contraste del texto descriptivo */
.hero-content p,
.hero-content .lead,
.hero-description-text {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    line-height: 1.5;
    color: var(--hero-description-color, #f1f5f9) !important; /* fallback si no setean color, respeta el color personalizado */
    font-weight: 400;
}

/* ISSUE 1 FIX: Asegurar que el boton CTA sea visible */
.hero-content .btn-mercana-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #1e293b !important;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.hero-content .btn-mercana-primary:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #0f172a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.hero-content .btn-mercana-primary i {
    color: #1e293b;
}

/* Overlay mejorado para fondos de imagen */
.hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.24) 0%,
        rgba(0, 0, 0, 0.38) 50%,
        rgba(0, 0, 0, 0.28) 100%
    );
}

.icon-container {
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: translateY(-5px);
}

.store-welcome-social .btn-icon-only {
    width: 52px;
    height: 52px;
    padding: 0;
    border-width: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

@media (max-width: 576px) {
    .store-welcome-social .btn-icon-only {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        border-width: 1.5px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p,
    .hero-content .lead {
        font-size: 1.1rem;
    }

    .hero-content .btn-mercana-primary {
        padding: 12px 24px;
        font-size: 1rem;
    }
}
