/* =========================
RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#fffaf7;
color:#333;
line-height:1.6;
}

/* =========================
HEADER
========================= */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 5%;
background:rgba(255,255,255,.95);
backdrop-filter:blur(10px);
border-bottom:4px solid #c1121f;
position:sticky;
top:0;
z-index:1000;
}

.logo-container{
display:flex;
align-items:center;
gap:15px;
}

.logo{
width:65px;
transition:.3s ease;
}

.logo:hover{
transform:scale(1.05);
}

.logo-container h2{
color:#c1121f;
}

nav{
display:flex;
gap:25px;
}

nav a{
text-decoration:none;
color:#333;
font-weight:600;
transition:.3s;
}

nav a:hover{
    color:#c1121f;
}

/* ===== LANGUAGE SWITCHER ===== */

.language{
    display:flex;
    align-items:center;
}

.language-switcher{
    display:flex;
    gap:10px;
}

.language-switcher button{

    padding:8px 16px;

    border:none;

    border-radius:30px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.language-switcher button.active{

    background:#c1121f;

    color:#fff;

}

.language-switcher button:not(.active){

    background:#f2f2f2;

    color:#333;

}


/* =========================
HERO
========================= */

.hero{
    min-height:90vh;
     background:url('image/iniciofoto.jpg');
    background-size:cover;
    background-position:center;
    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,.55);
}

.hero-content{
position:relative;
z-index:2;
color:#fff;
max-width:800px;
padding:20px;
}

.hero h1{
font-size:3rem;
margin-bottom:20px;
}

.hero p{
font-size:1.1rem;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
padding:14px 28px;
border-radius:10px;
text-decoration:none;
font-weight:600;
transition:.3s;
}

.btn-primary{
background:#c1121f;
color:white;
}

.btn-secondary{
background:white;
color:#333;
}

.btn-primary:hover,
.btn-secondary:hover{
transform:translateY(-3px);
}

/* =========================
SECCIONES
========================= */

.about,
.products,
.retail,
.wholesale,
.contact{
padding:80px 8%;
position:relative;
}

.about::after,
.products::after,
.retail::after,
.wholesale::after{
content:'';
position:absolute;
bottom:0;
left:50%;
transform:translateX(-50%);
width:120px;
height:3px;
background:#c1121f;
border-radius:20px;
}

.about,
.retail,
.contact{
background:#fffaf7;
}

.products,
.wholesale{
background:#fff;
}

.section-title{
    text-align:center;
    font-size:2.2rem;
    color:#c1121f;
    margin:0 auto 50px auto;
    display:block;
}

/* =========================
ABOUT
========================= */

.about{
display:flex;
align-items:center;
gap:50px;
flex-wrap:wrap;
}

.about-image{
    flex:1;
    overflow:hidden;
    border-radius:20px;
    perspective:1000px;
    transform-style:preserve-3d;
}

.about-image img{
    width:100%;
    border-radius:20px;
    transition:all .3s ease;
    transform-style:preserve-3d;
    cursor:pointer;
    will-change:transform;
}

.about-text{
flex:1;
}
.about-image:hover img{
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}
.about-text h2{
color:#c1121f;
margin-bottom:20px;
}

/* =========================
PRODUCTS
========================= */

.products{
    padding:80px 5%;
    background:#fff;
}

.product-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    max-width:1200px;

    margin:0 auto;

}

.product-card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

    transition:.3s;

}

.product-card:hover{

    transform:translateY(-5px);

}

.product-card img{

    width:100%;

    height:180px;

    object-fit:cover;

    display:block;

    cursor:zoom-in;

}

.product-card h3{

    color:#b22222;

    font-size:18px;

    font-weight:700;

    text-align:center;

    padding:15px 10px 8px;

    margin:0;

}

.product-card p{

    color:#555;

    font-size:14px;

    text-align:center;

    padding:0 12px 15px;

    margin:0;

    line-height:1.4;

}

/* Tablet */

@media(max-width:992px){

    .product-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

/* Celular */

@media(max-width:576px){

    .product-grid{

        grid-template-columns:1fr;

    }

}

/* ===== GALERÍA LIGHTBOX ===== */

/* ===== LIGHTBOX ===== */

#lightbox{

    position:fixed;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.90);

    display:none;

    justify-content:center;
    align-items:center;

    z-index:99999;

}

#lightbox img{

    max-width:80%;
    max-height:80vh;

    border-radius:15px;

    box-shadow:0 15px 40px rgba(0,0,0,.5);

    animation:zoom .25s ease;

}

@keyframes zoom{

    from{

        transform:scale(.6);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

#close{

    position:absolute;

    top:20px;

    right:35px;

    font-size:60px;

    color:white;

    cursor:pointer;

    font-weight:bold;

}
/* =========================
RETAIL
========================= */
/* PDF BUTTON */

.menu-pdf-container{
    text-align:center;
    margin:30px 0;
}

.menu-pdf-btn{
    display:inline-block;
    background:#c1121f;
    color:#fff;
    text-decoration:none;
    font-size:1.1rem;
    font-weight:700;
    padding:15px 30px;
    border-radius:12px;
    transition:.3s;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.menu-pdf-btn:hover{
    transform:translateY(-3px);
}
.retail-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}
.retail .section-title{
    margin-top:60px;
    margin-bottom:20px;
}

.retail-subtitle{
    display:inline-block;
    padding:10px 25px;

    background:#c1121f;
    color:white;

    border-radius:30px;

    font-size:.9rem;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;

    box-shadow:
    0 8px 20px rgba(193,18,31,.3);

    animation:floatText 3s ease-in-out infinite;
}

@keyframes floatText{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-5px);
    }

}
.retail-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    background:#fff;
    transition:.4s ease;
    cursor:pointer;
        box-shadow:
    0 8px 20px rgba(0,0,0,.08);
}

.retail-card:hover{
 transform:translateY(-10px);
    z-index:100;
    box-shadow:0 20px 40px rgba(0,0,0,.18);
}

.retail-card img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.retail-card:hover img{
    transform:scale(1.05);
}

.retail-info{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
    color:white;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;

    padding:20px;

    opacity:0;
    transition:.5s ease;
}

.retail-card:hover .retail-info{
    opacity:0;
}

.retail-phone{
    display:inline-block;
    margin-bottom:30px;
    padding:12px 20px;
    background:#c1121f;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
    transition:.3s ease;
}

.retail-phone:hover{
    background:#a50f1a;
    transform:translateY(-3px);
}

/* =========================
WHOLESALE
========================= */

.wholesale{
    padding:100px 8%;
    background:#fff;
    text-align:center;
}

.wholesale-content{
    max-width:1100px;
    margin:auto;

    background:white;
    border-radius:25px;

    padding:40px;

    box-shadow:
    0 10px 30px rgba(0,0,0,.08);
}

.wholesale h2{
    color:#c1121f;
    margin-bottom:15px;
}

.wholesale h3{
    color:#555;
    margin-bottom:20px;
}

.wholesale p{
    max-width:850px;
    margin:auto;
    margin-bottom:30px;
}

.wholesale-gallery{
    display:flex;
    justify-content:center;
}

.wholesale-gallery img{
    width:100%;
    max-width:900px;

    border-radius:20px;

    object-fit:cover;

    box-shadow:
    0 15px 35px rgba(0,0,0,.15);

    transition:.4s ease;
}

.wholesale-gallery img:hover{
    transform:scale(1.02);
}

/* =========================
CONTACT
========================= */

.contact-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.contact-card{
background:#fff;
padding:25px;
border-radius:20px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
text-align:center;
transition:.3s;
}

.contact-card:hover{
transform:translateY(-5px);
}

.contact-card i{
font-size:2rem;
color:#c1121f;
margin-bottom:15px;
}

/* =========================
FOOTER
========================= */

footer{
background:#0b2545;
color:white;
text-align:center;
padding:25px;
}

/* =========================
WHATSAPP
========================= */

.whatsapp{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25d366;
    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;
    text-decoration:none;
    font-size:30px;
    z-index:999;

    transition:.3s;
}

.whatsapp:hover{
transform:scale(1.1);
}

/* =========================
TABLETS
========================= */



@media (max-width:992px){

.product-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:576px){

.product-grid{
    grid-template-columns:1fr;
}

}
/* =========================
MOVILES
========================= */

@media(max-width:768px){

    header{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .about{
        flex-direction:column;
    }

    .product-grid,
    .retail-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .wholesale-gallery img{
        width:100%;
    }

}

/* =========================
TELEFONOS PEQUEÑOS
========================= */

@media(max-width:480px){

    .section-title{
        font-size:1.8rem;
    }

    .about{
        padding:60px 5%;
    }

    .btn-primary,
    .btn-secondary{
        width:220px;
        text-align:center;
    }

    .retail-card img{
        height:220px;
    }

}

/* =========================
REDES SOCIALES FLOTANTES
========================= */

.floating-social{
    position:fixed;
    right:20px;
    bottom:20px;
    display:flex;
    flex-direction:column;
    gap:15px;
    z-index:9999;
}

.floating-social a{
    width:60px;
    height:60px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;
    text-decoration:none;

    color:#fff;
    font-size:28px;
    line-height:1;

    box-shadow:0 8px 20px rgba(0,0,0,.25);

    transition:transform .3s ease;
}

.floating-social a i{
    margin:0;
    line-height:1;
}

/* Colores */

.facebook{
    background:#1877F2;
}

.instagram{
    background:linear-gradient(
        45deg,
        #F58529,
        #DD2A7B,
        #8134AF,
        #515BD4
    );
}

.whatsapp-float{
    background:#25D366;
}

/* Vibración */

@keyframes vibrar{

    0%{transform:rotate(0deg);}
    20%{transform:rotate(-8deg);}
    40%{transform:rotate(8deg);}
    60%{transform:rotate(-8deg);}
    80%{transform:rotate(8deg);}
    100%{transform:rotate(0deg);}

}

/* Solo el icono que tiene el mouse encima */

.floating-social a:hover{

    animation:vibrar .45s ease-in-out;

}