/* --- Estilos Generales --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* Quita el borde azul/morado que aparece al hacer el logo un enlace */
a img {
    border: none;
    text-decoration: none;
}

/* Estilo para quitar el borde inferior en los enlaces que están dentro del logo-container */
.logo-container a {
    text-decoration: none;
    border: none;
}

/* --- Contenedor Principal (para centrar y dar espaciado) --- */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Estilos para la Página de Mantenimiento --- */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#maintenance-section {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.logo-maintenance {
    text-align: center;
    margin-bottom: 25px;
}

.logo-maintenance img {
    max-width: 150px;
    height: auto;
}

#maintenance-section h1 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 10px;
}

#maintenance-section h2 {
    font-size: 2em;
    color: #007bff;
    margin-top: 0;
}

#maintenance-section h3 {
    font-size: 1.5em;
    color: #555;
    margin-top: 5px;
}

.maintenance-image {
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    display: block;
}

#maintenance-section p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* --- Estilos para la sección de Aviso de Privacidad y Contacto --- */
.privacy-header {
    background-color: #f4f4f4;
    padding: 20px 0;
    text-align: center;
}

.logo-container {
    text-align: center;
    margin-bottom: 25px;
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

.privacy-main, .contacto-main {
    padding: 20px 0;
}

.privacy-section p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0 auto 15px auto;
    text-align: justify;
}

.privacy-section h2, .privacy-section h3, .contacto-section h2 {
    text-align: center;
}

.privacy-section h2, .contacto-section h2 {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 20px;
}

.privacy-section h3 {
    font-size: 1.5em;
    color: #555;
    margin-bottom: 10px;
}

/* Estilos específicos para la página de Contacto */
.contacto-body {
    background: url('images/fondo-contacto.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

.contacto-section {
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente para que el texto sea legible */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.contacto-section h2 {
    color: #fff;
    margin-bottom: 15px;
}

.persuasive-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-container {
    text-align: left;
}

.form-container label {
    display: block;
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1em;
}

.form-container button {
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s;
}

.form-container button:hover {
    background-color: #0056b3;
}

/* --- Estilos para el Pie de Página (Footer) --- */
.main-footer {
    padding: 20px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 1em;
    margin-top: 10px;
}

/* --- Estilos para dispositivos móviles (media query) --- */
@media (max-width: 768px) {
    #maintenance-section {
        padding: 20px;
    }

    #maintenance-section h1 {
        font-size: 2em;
    }

    #maintenance-section h2 {
        font-size: 1.5em;
    }

    .logo-maintenance img {
        max-width: 100px;
    }

    .privacy-section p, .contacto-section p {
        text-align: center;
    }

    .contacto-section {
        max-width: 90%;
    }
}