:root {
    --negro: #0a0a0a;
    --verde-claro: #9dffb0;
    --blanco: #ffffff;
}

body {
    background-color: var(--negro);
    color: var(--blanco);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid var(--verde-claro);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { 
    color: var(--verde-claro);
    font-weight: bold; 
    font-size: 1.8rem; 
    text-decoration: none; 
}

header nav ul { 
    display: flex; 
    list-style: none; 
    margin: 0; 
    gap: 30px; 
}

header nav a { 
    color: white; 
    text-decoration: none; 
    transition: 0.3s; 
}

header nav a:hover { 
    color: var(--verde-claro); 
}

/* HERO - Fondo de Hojas de Cambur */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('hojas4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.btn-principal {
    background: var(--verde-claro);
    color: black;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-principal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(157, 255, 176, 0.4);
}

/* SECCIÓN IMPACTO - Zig-Zag */
.info-impacto { 
    padding: 100px 8%; 
}

.fila-impacto { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    margin-bottom: 120px; 
}

.fila-impacto:nth-child(even) { 
    flex-direction: row-reverse; 
}

.imagen-ref, .texto-ref { 
    flex: 1; 
}

.imagen-ref img { 
    width: 100%; 
    border-radius: 15px; 
    border: 1px solid var(--verde-claro); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.texto-ref h2 { 
    color: var(--verde-claro); 
    font-size: 2.5rem; 
}

.texto-ref p { 
    font-size: 1.2rem; 
    line-height: 1.6; 
    color: #ccc; 
}

/* CATÁLOGO */
.galeria-seccion { 
    padding: 80px 8%; 
    background: #151515; 
}

.titulo-centrado { 
    text-align: center; 
    color: var(--verde-claro); 
    margin-bottom: 40px; 
}

.mosaico-galeria { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
}

.foto-item { 
    overflow: hidden; 
    border-radius: 12px; 
}

.foto-item img { 
    width: 100%; 
    height: 350px; 
    object-fit: cover; 
    transition: 0.5s ease; 
}

.foto-item:hover img { 
    transform: scale(1.1); 
    filter: brightness(1.1);
}

footer { 
    text-align: center; 
    padding: 40px; 
    color: #666; 
}

/* Ajuste para celulares */
@media (max-width: 768px) { 
    .fila-impacto, .fila-impacto:nth-child(even) { 
        flex-direction: column; 
        text-align: center; 
    } 
    .hero h1 { font-size: 2.2rem; }

    /* Estilos del Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: 0.3s;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
}

/* Efecto de pulso suave */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Estilos del Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
    animation: pulse-verde 2s infinite;
}

.whatsapp-btn img {
    width: 35px;
    height: 35px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Efecto de pulso para que la gente lo vea rápido */
@keyframes pulse-verde {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
}
