:root { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background-color: #fcfcfc; color: #1e293b; }

/* Glassmorphism */
.glass-nav {
    background: #13168b;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animaciones */
@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}
.animate-kenburns { animation: kenburns 20s ease-out infinite alternate; }

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide.active { opacity: 1; z-index: 10; }

/* Efectos Hover */
.card-industrial {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-industrial:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(19, 22, 139, 0.2);
}

/* Stock Agotado */
.out-of-stock { position: relative; overflow: hidden; }
.out-of-stock::after {
    content: "STOCK AGOTADO";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 8px 30px;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 30;
    border-radius: 4px;
    white-space: nowrap;
}
.out-of-stock img { filter: grayscale(1) blur(2px); opacity: 0.5; }

/* Scroll Carrito */
#cart-sidebar::-webkit-scrollbar { width: 4px; }
#cart-sidebar::-webkit-scrollbar-thumb { background: #ffe21b; border-radius: 10px; }

/* Inputs Carrito */
.cart-input {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    width: 100%;
    outline: none;
    transition: all 0.3s;
}
.cart-input:focus { border-color: #ffe21b; background: white; box-shadow: 0 0 0 3px rgba(255, 226, 27, 0.2); }

/* Slider */
.slide-content {
    text-shadow: 0 4px 30px rgba(0,0,0,0.7);
}

/* Estilos Elegantes */
.elegant-title {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 226, 27, 0.2);
}
.elegant-subtitle {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.gradient-text {
    background: linear-gradient(135deg, #ffe21b 0%, #ffea5c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(19,22,139,0.6) 0%, rgba(19,22,139,0.2) 100%);
    z-index: 5;
}

/* Tarjetas Producto */
.product-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.product-card .image-container {
    height: 200px;
    width: 100%;
    overflow: hidden;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s;
}
.product-card:hover .image-container img {
    transform: scale(1.1);
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
    z-index: 2;
    pointer-events: none;
}
.product-card:hover::before {
    left: 100%;
}

/* Tarjetas Grandes Catálogo */
.card-industrial .image-container {
    height: 26rem;
    width: 100%;
    overflow: hidden;
    border-radius: 2.8rem;
    margin-bottom: 2rem;
}
.card-industrial .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s;
}
.card-industrial:hover .image-container img {
    transform: scale(1.1);
}

/* Filtros Galería */
.filter-btn {
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffe21b;
    transition: all 0.3s;
    transform: translateX(-50%);
}
.filter-btn:hover::after,
.filter-btn.active::after {
    width: 80%;
}

/* Contacto */
.contact-input {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}
.contact-input:focus {
    background: rgba(255,255,255,0.2);
    border-color: #ffe21b;
    box-shadow: 0 0 0 3px rgba(255, 226, 27, 0.2);
}

/* Patrón Olas */
.wave-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2313168b' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: cover;
}

/* Menú Móvil */
.mobile-menu {
    transition: transform 0.3s ease-in-out;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Galería Imágenes */
.gallery-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Texto Nosotros */
#nosotros p.text-justify {
    font-size: 0.50rem;
    line-height: 1.5;
    color: #4a5568;
}
@media (min-width: 768px) {
    #nosotros p.text-justify {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Galería Grid 6 Columnas */
#galeria .grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
#galeria .group {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
#galeria .group:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
#galeria .group .relative {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}
#galeria .group img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
#galeria .group:hover img {
    transform: scale(1.05);
}
#galeria .group .absolute.inset-0 {
    display: none;
}
#galeria .group .absolute.bottom-10 {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 0.75rem;
    background: white;
}
#galeria .group span.text-calanaYellow {
    display: inline-block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffe21b;
    background: none;
    padding: 0;
    margin-bottom: 4px;
    text-transform: uppercase;
}
#galeria .group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #13168b;
    margin: 4px 0;
    line-height: 1.3;
    text-transform: uppercase;
}
#galeria .group .w-10.h-1 {
    width: 30px;
    height: 2px;
    background: #ffe21b;
    margin-top: 6px;
    transition: width 0.3s ease;
}
#galeria .group:hover .w-10.h-1 {
    width: 40px;
}

/* Modal Galería */
#gallery-modal {
    backdrop-filter: blur(8px);
}
#modal-thumbnails img {
    transition: all 0.3s ease;
    cursor: pointer;
}
#modal-thumbnails img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Modal Bienvenida */
#welcome-modal {
    backdrop-filter: blur(4px);
}
#welcome-modal-content {
    cursor: pointer;
    transition: transform 0.3s ease;
}
#welcome-modal-content:hover {
    transform: scale(1.02);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fadeInUp {
    animation: fadeInUp 0.4s ease-out;
}

/* Responsive Galería */
@media (max-width: 1024px) {
    #galeria .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    #galeria .group .relative {
        height: 160px;
    }
}
@media (max-width: 768px) {
    #galeria .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    #galeria .group .relative {
        height: 140px;
    }
    #galeria .group h4 {
        font-size: 0.75rem;
    }
    #galeria .group {
        height: 280px;
    }
    #galeria .group h4 {
        font-size: 0.9rem;
    }
    #galeria .group span.text-calanaYellow {
        font-size: 7px;
    }
}
@media (max-width: 480px) {
    #galeria .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    #galeria .group .relative {
        height: 200px;
    }
    #galeria .group {
        height: 250px;
    }
    #galeria .group h4 {
        font-size: 0.8rem;
    }
}
@media (min-width: 769px) {
    #galeria .group {
        height: 400px;
    }
    #galeria .group h4 {
        font-size: 1.5rem;
    }
    #galeria .group span.text-calanaYellow {
        font-size: 10px;
    }
}

/* Tienda */
#store-view {
    font-size: 16px;
}
#store-view header button {
    font-size: 12px;
    padding: 12px 24px;
}
#store-search {
    font-size: 16px !important;
    padding: 16px 20px 16px 50px !important;
}
.category-filter-btn {
    font-size: 12px !important;
    padding: 12px 24px !important;
}
.subcategory-filter-btn {
    font-size: 10px !important;
    padding: 10px 20px !important;
}
.product-card {
    padding: 20px !important;
}
.product-card .image-container {
    height: 240px !important;
}
.product-card h4 {
    font-size: 18px !important;
}
@media (max-width: 768px) {
    .product-card .image-container {
        height: 180px !important;
    }
    .category-filter-btn {
        font-size: 10px !important;
        padding: 8px 16px !important;
    }
}

/* Carrito */
#cart-sidebar h3 {
    font-size: 28px !important;
}
#cart-total {
    font-size: 32px !important;
}
@media (max-width: 768px) {
    #cart-sidebar h3 {
        font-size: 22px !important;
    }
    #cart-total {
        font-size: 26px !important;
    }
}
/* ============================================ */
/* ESTILOS ADICIONALES - HEADER Y TEXTO DE TARJETAS MÁS GRANDES */
/* Agregar al FINAL de style.css */
/* ============================================ */

/* --- HEADER MÁS GRANDE --- */
#main-nav nav {
    padding: 0.75rem 2.5rem !important;
    border-radius: 3rem !important;
    min-height: 90px !important;
}

#main-nav nav img {
    height: 55px !important;
    width: auto !important;
}

#main-nav nav .lg\:flex {
    gap: 2.5rem !important;
    font-size: 14px !important;
    letter-spacing: 0.15em !important;
}

#main-nav nav .bg-white\/10 {
    padding: 0.75rem 1.5rem !important;
    font-size: 14px !important;
}

#main-nav nav .bg-white\/10 i {
    font-size: 1.25rem !important;
}

#main-nav nav button i {
    font-size: 1.75rem !important;
}

/* Dropdown del menú más grande */
#main-nav nav .group .absolute .bg-white {
    min-width: 280px !important;
    padding: 1.25rem 0 !important;
}

#main-nav nav .group .absolute .bg-white button {
    padding: 1rem 2rem !important;
    font-size: 13px !important;
}

/* Texto del total en header */
#nav-total-top {
    font-size: 1rem !important;
}

#main-nav nav .bg-white\/10 .text-right p {
    font-size: 10px !important;
}

/* --- TEXTO DE TARJETAS DEL CATÁLOGO PRINCIPAL MÁS GRANDE --- */
/* Solo afecta al texto, las imágenes mantienen su tamaño */
#servicios .card-industrial h3 {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
}

#servicios .card-industrial p {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

/* Botón "Ver Detalles" más grande */
#servicios .card-industrial .absolute.inset-0 span {
    font-size: 14px !important;
    padding: 0.75rem 2rem !important;
}

/* Ajuste responsivo para tablets */
@media (max-width: 1024px) {
    #servicios .card-industrial h3 {
        font-size: 2rem !important;
    }
    #servicios .card-industrial p {
        font-size: 0.9rem !important;
    }
}

/* Ajuste responsivo para móviles */
@media (max-width: 768px) {
    #servicios .card-industrial h3 {
        font-size: 1.75rem !important;
    }
    #servicios .card-industrial p {
        font-size: 0.85rem !important;
    }
    #servicios .card-industrial .absolute.inset-0 span {
        font-size: 12px !important;
        padding: 0.5rem 1.5rem !important;
    }
}
/* ============================================ */
/* AUMENTO MODERADO DE SUBTEXTOS - TAMAÑO INTERMEDIO */
/* Agregar al FINAL de style.css */
/* ============================================ */

/* --- Subtítulo del Catálogo Superior --- */
#servicios p.text-slate-400 {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    max-width: 450px !important;
}

@media (min-width: 768px) {
    #servicios p.text-slate-400 {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
}

/* --- Título "Abramos Negocio" en Contacto --- */
#contacto h2.elegant-title {
    font-size: 3.5rem !important;
    line-height: 1.1 !important;
}

#contacto h2.elegant-title .gradient-text {
    font-size: 3.8rem !important;
}

@media (min-width: 768px) {
    #contacto h2.elegant-title {
        font-size: 4rem !important;
    }
    #contacto h2.elegant-title .gradient-text {
        font-size: 4.3rem !important;
    }
}

@media (min-width: 1024px) {
    #contacto h2.elegant-title {
        font-size: 4.5rem !important;
    }
    #contacto h2.elegant-title .gradient-text {
        font-size: 4.8rem !important;
    }
}

/* --- Etiquetas de contacto (Mesa de Partes, Atencion 24/7, Direccion) --- */
#contacto .space-y-12 .group p:first-child {
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
    margin-bottom: 3px !important;
}

@media (min-width: 768px) {
    #contacto .space-y-12 .group p:first-child {
        font-size: 11px !important;
        letter-spacing: 0.3em !important;
    }
}

/* --- Textos de contacto (email, teléfono, dirección) --- */
#contacto .space-y-12 .group a {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Dirección específica */
#contacto .space-y-12 .group:last-of-type a {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

@media (min-width: 768px) {
    #contacto .space-y-12 .group a {
        font-size: 1.2rem !important;
    }
    #contacto .space-y-12 .group:last-of-type a {
        font-size: 1rem !important;
    }
}

@media (min-width: 1024px) {
    #contacto .space-y-12 .group a {
        font-size: 1.3rem !important;
    }
    #contacto .space-y-12 .group:last-of-type a {
        font-size: 1.05rem !important;
    }
}

/* --- Íconos de contacto ligeramente más grandes --- */
#contacto .space-y-12 .group .w-16.h-16 {
    width: 4rem !important;
    height: 4rem !important;
}

#contacto .space-y-12 .group .w-16.h-16 i {
    font-size: 1.5rem !important;
}

/* --- Subtítulos de los slides del Hero --- */
.slide p.text-white\/90 {
    font-size: 1.1rem !important;
    line-height: 1.5 !important;
    max-width: 650px !important;
}

@media (min-width: 768px) {
    .slide p.text-white\/90 {
        font-size: 1.25rem !important;
        line-height: 1.6 !important;
    }
}

@media (min-width: 1024px) {
    .slide p.text-white\/90 {
        font-size: 1.35rem !important;
        line-height: 1.6 !important;
    }
}

/* --- Etiqueta "Puerto de Chimbote, Peru" en el Hero --- */
.slide .elegant-subtitle {
    font-size: 10px !important;
    padding: 0.4rem 1.5rem !important;
    letter-spacing: 0.4em !important;
}

@media (min-width: 768px) {
    .slide .elegant-subtitle {
        font-size: 11px !important;
        padding: 0.45rem 1.8rem !important;
        letter-spacing: 0.45em !important;
    }
}
/* ============================================ */
/* BOTONES DE REDES SOCIALES MÁS GRANDES */
/* Agregar al FINAL de style.css */
/* ============================================ */

/* --- Botones de redes sociales en Contacto --- */
#contacto .pt-10.flex.gap-5 {
    gap: 1rem !important;
    padding-top: 2.5rem !important;
}

#contacto .pt-10.flex.gap-5 a {
    width: 3.5rem !important;
    height: 3.5rem !important;
    font-size: 1.5rem !important;
}

@media (min-width: 768px) {
    #contacto .pt-10.flex.gap-5 {
        gap: 1.25rem !important;
    }
    #contacto .pt-10.flex.gap-5 a {
        width: 3.75rem !important;
        height: 3.75rem !important;
        font-size: 1.6rem !important;
    }
}

@media (min-width: 1024px) {
    #contacto .pt-10.flex.gap-5 a {
        width: 4rem !important;
        height: 4rem !important;
        font-size: 1.75rem !important;
    }
}

/* --- Botones de redes sociales en Footer --- */
footer .flex.gap-4 {
    gap: 1.25rem !important;
}

footer .flex.gap-4 a {
    font-size: 1.5rem !important;
}

@media (min-width: 768px) {
    footer .flex.gap-4 {
        gap: 1.5rem !important;
    }
    footer .flex.gap-4 a {
        font-size: 1.75rem !important;
    }
}

@media (min-width: 1024px) {
    footer .flex.gap-4 a {
        font-size: 2rem !important;
    }
}

/* --- Efecto hover mejorado para los botones --- */
#contacto .pt-10.flex.gap-5 a:hover,
footer .flex.gap-4 a:hover {
    transform: scale(1.15) !important;
    transition: all 0.3s ease !important;
}/* ============================================ */
/* FOOTER MÁS COMPACTO - REDUCIR ESPACIADO */
/* Agregar al FINAL de style.css */
/* ============================================ */

/* --- Reducir padding general del footer --- */
footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

@media (min-width: 768px) {
    footer {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* --- Reducir espacio entre elementos del footer --- */
footer .flex.flex-col.items-center.gap-8 {
    gap: 1rem !important;
}

/* --- Línea divisoria más pequeña --- */
footer .w-16.h-px {
    width: 3rem !important;
    margin-bottom: 0.25rem !important;
}

/* --- Texto del copyright más cerca --- */
footer p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    font-size: 8px !important;
    letter-spacing: 0.4em !important;
}

@media (min-width: 768px) {
    footer p {
        font-size: 9px !important;
        letter-spacing: 0.5em !important;
    }
}

/* --- Reducir espacio entre íconos de redes sociales --- */
footer .flex.gap-4 {
    gap: 0.75rem !important;
    margin-top: 0.25rem !important;
}

/* --- Ajustar tamaño de íconos para que sea proporcional --- */
footer .flex.gap-4 a {
    font-size: 1.2rem !important;
}

@media (min-width: 768px) {
    footer .flex.gap-4 a {
        font-size: 1.35rem !important;
    }
}
/* ============================================ */
/* REDUCIR ESPACIO DE LA SECCIÓN CONTACTO (FORMULARIO) */
/* Agregar al FINAL de style.css */
/* ============================================ */

#contacto {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

@media (min-width: 768px) {
    #contacto {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (min-width: 1024px) {
    #contacto {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}
/* ============================================ */
/* FONDO DEL FOOTER MUY COMPACTO */
/* ============================================ */

footer {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
}

@media (min-width: 768px) {
    footer {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}