body {
    
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #222;    
    
    
    background: linear-gradient(120deg, #fffbe6 0%, #fff9cc 40%, #ffffff 100%);
    background-attachment: fixed;
    background-size: cover;
}

h1, h2, h3, h4, h5 {
    /*font-family: 'Poppins', sans-serif;*/
    font-family: "Rancho", cursive;
    /*font-weight: 700;*/
    letter-spacing: 0.5px;
    color: #111;
}

p, li {
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    color: #333;
}

.separador-sombra {
    /* Define la altura y el ancho del separador */
    height: 10px;
    width: 80%; /* Ocupa el 80% del ancho del contenedor */
    margin: 40px auto; /* Centrado y con margen vertical para separar */
    background: #f8f9fa; /* Color de fondo muy claro (gris de Bootstrap) */
    border-radius: 5px; /* Bordes ligeramente redondeados */
    /* La clave: una sombra interior (inset) sutil */
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
}

.separador {
    height: 2px;
    width: 100%;
    margin: 50px 0;
    scroll-margin-top: 90px;
    /* La clave: Gradiente lineal que va de un color a transparente y viceversa */
    background: linear-gradient(
        to right,
        transparent, /* Inicia transparente */
        #007bff, /* Color principal de Bootstrap */
        transparent /* Termina transparente */
    );
}


.titulo-flotante-galeria {
    position: absolute;
    top: -20px; 
    left: 15px; 
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    background-color: rgba(255, 180, 0 , 0.9); /* Fondo blanco semi-transparente */
    padding: 8px 15px;
    border-radius: 0 0 8px 8px; /* Solo redondea las esquinas inferiores */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    
    z-index: 10; 
}

#galeria-divisor {
    padding-top: 50px; 
}

/* detalle en las secciones */

/* ==== ESTILOS DE SECCIONES CON DISTINCIÓN VISUAL ==== */

/* Fondo base con transición suave entre crema y blanco */
section {
    background: linear-gradient(180deg, #fffdf5 0%, #fffbe6 60%, #ffffff 100%);
    border-radius: 40px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
    margin: 60px auto;
    padding: 60px 30px !important;
    /*max-width: 1200px;*/
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* efecto sutil al hacer hover o scroll (si lo combinás con AOS queda hermoso) */
section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Alternar fondos para romper la monotonía */
section:nth-of-type(even) {
    background: linear-gradient(180deg, #ffffff 0%, #fff9cc 100%);
}

/* Pequeño borde superior dorado */
section::before {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f2c94c, #e6b800);
    border-radius: 4px;
    margin: 0 auto 25px auto;
}



#encabezado-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    background-image: url('/assets/complementos/huevos1024x487.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    /* border-bottom-right-radius: 40px; */
}



#encabezado-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4); /* velo claro sobre la foto */
    backdrop-filter: blur(2px);
}

#texto_encabezado {
    position: relative;
    text-align: center;
    color: #604400; /* marrón cálido */
    font-size: 2.5rem !important;

    font-family: "Rancho", cursive;
    font-weight: 400;
    font-style: normal;
    
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    z-index: 1;
    padding: 0 20px;
}

/* GRID DE PRODUCTOS */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 40px 0;
}

/* TARJETA DE PRODUCTO */
.producto-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-bottom: 1px solid #f2f2f2;
}

.producto-card h3 {
    margin: 12px 0;
    font-size: 1rem;
    color: #333;
    padding: 0 10px;
}

.producto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/*
    Colores de ejemplo basados en la imagen:
    Dorado/Marrón principal: #D4A745 (ajusta según tu paleta)
*/

/* 1. Estilos de la Sección Principal */
#seccion-confianza {
    background-image: url('/assets/complementos/fondo-frase-1024x477.jpg'); /* Tu imagen de fondo de huevos */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Ajusta la altura si es necesario, py-5 de Bootstrap ya da buen padding */
}


.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Color dorado/marrón semi-transparente */
    background-color: rgba(212, 167, 69, 0.85); 
    border-radius: 40px; /* Esquinas ligeramente redondeadas */

    z-index: 0;
}

/* 3. Posicionamiento y Estilo del Logo del Huevo */
.logo-huevo-banner {
    /* La imagen debe salirse un poco del contenedor, como en el ejemplo */
    width: 100%; /* Ocupa el 100% de su columna (col-3) */
    max-width: 250px; /* Limita el tamaño absoluto */
    
    /* Para el efecto "desbordado" de la izquierda: */
    position: absolute;
    left: -50px; /* Mueve la imagen 50px fuera del contenedor a la izquierda */
    top: 50%; /* Inicia el posicionamiento desde la mitad */
    transform: translateY(-50%); /* Ajusta hacia arriba para centrar verticalmente */
}

/* Ajuste para que el texto no se monte en el logo */
#seccion-confianza .row {
    padding-left: 100px; /* Asegura espacio para el logo desbordado */
}

/* Contenedor que maneja el recorte y el efecto de elevación */
.imagen-tecnologica-wrapper {
    overflow: hidden; /* Recorta la imagen si se agranda al hacer hover */
    border-radius: 8px; /* Esquinas ligeramente redondeadas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer; /* Indica que es interactivo */
    
    /* Asegura que el contenedor tenga una relación de aspecto fija (opcional) */
    padding-bottom: 100%; /* Crea un cuadrado perfecto (altura = ancho) */
    position: relative;
}

/* La imagen en sí */
.galeria-img-tecnologica {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el wrapper sin deformarse */
    position: absolute;
    top: 0;
    left: 0;
    /* Transición para un movimiento suave */
    transition: transform 0.6s ease-out, filter 0.6s ease-out;
    
    /* Filtro sutil para darle un toque "tecnológico" */
    filter: grayscale(10%) contrast(105%);
}

/* Efecto al pasar el ratón (HOVER) */
.imagen-tecnologica-wrapper:hover {
    transform: translateY(-5px); /* Pequeño levantamiento */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Sombra más fuerte */
}

.imagen-tecnologica-wrapper:hover .galeria-img-tecnologica {
    transform: scale(1.05); /* Zoom ligero */
    filter: grayscale(0%) contrast(100%); /* Quita el filtro para revelar el color completo */
}

/* Estilo para el contenedor principal de la galería para darle un fondo (opcional) */
#galeria-divisor {
    background-color: #f8f9fa; /* Fondo gris claro de Bootstrap */
    padding: 30px;
    border-radius: 10px;
}


/* HEADER HUEVO FELIZ */
.hf-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.hf-header.shrink {
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.hf-header.shrink .hf-top img {
    max-height: 80px;
}

.hf-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}
.hf-top img {
    max-height: 120px;
    transition: max-height 0.3s ease;
}

/* Navbar */
.hf-navbar {
    background-color: #fff !important;
    border-top: 1px solid #f9f9f9;
}

.hf-menu .nav-link {
    height: 40px;
    font-weight: 600;
    color: #444 !important;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 16px;
    transition: all 0.2s ease;
    position: relative;
}

.hf-menu .nav-link:hover {
    color: #e6b800 !important; /* amarillo huevo */
}

.hf-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 60%;
    height: 2px;
    background-color: #f2c94c;
    transition: transform 0.25s ease;
}
.hf-menu .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/*Estilos para el div de las imágenes */
/* --- GALERÍA MODAL --- */
.galeria-modal {
    display: none; /* oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.galeria-modal-contenido {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

.galeria-cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}
.galeria-cerrar:hover {
    color: #f2c94c;
}

/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

/*--------------*/



@media (max-width: 768px) {
    .hf-top img {
        max-height: 100px;
    }
    .hf-menu .nav-link {
        text-align: center;
        padding: 10px;
    }
    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 16px;
    }
    #encabezado-hero {
        height: 45vh;
        /*border-bottom-right-radius: 20px;*/
    }
    #texto_encabezado h1 {
        font-size: 1.6rem;
    }
    
    #seccion-confianza .row {
        padding-left: 0; /* Sin padding en móviles */
    }

    
    .separador {
        height: 2px;
        width: 100%;
        scroll-margin-top: 240px;
        /* La clave: Gradiente lineal que va de un color a transparente y viceversa */
        background: linear-gradient(
            to right,
            transparent, /* Inicia transparente */
            #007bff, /* Color principal de Bootstrap */
            transparent /* Termina transparente */
            );
    }
    
.titulo-flotante-galeria {
    position: absolute;
    top: -20px;
    left: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    background-color: rgba(255, 180, 0, 0.9);
    padding: 8px 15px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}    

    
    
}
