/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: #fcfcfc;
}

/* Header - Menú a la derecha */
header {
    background: #2e7d32;
    color: white;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li { margin-left: 25px; }

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #a5d6a7;
}

/* Sección Hero con Imagen de Fondo */
.hero {
    position: relative;
    /* RECUERDA TENER ESTA IMAGEN EN TU CARPETA img */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('imagenes/fondo\ principal.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-contenido h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-contenido p {
    font-size: 1.4rem;
    margin-bottom: 40px;
}

/* Burbujas de Sabores */
.lista-sabores span {
    display: inline-block;
    background: #4caf50;
    color: white;
    padding: 12px 25px;
    margin: 8px;
    border-radius: 50px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Galería con Marcos */
.galeria-seccion {
    padding: 60px 5%;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Busca esta parte y déjala así */
.marco-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiamos 'cover' por 'contain' */
    background-color: #ffffff; /* Esto pone un fondo blanco si la imagen es muy larga */
}

.marco-imagen:hover {
    transform: translateY(-10px);
}

.marco-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilo del Cuadrito de Nosotros */
.contenedor-nosotros {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background: #f1f8e9;
}

.tarjeta-nosotros {
    background: white;
    padding: 50px;
    max-width: 800px;
    border-radius: 20px;
    box-shadow: 0px 15px 35px rgba(0,0,0,0.1);
    text-align: center;
}

.tarjeta-nosotros h1 { margin-bottom: 10px; color: #2e7d32; }

.tarjeta-nosotros hr {
    width: 50px;
    height: 5px;
    background: #4caf50;
    border: none;
    margin: 20px auto;
}

.tarjeta-nosotros p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.espacio-imagen {
    margin-top: 30px;
    padding: 20px;
    background: #fafafa;
    border: 2px dashed #ddd;
}