/* GENERAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #F5F5F5;
    color: #000;
}

/* HEADER */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 15px 40px;
    background-color: #2D6A00;
    color: white;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #84B135;
    text-decoration: none;
    font-family: 'Arial Black', Arial, sans-serif;
}
.slogan {
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-left: auto; /* Empuja el grupo hacia la derecha */
  }
.menu-toggle {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
}

/* NAV */
.nav-links {
    background-color: #2D6A00;
    text-align: center;
}
.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    display: inline-block;
    padding: 10px;
}
.nav-links a:hover {
    color: #84B135;
}

/* MAIN */
.container {
    max-width: 900px;
    margin: 40px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px #ccc;
    padding: 40px;
    text-align: justify;
}
h2 {
    color: #2D6A00;
    margin-bottom: 30px;
}

/* FORMULARIO VERTICAL */
.formulario-contacto {
    display: block;
    margin-top: 20px;
}
.formulario-contacto label {
    display: block;
    margin-bottom: 5px;
    color: #2D6A00;
    font-weight: bold;
}
.formulario-contacto input,
.formulario-contacto textarea {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}
.formulario-contacto textarea {
    height: 120px;
    resize: vertical;
}
.formulario-contacto button {
    display: block;
    background-color: #2D6A00;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 auto;
}
.formulario-contacto button:hover {
    background-color: #84B135;
}

/* FOOTER */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* RESPONSIVE */
@media screen and (max-width: 600px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
    }
    .nav-links.active {
        display: flex;
    }
    .container {
        padding: 20px;
    }
}
