@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Estilos del Header y Navegación */
/* Add or modify the header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20%;
    background: #11141a; /* Adding the dark background color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: background 0.3s ease-in-out;
}

header.scrolled {
    background: #11141a; /* Color sólido cuando se desplaza */
}

@media (max-width: 768px) {
    header {
        padding: 20px;
        background-color: #11141a;
    }
}

.logo {
    width: 250px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
    transition: .3s;
}

nav a:hover,
nav a.active {
    color: #D9B814;
}

.alquilar-btn {
    background-color: #D9B814;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 20px;
    color: #11141a;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.alquilar-btn:hover {
    background-color: #fff;
    color: #D9B814;
    border-color: #D9B814;
}

/* Estilos para el botón de navegación móvil */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #11141a;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        padding: 40px 0;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        margin: 15px 0;
        font-size: 20px;
    }
}

/* Estilos del Main Content */
main {
    padding-top: 100px; /* Para compensar el header fijo */
}

/* Estilos de la sección de Misión y Visión */
.mision-vision-section {
    padding: 50px 0;
}

.mision-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
}

.mision-box, .vision-box {
    flex: 1;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mision-box:hover, .vision-box:hover {
    transform: translateY(-5px);
}

.mision-box h3, .vision-box h3 {
    color: #11141a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.mision-box p, .vision-box p {
    color: #666;
    line-height: 1.6;
    text-align: justify;
}

/* Estilos de la sección de Requisitos */
.requisitos-section {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

.requisitos-section h2 {
    font-size: 2.5em;
    color: #11141a;
    margin-bottom: 30px;
}

.requisitos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.requisitos-image {
    max-width: 60%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos del Footer */
.footer-section {
    background-color: #11141A;
    color: #fff;
    padding: 40px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.map-responsive {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.map-responsive iframe {
    width: 1200px;
    height: 300px;
}

.newsletter {
    margin-bottom: 20px;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 25px 0 0 25px;
}

.newsletter-form button {
    background-color: #FDC500;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

.privacy-policy {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
}

.privacy-policy input {
    margin-right: 5px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.contact-info, .footer-links {
    flex-basis: 48%;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info i {
    margin-right: 10px;
    width: 20px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
}

.footer-bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-logo {
    max-width: 150px;
}

/* Estilos del botón flotante de WhatsApp */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    bottom: 40px;
    right: 40px;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0px 0px 3px #fff;
    z-index: 999;
}

.fa-whatsapp {
    font-size: 60px;
}

.float:hover {
    background-color: #fff;
}

.float:hover .fa-whatsapp {
    color: #25d366;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        padding: 20px;
    }

    .nav-toggle {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #111;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        padding: 80px 20px;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 0;
        font-size: 22px;
        border-bottom: 1px solid #333;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .mision-vision-container {
        flex-direction: column;
    }

    .map-responsive iframe {
        width: 100%;
        height: 300px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .newsletter-form button {
        width: 100%;
        border-radius: 25px;
        margin-bottom: 10px;
    }

    .footer-info {
        flex-direction: column;
    }

    .contact-info, .footer-links {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .map-responsive iframe {
        height: 200px;
    }

    .requisitos-section h2 {
        font-size: 2em;
    }
}