/* =========================
   VARIABLES GLOBALES
========================= */

:root{

    --verde-oscuro:#0B3D2E;
    --verde-medio:#2E7D32;
    --verde-brillante:#4CAF50;
    --verde-claro:#A5D6A7;

    --blanco:#FFFFFF;

    --gris-sombra:#D9D9D9;
    --gris-claro:#F5F5F5;

    --texto:#0f172a;
}

/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
    scroll-behavior:smooth;
}

body{

    background:
    linear-gradient(
    to bottom,
    #ffffff,
    #f7fff8);

    color:var(--texto);

    overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

header{

    width:100%;

    position:fixed;

    top:0;
    left:0;

    z-index:1000;

    background:#ffffff;

    backdrop-filter:blur(12px);

    box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 7%;
}

/* =========================
   LOGO
========================= */

.logo img{

    height:75px;

    transition:0.3s;
}

.logo img:hover{

    transform:scale(1.05);
}

/* =========================
   MENÚ
========================= */

nav ul{

    display:flex;

    gap:30px;

    list-style:none;
}

nav ul li a{

    text-decoration:none;

    color:black;

    font-weight:500;

    transition:0.3s;
}

nav ul li a:hover,
nav ul li a.active{

    color:var(--verde-medio);
}

/* =========================
   BOTONES NAV
========================= */

.nav-auth{

    display:flex;

    gap:15px;

    align-items:center;
}

.btn-login{

    text-decoration:none;

    color:black;

    font-weight:600;

    transition:0.3s;
}

.btn-login:hover{

    color:var(--verde-medio);
}

.btn-register{

    text-decoration:none;

    background:var(--verde-brillante);

    color:white;

    padding:12px 24px;

    border-radius:16px;

    font-weight:600;

    transition:0.35s ease;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.12);
}

.btn-register:hover{

    background:var(--verde-medio);

    transform:translateY(-3px);
}

/* =========================
   HERO
========================= */

.hero{

    width:100%;

    height:100vh;

    background:url('../ilustraciones/Banner.png');

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:20px;
}

.hero-content{

    max-width:900px;
}

/* =========================
   TÍTULO HERO
========================= */

.hero h1{

    font-size:90px;

    color:#0B3D2E;

    letter-spacing:6px;

    font-weight:700;

    margin-bottom:25px;

    text-shadow:
    0 4px 15px #FFFFFF(0,0,0,0.55);
}

/* =========================
   TEXTO HERO
========================= */

.hero p{

    color:#2E7D32;

    font-size:22px;

    line-height:1.9;

    margin-bottom:40px;

    text-shadow:
    0 2px 10px #FFFFFF(0,0,0,0.55);
}

/* =========================
   BOTONES HERO
========================= */

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

/* =========================
   BOTONES GENERALES
========================= */

.btn{

    padding:16px 38px;

    border-radius:16px;

    transition:0.35s ease;

    font-weight:600;

    text-decoration:none;

    box-shadow:
    0 10px 25px rgba(0,0,0,0.12);
}

.btn-green{

    background:var(--verde-medio);

    color:white;
}

.btn-green:hover{

    background:var(--verde-brillante);

    transform:translateY(-4px);

    box-shadow:
    0 14px 30px rgba(76,175,80,0.28);
}

.btn-white{

    background:white;

    color:var(--verde-oscuro);
}

.btn-white:hover{

    transform:translateY(-4px);
}

/* =========================
   SECCIONES
========================= */

section{

    padding:110px 8%;
}

.section-title{

    text-align:center;

    font-size:52px;

    font-weight:700;

    color:var(--verde-oscuro);

    margin-bottom:70px;
}

/* =========================
   VIDEO SECTION
========================= */

.video-container{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:60px;

    flex-wrap:wrap;
}

.video-box{

    flex:1 1 500px;
}

.video-box video{

    width:100%;

    border-radius:25px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.12);
}

.video-text{

    flex:1 1 450px;
}

.video-text h3{

    font-size:38px;

    color:var(--verde-medio);

    margin-bottom:20px;
}

.video-text p{

    color:#475569;

    line-height:2;

    font-size:18px;
}

/* =========================
   ABOUT
========================= */

.about{

    background:var(--gris-claro);
}

.about-container{

    max-width:1000px;

    margin:auto;

    text-align:center;
}

.about-text p{

    font-size:20px;

    line-height:2;

    color:#475569;

    margin-bottom:25px;
}

/* =========================
   CARDS
========================= */

.cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;
}

.card{

    background:white;

    border-radius:24px;

    padding:40px 30px;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.06);

    transition:0.35s ease;
}

.card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 18px 35px rgba(46,125,50,0.16);
}

.card h3{

    color:var(--verde-medio);

    margin-bottom:15px;

    font-size:24px;
}

.card p{

    color:#64748b;

    line-height:1.8;
}

/* =========================
   FOOTER
========================= */

footer{

    background:var(--verde-oscuro);

    padding:35px;

    text-align:center;

    color:white;

    font-weight:500;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    nav{

        flex-direction:column;

        gap:20px;
    }

    nav ul{

        flex-wrap:wrap;

        justify-content:center;
    }

    .hero h1{

        font-size:65px;
    }
}

@media(max-width:768px){

    .hero{

        height:auto;

        padding-top:180px;

        padding-bottom:120px;
    }

    .hero h1{

        font-size:48px;
    }

    .hero p{

        font-size:18px;
    }

    .section-title{

        font-size:38px;
    }

    .video-text h3{

        font-size:30px;
    }

    .about-text p{

        font-size:18px;
    }
}
.btn-perfil,
.btn-logout{
    text-decoration:none;
    padding:10px 18px;
    border-radius:10px;
    font-weight:600;
    transition:.3s;
    display:flex;
    align-items:center;
    gap:8px;
}

.btn-perfil{
    background:#2E7D32;
    color:white;
}

.btn-perfil:hover{
    background:#1b5e20;
}

.btn-logout{
    background:white;
    color:black;
}

.btn-logout:hover{
    background:#b91c1c;
}