
/* ===================================================================================== */
/* =============================== INDEX.CSS COMPLETO ================================== */
/* ===================================================================================== */

/* ========================================= */
/* RESET */
/* ========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI', sans-serif;
    overflow-x:hidden;
}

/* ===================================================================================== */
/* ===================================== NAVBAR ======================================== */
/* ===================================================================================== */

.navbar-custom{
    background:transparent;
    transition:0.4s;
}

.navbar-scroll{
    background:rgba(0,0,0,0.7);
    backdrop-filter:blur(10px);
}

/* LINKS */

.navbar-nav .nav-link{
    color:#ffffff !important;
    font-weight:500;
    letter-spacing:0.5px;
    transition:0.3s;
    position:relative;
    margin-left:15px;
}

/* HOVER */

.navbar-nav .nav-link:hover{
    color:#ffc107 !important;
}

/* LINEA */

.navbar-nav .nav-link::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#ffc107;
    transition:0.3s;
}

.navbar-nav .nav-link:hover::after{
    width:100%;
}

/* LOGOS */

.logo{
    width:90px;
}

.logo-letras{
    width:120px;
    margin-left:-20px;
}

/* WHATSAPP */

.icono-whatsapp{
    width:40px;
    height:40px;
    margin-left:20px;
}

/* ===================================================================================== */
/* ======================================= HERO ======================================== */
/* ===================================================================================== */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden;
    color:white;
}

/* IMAGEN DE FONDO */

.hero::before{
    content:"";
    position:absolute;
    width:100%;
    height:100%;

    background:url('../images/portada2.png') center center/cover no-repeat;

    animation:zoomHero 15s ease-in-out infinite alternate;

    z-index:1;
}

/* OVERLAY */

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.08);
    z-index:2;
    transition:0.4s;
}

/* CONTENIDO */

.hero-content{
    position:relative;
    z-index:3;

    margin-left:50px;

    max-width:650px;
}

/* TITULO BLANCO */

.hero h1{
    font-size:70px;
    line-height:1;
    font-weight:300;
    margin-bottom:10px;
}

/* DON CAIZA */

.titulo-doncaiza{
    font-size:120px;
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;

    color:#ffd700;

    line-height:0.9;

    margin-bottom:20px;
}

/* TEXTO */

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

/* BOTON */

.btn-contacto{
    background:#ffc107 !important;
    border:none !important;

    color:#000 !important;

    padding:15px 35px !important;

    border-radius:50px !important;

    font-size:20px !important;

    transition:0.4s;
}

/* HOVER */

.btn-contacto:hover{
    transform:scale(1.05);
}

/* ANIMACION */

@keyframes zoomHero{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.1);
    }

}

/* ===================================================================================== */
/* ==================================== RESPONSIVE ===================================== */
/* ===================================================================================== */

@media(max-width:768px){

    .hero{
        justify-content:center;
        text-align:center;
    }

    .hero-content{
        margin-left:0;
        padding:20px;
    }

    .hero h1{
        font-size:45px;
    }

    .titulo-doncaiza{
        font-size:70px;
    }

    .hero p{
        font-size:18px;
    }

}

/* BOTON */

.btn-contacto{
    border-radius:40px !important;
    padding:12px 30px !important;
    transition:0.3s;
}

.btn-contacto:hover{
    transform:scale(1.05);
}
/* CARD */
.card{
    border:none;
    box-shadow:0 5px 15px rgba(0, 0, 0, 0.1);
}

.card img{
    height:200px;
    object-fit:contain;
    background:white;
    padding:10px;
}

/* BOTÓN */
button{
    width:100%;
    margin-top:10px;
    padding:10px;
    border:none;
    background:#16a34a;
    color:white;
    font-weight:bold;
    border-radius:8px;
}

/* CARRITO ITEM */
.item-carrito{
    display:flex;
    justify-content:space-between;
    padding:10px;
    background:white;
    margin-bottom:10px;
    border-radius:8px;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.alerta-envio{
    background:#fff3cd;
    border-left:6px solid #f59e0b;
    padding:15px;
    border-radius:10px;
    margin-top:20px;
    font-size:14px;
    color:#333;
}

.logo {
    width: 90px;
    left: -70px;
    
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    overflow: hidden;
}

/* IMAGEN */
.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../images/portada2.png') center/cover no-repeat;

    filter: brightness(1.2) contrast(1.05) saturate(1.1);

    animation: zoomHero 15s ease-in-out infinite alternate;

    z-index: 1;
}

@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.2); }
}

body{
    margin:0;
}

/* T///////////////////////////////////////////////////////////A */


/* CONTENEDOR GENERAL */
.carrito-container{
    max-width:800px;
}

/* TÍTULO */
.carrito-titulo{
    font-weight:700;
    margin-bottom:15px;
    color:#1f2937;
}

/* CAJA PRINCIPAL */
.carrito-box{
    background:white;
    border-radius:15px;
    padding:20px;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

/* ITEMS */
#carrito{
    margin-bottom:15px;
}

/* FOOTER */
.carrito-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid #eee;
    padding-top:15px;
    margin-top:10px;
}

/* TOTAL */
.carrito-footer h4{
    font-weight:700;
    color:#111827;
}

/* BOTÓN PROFESIONAL */
.btn-pedido{
    background:linear-gradient(45deg,#25d366,#128c7e);
    color:white;
    border:none;
    padding:12px 18px;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.btn-pedido:hover{
    transform:scale(1.05);
    box-shadow:0 5px 15px rgba(37,211,102,0.3);
}









/* ITEM DEL CARRITO */
.item-carrito{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#ffffff;
    padding:12px 15px;
    margin-bottom:10px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.06);
    transition:0.3s;
}

.item-carrito:hover{
    transform:translateY(-2px);
}

/* INFO DEL PRODUCTO */
.item-info{
    display:flex;
    flex-direction:column;
}

.item-info strong{
    font-size:15px;
    color:#111827;
}

.item-info span{
    font-size:12px;
    color:#6b7280;
}

/* PRECIO */
.item-precio{

    color:#16a34a;
    font-size:444445px;
}

/* BOTÓN ELIMINAR */
.btn-eliminar{
    background:#ef4444;
    color:white;
    border:none;
    padding:6px 12px;
    border-radius:8px;
    font-size:12px;
    cursor:pointer;
    transition:0.3s;
    width: 150PX;
}

.btn-eliminar:hover{
    background:#dc2626;
    transform:scale(1.05);
}

/* ANIMACIÓN AL AGREGAR */
.animate{
    animation:fadeInUp 0.3s ease;
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* TOTAL DESTACADO */
#total{
    color:#111827;
    font-weight:800;
}




















/* ITEM DEL CARRITO */
.item-carrito{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#ffffff;
    padding:12px 15px;
    margin-bottom:10px;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,0.06);
    transition:0.3s;
}

.item-carrito:hover{
    transform:translateY(-2px);
}

/* INFO DEL PRODUCTO */
.item-info{
    display:flex;
    flex-direction:column;
}

.item-info strong{
    font-size:15px;
    color:#111827;
}

.item-info span{
    font-size:12px;
    color:#6b7280;
}

/* PRECIO */
.item-precio{
    font-weight:700;
    color:#16a34a;
    font-size:15px;
}

/* BOTÓN ELIMINAR */
.btn-eliminar{
    background:#ef4444;
    color:white;
    border:none;
    padding:6px 12px;
    border-radius:8px;
    font-size:12px;
    cursor:pointer;
    transition:0.3s;
}

.btn-eliminar:hover{
    background:#dc2626;
    transform:scale(1.05);
}

/* ANIMACIÓN AL AGREGAR */
.animate{
    animation:fadeInUp 0.3s ease;
}

@keyframes fadeInUp{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* TOTAL DESTACADO */
#total{
    color:#111827;
    font-weight:800;
}









.info-nutricional{
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border: 1px solid #dbeafe;
    border-left: 6px solid #3b82f6;
    padding: 12px 15px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

/* EFECTO HOVER */
.info-nutricional:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* TITULO */
.info-nutricional h6{
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

/* TEXTO */
.info-nutricional p{
    margin: 4px 0;
    font-size: 14px;
    color: #374151;
}
/* ===================================================================================== */
/* ====================================== boton transparente ======================================= */
/* ===================================================================================== */


.dropdown-menu{
    background-color: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.dropdown-item{
    color: #fff !important;
}

.dropdown-item:hover{
    background-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

/* ===================================================================================== */
/* ==================================== CONTACTO ======================================= */
/* ===================================================================================== */

.contacto{
    padding:100px 20px;
    background:#f8fafc;
}

/* CONTENEDOR */

.contacto-container{
    max-width:650px;
    margin:auto;
}

/* TITULO */

.contacto h2{
    text-align:center;
    font-size:40px;
}

.subtitulo{
    text-align:center;
    margin-bottom:40px;
}

/* FORMULARIO */

.formulario{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* CAMPOS */

.campo{
    margin-bottom:20px;
}

.campo label{
    display:block;
    margin-bottom:8px;
    font-weight:bold;
}

.campo input,
.campo textarea{
    width:100%;
    padding:14px;
    border:1px solid #ccc;
    border-radius:10px;
    outline:none;
}

/* BOTON */

.btn-enviar{
    width:100%;
    padding:15px;
    border:none;
    background:#22c55e;
    color:#fff;
    border-radius:10px;
    font-size:18px;
    transition:0.3s;
}

.btn-enviar:hover{
    background:#16a34a;
}




/* ===================================================================================== */
/* ====================================== FOOTER ======================================= */
/* ===================================================================================== */

.footer{
    background:#0f172a;
    color:#fff;
    padding:60px 20px 20px;
}

/* CONTENEDOR */

.footer-container{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:30px;
    max-width:1200px;
    margin:auto;
}

/* TITULOS */

.footer-section h3,
.footer-section h4{
    margin-bottom:20px;
}

/* LINKS */

.footer-section a{
    display:block;
    margin-bottom:10px;
    color:#cbd5e1;
    text-decoration:none;
    transition:0.3s;
}

.footer-section a:hover{
    color:#22c55e;
    transform:translateX(5px);
}

/* FINAL */

.footer-bottom{
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #334155;
    text-align:center;
}

/* ===================================================================================== */
/* ==================================== RESPONSIVE ===================================== */
/* ===================================================================================== */

@media(max-width:768px){

    .hero{
        justify-content:center;
        text-align:center;
    }

    .hero h1{
        font-size:40px;
    }

    .titulo-doncaiza{
        font-size:65px;
    }

    .nosotros-content{
        flex-direction:column;
    }

    .nosotros-texto{
        padding:40px 25px;
        text-align:center;
    }

    .historia-box{
        width:90%;
        padding:35px;
    }

    .contenido-carrusel h2{
        font-size:40px;
    }

    .contenido-carrusel p{
        font-size:17px;
        padding:0 20px;
    }

    .botones{
        flex-direction:column;
    }

}