/* ================================================================
   ESTILOS PARA LA PÁGINA NOSOTROS - LUVELCA ENERGY
   ================================================================ */

/* --- RESET Y BASES --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f9f9f9; }

/* --- NAVEGACIÓN --- */
nav {
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { display: flex; align-items: center; gap: 12px; color: white; }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { color: white; text-decoration: none; font-weight: 700; font-size: 14px; }

/* --- HERO PEQUEÑO --- */
.hero-small {
    height: 40vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1466611653911-95282fc3656b?auto=format&fit=crop&q=80&w=1600') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}
.hero-small h1 { font-size: clamp(28px, 5vw, 45px); text-transform: uppercase; }

/* --- TARJETAS (OVERLAP) --- */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -50px;
    padding: 0 10%;
    position: relative;
    z-index: 10;
}

.card {
    background: #8cc63f; /* Verde Luvelca */
    color: white;
    padding: 30px;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.card-green-dark { background: #1e8449; }
.card:hover { transform: translateY(-10px); }
.card-icon { font-size: 40px; margin-bottom: 15px; }

/* --- SECCIÓN DETALLE --- */
.about-detail {
    display: flex;
    align-items: center;
    padding: 100px 10%;
    gap: 50px;
    background: #f9f9f9;
}

.about-image { flex: 1; }
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 15px 15px 0px #f1b42f; /* Dorado Luvelca */
}

.about-text { flex: 1; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; color: #222; }
.about-text p { line-height: 1.8; color: #555; margin-bottom: 20px; }

.btn-primary {
    background-color: #f1b42f;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
}
/* --- FOOTER --- */
.simple-footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: auto;
}

/* --- MENU HAMBURGUESA Y RESPONSIVE --- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: #f1b42f; }

@media (max-width: 900px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        right: -100%; top: 0;
        height: 100vh; width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
    }
    .nav-links.active { right: 0; }
    .close-menu { display: block; position: absolute; top: 25px; right: 25px; font-size: 40px; color: #f1b42f; cursor: pointer; }
    
    .info-cards { flex-direction: column; margin-top: -30px; }
    .about-detail { flex-direction: column; text-align: center; padding: 50px 10%; }
}

/* --- ANIMACIÓN DE CARGA --- */
#mini-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.4s ease;
}

.solar-circle {
    width: 80px; height: 80px;
    border: 2px solid rgba(140, 198, 63, 0.2);
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbiting-sun {
    width: 15px; height: 15px;
    background: #f1b42f;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    box-shadow: 0 0 10px #f1b42f;
    transform-origin: 50% 48px;
    animation: orbit 1.5s infinite linear;
}

@keyframes orbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.loader-hidden { opacity: 0; pointer-events: none; }
