/* =====================================
   ZOOLÓGICO MUNDO SALVAJE
   ESTILOS GENERALES
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}


html{
    scroll-behavior:smooth;
}


body{

    background:#f5f8f2;
    color:#333;

}


/* =====================================
   HEADER - NAVBAR
===================================== */


header{

    background:#064e3b;
    position:sticky;
    top:0;
    z-index:1000;

}


.navbar{

    width:90%;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;

}


.logo{

    display:flex;
    align-items:center;
    gap:12px;
    color:white;

}


.logo i{

    font-size:35px;
    color:#a7f3d0;

}


.logo h2{

    font-size:25px;

}


.menu{

    display:flex;
    list-style:none;
    gap:25px;

}


.menu a{

    text-decoration:none;
    color:white;
    font-weight:500;
    transition:.3s;

}


.menu a:hover,
.menu .activo{

    color:#a7f3d0;

}



/* =====================================
   BOTONES
===================================== */


.btn{

    display:inline-block;
    background:#16a34a;
    color:white;
    padding:14px 30px;
    border-radius:30px;
    text-decoration:none;
    border:none;
    cursor:pointer;
    transition:.3s;
    font-weight:600;

}


.btn:hover{

    background:#064e3b;
    transform:translateY(-4px);

}



/* =====================================
   HERO PRINCIPAL
===================================== */


.hero{

    height:90vh;
    background:
    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),
    url("../images/banner.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:center;

}


.hero-text{

    width:90%;
    margin:auto;
    color:white;
    max-width:700px;

}


.hero-text h1{

    font-size:55px;
    margin-bottom:20px;

}


.hero-text p{

    font-size:18px;
    margin-bottom:30px;

}



/* =====================================
   SECCIONES GENERALES
===================================== */


section{

    padding:70px 5%;

}


section h2{

    text-align:center;
    color:#064e3b;
    font-size:35px;
    margin-bottom:40px;

}



.info{

    text-align:center;
    max-width:900px;
    margin:auto;

}


.info p{

    font-size:18px;
    line-height:1.8;

}



/* =====================================
   TARJETAS
===================================== */


.contenedor-cards{

    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}



.card{

    background:white;
    padding:35px;
    border-radius:20px;
    text-align:center;
    box-shadow:
    0 10px 25px rgba(0,0,0,.1);

    transition:.4s;

}


.card:hover{

    transform:translateY(-10px);

}


.card i{

    font-size:45px;
    color:#16a34a;
    margin-bottom:20px;

}


.card h3{

    color:#064e3b;
    margin-bottom:15px;

}



.card p{

    line-height:1.6;

}



/* =====================================
   BANNER SECUNDARIO
===================================== */


.banner-secundario{

    height:45vh;

    background:
    linear-gradient(
    rgba(0,0,0,.5),
    rgba(0,0,0,.5)
    ),
    url("../images/banner2.jpg");

    background-size:cover;
    background-position:center;

    color:white;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;

}


.banner-secundario h1{

    font-size:50px;

}


.banner-secundario p{

    font-size:20px;

}



/* =====================================
   ANIMALES
===================================== */


.categoria{

    background:#ffffff;

}


.card-animal{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:
    0 8px 20px rgba(0,0,0,.12);

    transition:.4s;

}


.card-animal:hover{

    transform:scale(1.03);

}


.card-animal img{

    width:100%;
    height:250px;
    object-fit:cover;

}


.contenido{

    padding:25px;

}


.contenido h3{

    color:#064e3b;
    margin-bottom:15px;

}


.contenido p{

    margin-bottom:10px;

}



/* =====================================
   GALERÍA
===================================== */


.galeria{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

}



.animal{

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 5px 15px #ccc;

    text-align:center;

}


.animal img{

    width:100%;
    height:220px;
    object-fit:cover;

}


.animal h3{

    padding:15px;
    color:#064e3b;

}



/* =====================================
   SERVICIOS
===================================== */


.servicios{

    background:#ecfdf5;

}



.servicio{

    background:white;

    padding:30px;

    border-radius:20px;

    text-align:center;

}



/* =====================================
   TABLAS
===================================== */


.tabla{

    width:80%;
    margin:auto;
    border-collapse:collapse;
    background:white;

}


.tabla th{

    background:#064e3b;
    color:white;

    padding:15px;

}


.tabla td{

    padding:15px;

    border-bottom:1px solid #ddd;

    text-align:center;

}


.tabla tr:hover{

    background:#dcfce7;

}



/* =====================================
   ESTADÍSTICAS
===================================== */


.estadisticas{

    background:#064e3b;

    color:white;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(200px,1fr));

    text-align:center;

}


.dato h2{

    color:#a7f3d0;
    font-size:45px;

}


.dato p{

    font-size:20px;

}



/* =====================================
   CONTACTO
===================================== */


.contacto-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(350px,1fr));

    gap:40px;

}



.formulario,
.informacion{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:
    0 10px 25px rgba(0,0,0,.1);

}



.formulario input,
.formulario textarea{


    width:100%;

    padding:15px;

    margin-bottom:20px;

    border-radius:10px;

    border:1px solid #ccc;

}



.dato-contacto{

    display:flex;

    gap:20px;

    margin-bottom:25px;

}



.dato-contacto i{

    color:#16a34a;

    font-size:30px;

}



/* =====================================
   MAPA
===================================== */


.mapa iframe{

    width:100%;
    height:400px;

    border:0;

    border-radius:20px;

}



/* =====================================
   LISTAS
===================================== */


.lista{

    max-width:800px;

    margin:auto;

    list-style:none;

}


.lista li{

    background:white;

    margin:15px;

    padding:20px;

    border-radius:15px;

    box-shadow:0 5px 15px #ddd;

}



/* =====================================
   CTA
===================================== */


.cta{

    background:#16a34a;

    color:white;

    text-align:center;

}


.cta h2{

    color:white;

}


.cta p{

    margin-bottom:30px;

}



/* =====================================
   FOOTER
===================================== */


footer{

    background:#022c22;

    color:white;

    text-align:center;

    padding:40px;

}


.redes{

    margin:25px;

}


.redes a{

    color:white;

    font-size:25px;

    margin:10px;

    transition:.3s;

}


.redes a:hover{

    color:#a7f3d0;

}


.copy{

    margin-top:20px;

}



/* =====================================
   RESPONSIVE
===================================== */


@media(max-width:768px){


.navbar{

    flex-direction:column;

}


.menu{

    flex-direction:column;

    text-align:center;

    margin-top:20px;

}


.hero-text h1{

    font-size:35px;

}


.banner-secundario h1{

    font-size:35px;

}


section h2{

    font-size:28px;

}


.tabla{

    width:100%;

}


}