/* General Body and Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;

}

.line-up {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 8px 0;
    margin: 0;
    font-size: 0.9em;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.logo h4 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    font-size: 1em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007bff;

}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Social Media Icons */
.redes-sociales {
    display: flex;
    gap: 15px;
}

.redes-sociales img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.redes-sociales img:hover {
    transform: scale(1.1);
}

/* Main Content Sections */
main {
    padding: 20px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin: 40px 0 30px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 0;
}

/* Portada Section */
.portada {
    width: 100%;
    height: 400px;
    /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;

}

.portada img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

/* About Velero Section */
.about-velero-content {
    display: flex;
    justify-content: center;
    padding: 0 5%;
    margin-bottom: 50px;
}

.about-velero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    gap: 25px;
}

.about-velero-text img {
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 5%;
    margin-bottom: 50px;
}

.contact-text {
    text-align: center;
    max-width: 600px;
}

.contact-content img {
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Location Section */
.location-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 5%;
    margin-bottom: 50px;
}

.location-text {
    text-align: center;
    max-width: 600px;
}

.location-content iframe {
    width: 100%;
    max-width: 800px;
    /* Control max width of the map */
    height: 400px;
    /* Fixed height for the map */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

/* --- Media Queries for Responsiveness --- */

/* Tablet and Smaller Desktops (e.g., 992px) */
@media (max-width: 992px) {
    nav {
        padding: 15px 3%;
    }

    .nav-links {
        gap: 20px;
    }

    .section-title {
        font-size: 2em;
    }

    .portada {
        height: 300px;
    }

    .about-velero-text img,
    .contact-content img {
        max-width: 400px;
    }
}

/* Mobile Devices (e.g., 768px) */
@media (max-width: 768px) {
    .line-up {
        font-size: 0.75em;
        padding: 5px 0;
    }

    nav {
        flex-wrap: wrap;
        /* Allow wrapping */
        padding: 10px 3%;
        justify-content: center;
        /* Center logo and hamburger */
    }

    .logo {
        flex-basis: 100%;
        /* Take full width */
        text-align: center;
        margin-bottom: 10px;
    }

    .hamburger-menu {
        display: flex;
        /* Show hamburger menu on mobile */
        position: absolute;
        right: 20px;
        top: 20px;
        /* Adjust based on your header's total height */
        z-index: 10;
        /* Ensure it's above other elements */
    }

    .nav-links {
        display: none;
        /* Hide navigation links by default */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #fff;
        position: absolute;
        top: 70px;
        /* Adjust this value based on your header's height */
        left: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 15px;
        transform: translateY(-100%);
        /* Start off-screen */
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
        transform: translateY(0);
        /* Slide into view */
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .redes-sociales {
        display: none;
        /* Hide social media icons on mobile nav (can be moved into the hamburger menu if desired) */
    }

    .portada {
        height: 250px;
    }

    .section-title {
        font-size: 1.8em;
        margin: 30px 0 20px;
    }

    .about-velero-text img,
    .contact-content img {
        max-width: 100%;
        /* Allow images to take full width */
    }

    .location-content iframe {
        height: 300px;
        /* Smaller map height for mobile */
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button img {
        width: 30px;
        height: 30px;
    }
}

/* Smaller Mobile Devices (e.g., 480px) */
@media (max-width: 480px) {
    .logo h4 {
        font-size: 1.5em;
    }

    .portada {
        height: 200px;
    }

    .section-title {
        font-size: 1.5em;
        margin: 25px 0 15px;
    }

    .about-velero-text p,
    .contact-text p,
    .location-text p {
        font-size: 0.9em;
    }

    .footer {
        font-size: 0.8em;
    }
}