/* ===== RESET ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== BODY ===== */
body{
    font-family: 'Poppins', sans-serif;
    padding-top: 110px;
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar{
    position: fixed;
    top: 0;
    width: 100%;
    background: white;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;

    padding: 15px 20px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Logo */
.logo img{
    height: 100px;
}

/* Menu */
.menu{
    display: flex;
    gap: 30px;
}

.menu a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 12px 18px;
    font-size: 18px;
    transition: 0.3s;
}

.menu a:hover{
    color: rgb(182, 2, 2);
}

/* ===== HERO ===== */
.hero{
    position: relative;
    height: 100vh;
    background: url('img/imagen1.jpg') no-repeat center/cover;

    display: flex;
    justify-content: center;
    align-items: center;
    color: white;

    transition: background-image 0.5s ease-in-out;
}

/* Animación suave */
.hero.fade{
    opacity: 0;
    transition: opacity 0.3s;
}

.hero::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content{
    position: relative;
    text-align: center;
}

.hero h1{
    font-size: 50px;
}



/* ===== OTRAS SECCIONES ===== */
.seccion{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}
/*SEGUNDO APARTADOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO/*
/* ===== PRODUCTOS MITAD TEXTO + MITAD IMAGEN ===== */
.productos{
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* PARTE DE ARRIBA */
.contenido-productos{
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f1f1;
    padding: 20px;
    overflow: hidden; /* evita que se salga */
}

/* PARTE DE ABAJO */
.imagen-productos{
    height: 50%;
    background: url('img/imagen5.jpg') no-repeat center/cover;
    background-attachment: fixed;
}

.texto-productos{
    font-size: 18px;        /* tamaño pequeño */
    max-width: 700px;       /* evita que se desborde */
    line-height: 1.6;       /* mejor lectura */
    color: #423f3f;
    text-align: justify;
}

.contenido-productos{
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: #f5f1f1;
    padding: 20px;
}


/* IMAGEN AL LADO */
.img-lado{
    width: 320px; /* tamaño pequeño */
    border-radius: 30px;
} 
.texto-contenedor{
    display: flex;
    flex-direction: column; /* 👈 esto hace que el título quede arriba */
}
.titulo-productos{
    font-size: 28px;
    margin-bottom: 10px;
    color: rgb(182, 2, 2);
}
/* parate 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333 */
/* ===== SECCION NUESTROS PRODUCTOS ===== */
.losproductos{
    padding: 80px 20px;
    background: #f5f5f5;
    text-align: center;
}

/* GRID DE IMAGENES */
.grid-productos{
    display: flex;
    justify-content: center;
    gap: 55px;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* IMAGENES */
.grid-productos img{
    width: 370px;
    height: 370px;
    object-fit: cover;
    border-radius: 20px;
    transition: 0.3s;
}

/* EFECTO HOVER PRO */
.grid-productos img:hover{
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-ver-mas{
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;

    background: linear-gradient(135deg, rgb(182, 2, 2), #ff4d4d);
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;

    border-radius: 30px;
    transition: 0.3s;
}

/* EFECTO HOVER */
.btn-ver-mas:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(182, 2, 2, 0.4);
}
/* EFECTO HOVER4444444444444444444444444444444444444444444444444444444444444444444444444444 */

#baseimg {
    height: 60vh; /* altura reducida */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white; /* texto visible sobre la imagen */
    background: url('img/imagen9.jpg') no-repeat center/cover;
    position: relative;
}

/* Opcional: capa semi-transparente para que el texto resalte */
#baseimg::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* oscurece un poco la imagen */
    top: 0;
    left: 0;
}

#baseimg h1 {
    position: relative; /* para que el texto quede encima del ::before */
}

/* EFECTO HOVER4444444444444444444444444444444444444444444444444444444444444444444444444444 */

#mapa {
    height: 70vh; /* altura más pequeña que 100vh */
    display: flex;
    flex-direction: column; /* para apilar h1 y mapa */
    justify-content: center; /* centra verticalmente */
    align-items: center; /* centra horizontalmente */
    background: #f2f2f2;
    padding: 20px;
}

#mapa h1 {
    margin-bottom: 20px;
    font-size: 28px;
}

.mapa-contenedor {
    width: 90%;
    max-width: 800px; /* limita el ancho del mapa */
    height: 400px; /* altura del mapa */
}

.mapa-contenedor iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px; /* opcional: bordes redondeados */
}

/* altura del mapaasdadasdasdasdasdadasdasdadasdasd */

/* Redes sociales */
/* Redes sociales */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: #3a2c2c;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #B63B3B;
}

/* Footer general */
#contacto {
    background: #f5f2f2;
    color: #3a2c2c;
    font-family: 'Poppins', sans-serif;
    padding: 100px 20px 60px 20px;
    line-height: 1.8;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    border-top: 1px solid #ccc;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

.footer-logo {
    width: 140px;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 18px;
    color: #B63B3B;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.footer-col p, 
.footer-col a {
    color: #3a2c2c;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    text-decoration: none; 
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #B63B3B; 
}

.footer-bottom {
    display: flex;
    flex-direction: column;  /* Texto en columna */
    align-items: center;     /* Centramos horizontalmente */
    margin-top: 50px;
    font-size: 16px;
    color: #6b5050;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    gap: 10px;               /* Espacio entre textos */
}

/* Botón pequeño dentro del texto */
.footer-bottom .creador-btn {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #E03E36, #FF4D4D);
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}

.footer-bottom .creador-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(224, 62, 54, 0.4);
}

/* Burbuja flotante de WhatsApp */
.whatsapp-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* color clásico WhatsApp */
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.whatsapp-bubble:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.whatsapp-bubble svg {
    width: 28px;
    height: 28px;
    fill: white;
}
       /* diseño de la ventana de productossssssssssssssssssssssssssss */

       /* PAGINA PRODUCTOS */

.productos-page{
    padding:150px 20px 80px 20px;
    text-align:center;
}

.titulo-productos{
    font-size:40px;
    margin-bottom:10px;
}

.descripcion-productos{
    color:#555;
    margin-bottom:40px;
}

/* GRID PRODUCTOS */

.productos-grid{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:40px;
}

/* TARJETAS */

.producto-card{
    width:260px;
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
    transition:0.3s;
}

.producto-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

/* IMAGEN */

.producto-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

/* TEXTO */

.producto-info{
    padding:20px;
}

.producto-info h3{
    margin-bottom:10px;
}

.producto-info p{
    font-size:14px;
    color:#555;
    line-height:1.5;
}
/* ===== SECCIÓN NOSOTROS HORIZONTAL ===== */
.nosotros {
    padding: 100px 20px 60px 20px;
    display: flex;
    flex-direction: row; /* horizontal */
    justify-content: center; /* centradas */
    align-items: flex-start;
    gap: 40px; /* espacio entre tarjetas */
    max-width: 1200px;
    margin: 0 auto;
    background: #fff8f5; /* fondo suave */
    flex-wrap: wrap; /* se ajusta en pantallas pequeñas */
}

/* TARJETAS INFO */
.tarjeta-info {
    background: linear-gradient(135deg, #ffe5e0, #ffc1b8);
    flex: 1 1 300px; /* crece y se encoge según el espacio */
    max-width: 350px;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
    transition: transform 0.5s, box-shadow 0.5s, background 0.5s;
    cursor: default;
}

.tarjeta-info:hover {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffc1b8, #ff7b5a);
}

.tarjeta-info h2 {
    color: #b83232;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 700;
}

.tarjeta-info p {
    color: #4d4d4d;
    line-height: 1.8;
    font-size: 1.15rem;
    font-weight: 500;
}
/* ===== RESPONSIVIDADdddddddddddddd ===== */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 10px 20px;
    }
    .logo img {
        height: 70px;
        width: auto;
    }
    .menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    .menu a {
        font-size: 16px;
        padding: 10px 15px;
    }

    /* Hero */
    .hero {
        padding: 50px 15px;
        text-align: center;
    }
    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
    }
    .hero p {
        font-size: 18px;
    }

    /* Productos mitad texto + imagen */
    .contenido-productos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 10px;
    }
    .img-lado {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    .texto-productos {
        text-align: center;
        font-size: 16px;
    }

    /* Grid de productos */
    .grid-productos {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        justify-items: center;
    }
    .grid-productos img {
        width: 100%;
        max-width: 250px;
        height: auto;
        object-fit: cover;
    }

    /* Página productos */
    .productos-page {
        padding: 80px 20px 40px 20px;
    }
    .titulo-productos {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
    }
    .producto-card {
        width: 100%;
        max-width: 220px;
        margin: 0 auto;
    }

    /* Nosotros tarjetas */
    .nosotros {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 20px 10px;
    }
}

/* Smartphones y pantallas pequeñas */
@media (max-width: 576px) {
    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 10px 10px;
    }
    .logo img {
        height: 60px;
        width: auto;
    }
    .menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    .menu a {
        font-size: 14px;
        padding: 8px 10px;
    }

    /* Hero */
    .hero {
        padding: 40px 10px;
        text-align: center;
    }
    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    .hero p {
        font-size: 16px;
    }

    /* Productos mitad texto + imagen */
    .contenido-productos {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 15px 10px;
    }
    .img-lado {
        width: 100%;
        max-width: 250px;
        height: auto;
    }
    .texto-productos {
        font-size: 14px;
        text-align: center;
    }

    /* Grid de productos */
    .grid-productos {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: center;
    }
    .grid-productos img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* Página productos */
    .productos-page {
        padding: 60px 10px 30px 10px;
    }
    .titulo-productos {
        font-size: 24px;
    }
    .producto-card {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Nosotros tarjetas */
    .nosotros {
        flex-direction: column;
        gap: 20px;
        padding: 15px 10px;
    }
    .tarjeta-info {
        max-width: 95%;
        padding: 20px 15px;
    }
    .tarjeta-info h2 {
        font-size: 1.25rem;
    }
    .tarjeta-info p {
        font-size: 0.9rem;
    }
}

.catalogo-box{
    margin:40px auto;
    text-align:center;
}

.btn-catalogo{
    display:inline-block;
    padding:12px 25px;
    background:#25D366;
    color:white;
    text-decoration:none;
    border-radius:25px;
}

/* SOLO PC */
@media (min-width: 992px){

.catalogo-box{
    max-width:800px;
    padding:40px;

    background:linear-gradient(135deg,#fff6f6,#ffe5e5);
    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,0.1);
}

.catalogo-box h2{
    font-size:30px;
    color:rgb(182,2,2);
    margin-bottom:10px;
}

.catalogo-box p{
    font-size:18px;
    margin-bottom:20px;
}

.btn-catalogo{
    font-size:18px;
    padding:14px 35px;
    transition:0.3s;
}

.btn-catalogo:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

}

.refrigeracion{
    padding:60px 10%;
    background:#f5f5f5;
    display:flex;
    justify-content:center;
}

.card-refrigeracion{
    background:white;
    padding:40px;
    border-radius:12px;
    max-width:1000px;
    box-shadow:0 8px 25px rgba(0,0,0,0.08);
    text-align:center;
}

.card-refrigeracion h2{
    margin-bottom:20px;
    color:#1a6f3c;
}

.card-refrigeracion p{
    margin-bottom:15px;
    line-height:1.6;
    color:#555;
}

.refrigeracion-img{
    margin-top:25px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.refrigeracion-img img{
    width:100%;
    height:auto;          /* mantiene proporción original */
    object-fit:contain;   /* evita que se recorte */
    border-radius:8px;
}
/* ===== MENÚ DESPLEGABLE RESPONSIVE ===== */

/* Botón hamburguesaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa */
.menu-toggle {
    display: none; /* oculto en desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mostrar menú solo en tablets y móviles */
@media (max-width: 992px) {
    .menu {
        display: none; /* oculto por defecto */
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
        background: #f8f8f8; /* Fondo del dropdown */
        padding: 10px 0;
        border-radius: 8px;
        margin-top: 10px;
    }

    .menu-toggle {
        display: flex; /* mostrar toggle */
    }

    /* Animación de apertura de menú */
    .menu.show {
        display: flex;
        animation: fadeDown 0.3s ease forwards;
    }

    @keyframes fadeDown {
        0% {opacity: 0; transform: translateY(-10px);}
        100% {opacity: 1; transform: translateY(0);}
    }

    /* Animación de flechita tipo X al abrir */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .refrigeracion{
    padding:40px 5%;
}

.card-refrigeracion{
    padding:25px;
}

.card-refrigeracion h2{
    font-size:22px;
}

.card-refrigeracion p{
    font-size:15px;
}

/* imágenes se acomodan mejor en celular */

.refrigeracion-img{
    grid-template-columns:1fr;
    gap:12px;
}

.refrigeracion-img img{
    height:180px;
}

}
