/* =============================================================== */
/* RINOLAB LANDING | CSS TOTALMENTE CORREGIDO                     */
/* Diseño gráfico fuerte, fondo funcional, sin parches ni inventos*/
/* =============================================================== */

/* ---------------------- PALETA RINOLAB ------------------------ */
:root {
    --azul: #0a1b3d;
    --rojo: #e0102a;
    --amarillo: #ffcc00;
    --gris: #9ea4a8;
    --blanco: #ffffff;

    --fuente-titulos: 'Bebas Neue', sans-serif;
    --fuente-base: 'Montserrat', sans-serif;
}

/* ---------------------- RESET GENERAL ------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--fuente-base);
    color: var(--blanco);
    background: url('../img/fondo.jpg') center center no-repeat fixed;
    background-size: cover;
    background-blend-mode: multiply;
    background-color: rgba(10, 27, 61, 0.92);
    overflow-x: hidden;
}

/* ---------------------- NAVBAR ------------------------------- */
.navbar {
    background-color: rgba(10, 27, 61, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    border-bottom: 4px solid var(--rojo);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--amarillo);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--rojo);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--amarillo);
}

/* ---------------------- HERO ------------------------------- */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 6rem 3rem;
    min-height: 100vh;
    background: transparent;
}

.hero-texto {
    flex: 1;
}

.hero-texto h1 {
    font-family: var(--fuente-titulos);
    font-size: 5rem;
    line-height: 1.1;
    color: var(--amarillo);
    text-shadow: 2px 2px 4px #000;
    letter-spacing: 3px;
}

.hero-texto p {
    font-size: 1.2rem;
    margin: 1.5rem 0;
    color: var(--gris);
    max-width: 500px;
}

.boton-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--rojo), var(--amarillo));
    color: var(--azul);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.boton-cta:hover {
    background: var(--amarillo);
    color: var(--rojo);
}

.hero-imagen {
    flex: 1;
    text-align: center;
}

.hero-imagen img {
    max-width: 420px;
    width: 100%;
    animation: flotar 5s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------------------- PRODUCTOS -------------------------- */
.productos {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(10, 27, 61, 0.92);
}

.productos h2 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 1.5rem;
    text-shadow:
         1px  1px 0 #ffffff,
         2px  2px 4px #fad20a;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border: 2px solid var(--rojo);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(224, 16, 42, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    color: var(--amarillo);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ---------------------- NOSOTROS -------------------------- */
.nosotros {
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.nosotros h2 {
    font-family: var(--fuente-titulos);
    font-size: 2.5rem;
    color: var(--rojo);
    margin-bottom: 1.5rem;
    text-shadow:
    -1px  1px 0 #ffffff,
    2px  2px 4px #fad20a;
}


.nosotros p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gris);
}

/* ---------------------- CONTACTO (ELIMINADO) -------------- */
.contacto {
    display: none;
}

/* ---------------------- FOOTER ---------------------------- */
.footer {
    background: rgba(0, 0, 0, 0.5);
    color: var(--gris);
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    border-top: 4px solid var(--rojo);
}

/* ---------------------- RESPONSIVE ------------------------ */
@media (max-width: 768px) {
    .nav {
        position: absolute;
        top: 80px;
        right: 0;
        background: #07132a;
        flex-direction: column;
        width: 200px;
        padding: 1rem;
        display: none;
        border-left: 3px solid var(--rojo);
    }

    .nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        padding: 4rem 2rem;
        text-align: center;
    }

    .hero-imagen {
        order: -1;
        margin-bottom: 2rem;
    }
}
