/* ====== RESET Y BASES GENERALES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
    font-weight: lighter;
}

p {
    line-height: 1.5;
}

body {
    background: url("https://meltemiadv.it/wp-content/uploads/2025/12/giorno.avif") no-repeat center center/cover;
    min-height: 100vh;
    color: #10182f;
    transition: background 1s ease;
}

.container {
    padding-left: 200px;
    padding-right: 200px;
}

/* ====== REGLAS ESPECÍFICAS DE PÁGINA (PAGE ID 8827) ====== */
.page-id-8827,
.page-id-8827 body,
.page-id-8827 .site,
.page-id-8827 .site-content,
.page-id-8827 .content-area,
.page-id-8827 .container,
.page-id-8827 .entry-content,
.page-id-8827 .wpb-content-wrapper,
.page-id-8827 .vc_row,
.page-id-8827 .row {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.page-id-8827 .site-main>*,
.page-id-8827 .wpb_row,
.page-id-8827 .vc_row-fluid,
.page-id-8827 .content-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

.vc_column_container>.vc_column-inner {
    box-sizing: border-box;
    padding-left: 0px !important;
    padding-right: 0px !important;
    width: 100% !important;
}

/* ====== DISCLAIMER ====== */
.disclaimer {
    background-color: yellow;
    position: fixed;
    width: 100%;
    height: 5%;
    z-index: 1000;
}

.disclaimer p {
    font-size: 60%;
    color: black;
    text-align: center;
    background-color: yellow;
    padding: 1%;
}

/* ====== NAVBAR ====== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    background: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 999;
}

nav .logo img,
.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.logo {
    margin-top: 5% !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 5% !important;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.btn-contattaci,
.nav-links .btn-contattaci {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 22px;
    background: linear-gradient(to right, #59A08E, #2C82C9);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.btn-contattaci:hover {
    opacity: 0.85;
}

.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ====== SECCIÓN DE CONTACTO ====== */
.contact-section {
    text-align: center;
    padding: 80px 20px;
    min-height: calc(100vh - 80px);
}

.contact-section h1 {
    font-size: 40px;
    margin-bottom: 5px;
    color: #004B82 !important;
    font-weight: 700;
}

.contact-section p {
    margin-bottom: 20px;
    color: #10182f !important;
    font-weight: 400;
}

/* ====== CONTENEDOR DEL FORMULARIO ====== */
.wpcf7 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
}

.wpcf7 form {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    background: #ffffff !important;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
    text-align: left !important;
}

/* ====== TEXTOS Y LABELS DEL FORMULARIO (COLOR NEGRO) ====== */
.wpcf7 form p {
    color: #000000 !important;
    margin-bottom: 18px !important;
    text-align: left !important;
}

.wpcf7 form label,
.wpcf7 form label span,
.wpcf7-form-control-wrap {
    color: #000000 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    display: block !important;
    text-align: left !important;
}

/* ====== INPUTS Y CAMPOS DE TEXTO ====== */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1.5px solid #d0d7de !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #000000 !important; /* Texto que escribe el usuario también en negro */
    margin-top: 6px !important;
    outline: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #004B82 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 75, 130, 0.15) !important;
}

.wpcf7 textarea {
    resize: none;
    min-height: 120px;
}

/* ====== BOTÓN DE ENVIAR ====== */
.wpcf7 input[type="submit"] {
    width: 100% !important;
    background: linear-gradient(to right, #59A08E, #2C82C9) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 14px 0 !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    transition: opacity 0.3s ease !important;
}

.wpcf7 input[type="submit"]:hover {
    opacity: 0.9 !important;
}

/* Mensajes de respuesta de Contact Form 7 */
.wpcf7-response-output {
    margin-top: 20px;
    border: none !important;
    background: #004B82 !important;
    color: #ffffff !important;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

/* ====== FOOTER ====== */
.site-footer {
    background-color: #10182f;
    color: #fff;
    padding: 60px 0;
    font-size: 14px;
    text-align: center;
    margin-top: 250px;
    margin-bottom: -200px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ====== MEDIA QUERIES / RESPONSIVE ====== */
@media (max-width: 1024px) {
    nav {
        padding: 15px 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-section h1 {
        font-size: 28px;
    }

    .wpcf7 form {
        padding: 25px;
    }

    nav {
        position: relative;
    }

    .hamburger {
        display: block !important;
        margin-right: 0px;
        margin-top: 9% !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        gap: 15px;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .logo {
        margin-top: 9% !important;
    }
}
