/* Estilos generales */
body{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f8f5f1;
    color: #444;
    line-height: 1.6;
}

header {
    background: url("../img/portada.png");
    background-size: cover;
    padding: 20px 0;
    text-align: center;
    height: 100vh;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 auto;
    width: 100%;
    background: #f8f5f1;
    height:0 auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #2d6a4f;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #40916c;
}

#hero {
    text-align: center;
    padding: 50px;
    padding-top: 180px;
}

header nav a img{
    width: 80px;
    margin-top: 8%;
}

#hero img {
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    text-align: center;
    padding: 80px 20px;
    color: white;
    background-size: cover;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

#hero h1 {
    font-size: 2.5em;
    color: #2d6a4f;
}

#hero p {
    font-size: 1.2em;
    margin: 10px 0;
}

#hero a {
    display: inline-block;
    background-color: #40916c;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

#hero a:hover {
    background-color: #51d59e;
}

/* Secciones */
section {
    padding: 45px;
    text-align: center;
}

h2 {
    font-size: 2em;
    color: #2d6a4f;
    margin-bottom: 20px;
}

.fila {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    gap: 10px;
}

#animales .col-plan {
    text-decoration: none;

}

.col-plan {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex: 0 0 auto;
    width: 250px;
}
.col-plan a{
    text-decoration: none;
}
.col-plan:hover {
    transform: translateY(-5px);
}

.col-plan img {
    max-width: 95%;
    border-radius: 5px;
}

.opciones-ayuda {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

}

.opcion {
    background: #b7e4c7;
    padding: 15px;
    border-radius: 10px;
    width: 215px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.opcion:hover {
    transform: scale(1.05);
}

.opcion i {
    font-size: 2.5em;
    color: #1b4332;
    margin-bottom: 10px;
}

/* Botones creativos para enlaces */
.botones-enlace {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.botones-enlace a {
    display: inline-block;
    background: linear-gradient(to right, #ff0000, #cc0000);
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.botones-enlace a:hover {
    transform: translateY(-3px);
    background: linear-gradient(to right, #ff4d4d, #ff6666);
}

/* Formulario */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

form input,
form textarea,
form button {
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #40916c;
    border-radius: 10px;
    font-size: 1em;
}

form button {
    background: #40916c;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button:hover {
    background: #1b4332;
}

footer {
    background: #d8f3dc;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-top: 5px solid #40916c;
}
