/* ======== Navegación ======== */
ul {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-style: oblique;
}

nav ul li a:hover {
    background-color: #555;
    color: white;
}

/* ======== Contenedor de contacto ======== */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f4f4f4;
}

/* ======== Formulario ======== */
.contact-form {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.contact-form h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-form p {
    text-align: center;
    color: #333;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
}

.contact-form textarea {
    resize: none;
    height: 150px;
}

.contact-form button {
    background-color: #0056b3;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-family: 'Segoe UI', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #d62828;
}

/* ======== Footer ======== */
footer {
    background-color: #161616;
    color: white;
    padding: 20px 50px;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: #9a8820;
    text-decoration: none;
}

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 30px 20px;
    }

    .contact-form {
        width: 100%;
        padding: 30px 20px;
    }

    .contact-form form > div {
        flex-direction: column;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 1em;
    }
}
