body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.header-container {
    color: rgb(0, 0, 0);
    height: 55px; /* Reduced height */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    margin-top: 5px;
    padding: 5px;
    z-index: 1000;
    backdrop-filter: blur(17px);
    background: 135deg, rgba(255, 255, 255, 0.398);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-radius: 20px;
    border:1px solid rgba(255, 255, 255, 0.04); 
}

.menu {
    align-items: center;
}

.menu ul {
    display: flex;
    list-style: none;
    padding-right: 35px;
    margin: 0;
}

.menu ul li {
    margin-left: 45px;
}


.menu ul li a {
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: lighter;
    font-size: 20px;
    text-decoration: none;
    color: #000000;
}
.menu ul li a:hover {
    text-decoration: underline;
    color: black;
}

.burger {
    color: #000;
    font-size: 30px;
    cursor: pointer;
    display: none; /* Hidden by default for larger screens */
    z-index: 1001;
    position: fixed;
    right: 20px;
    background: none;
    border: none;
}

.menu-toggle-checkbox:checked + .burger {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0); /* Black background with opacity */
    display: none;
    align-items: center; /* Center vertically */
    justify-content: center; /* Hidden by default */
    z-index: 1000; /* Ensure it appears above everything */
}
.menu-toggle-checkbox:checked + .burger + .overlay {
    display: block;
}

.overlay-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.overlay-content ul li {
    margin: 20px 0;
}

.overlay-content ul li a {
    font-size: 36px;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
}

.overlay-content ul li a:hover {
    text-decoration: underline;
}

.closebtn {
    position: fixed;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
}

.menu-toggle-checkbox {
    display: none;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.m-background {
    background: url('imgs/ilha-final.gif') no-repeat center center/cover;
    background-size: 200%;
}

.home {
    display: flex;
    align-items: center;
    max-height: 500px;
    padding-top: 100px; 
    gap: 30px;
    width: calc(100% - 40px);
    flex-wrap: wrap;
}

.content-container, .preview {
    width: 50%;
    box-sizing: border-box;
    padding: 20px;
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
}

.book-now {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: auto;
    backdrop-filter: blur(17px);
    background: 135deg, rgba(255, 255, 255, 0.398);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-radius: 20px;
    border:1px solid rgba(255, 255, 255, 0.04); 
}

.book-now-box {
    display: flex;
    right: 16px;
    flex-direction: column;
    align-items: center;
    right: auto;
}

.book-now-box h1{
    padding: 15px;
    text-align: center;
    font-style: italic;
    font-weight: lighter;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;

}
.book-now-box a{
    display: block; 
    height: 51px; 
    width: 200px; 
    background: #000000; 
    color: #ffffff; 
    text-align: center;  
    font-size: 20px; 
    line-height: 50px; 
    font-family: Arial, Helvetica, sans-serif; 
    border-radius: 50px; 
    text-decoration: none;
    margin: 20px;
    transition: transform 0.3s ease-in-out;
}
.book-now-box a:hover{
    background-color: #000000;
    color: #ffffff;
    transform: scale(1.1);
}

.preview {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 600px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}
.preview img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.preview:hover img:nth-child(2) {
    opacity: 1;
}

.gallery {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
}

.thumbnail {
    width: 150px;
    height: 150px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s;
}
.thumbnail:hover {
    transform: scale(1.1);
}
.thumbnail.selected {
    backdrop-filter: blur(17px);
    background: 135deg, rgba(255, 255, 255, 0.398);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-radius: 20px;
    border:1px solid rgba(255, 255, 255, 0.272); 
    transform: scale(1.1);
}
.coming-soon {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    backdrop-filter: blur(17px);
    background: 135deg, rgba(255, 255, 255, 0.398);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(17px);
    border-radius: 20px;
    border:1px solid rgba(255, 255, 255, 0.272); 
    cursor: default;
}
.coming-soon:hover {
    transform: none;
}

.floating-contact {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 1000;
}

.toggle-btn {
    display: none; /* Hide the checkbox */
}

/* Main Button */
.contact-btn {
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.contact-btn:hover {
    transform: scale(1.1);
}

/* Contact Options Styling */
.contact-options {
    position: absolute;
    bottom: 70px; /* Positioned above the main button */
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-options a {
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.whatsapp {
    transition: background-color 0.3 ease-in-out;
}
.whatsapp:hover{
    background-color: #25d366;
}

.mail {
    transition: background-color 0.3 ease-in-out;
}
.mail:hover{
    background-color: #c71610;
}

.telegram {
    transition: background-color 0.3 ease-in-out;
}
.telegram:hover{
    background-color: #0088cc;
}



/* When the checkbox is checked, show the contact options */
.toggle-btn:checked + .contact-btn + .contact-options {
    opacity: 1;
    visibility: visible;
}

/* Transition effect for contact options */
.contact-options a {
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toggle-btn:checked + .contact-btn + .contact-options a {
    transform: translateY(0);
    opacity: 1;
}




/* Footer styling */
footer {
    background: black;
    color: darkgrey;
    padding: 10px 0;
    text-align: left;
    font-size: 11px;
    position: static;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

.footer-menu {
    display: flex;
    align-items: center;
}


.footer-menu .social-icons {
    display: inline-block;
    margin-left: 15px;
}

.footer-menu .social-icons a {
    color: #ffffff;
    font-size: 12px;
    margin-left: 15px;
}

.social-icons a {
    list-style-type: none;
    display: inline-block;
    color: #ffffff;
    font-size: 12px;
    margin-left: 15px;
}

.footer-terms {
    color: #ffffff;
    font-size: 8px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}
.footer-copyright {
    color: #ffffff;
    font-size: 8px;
    margin-left: auto; /* Ensure it is pushed to the right */
}

.footer-copyright-media {
    display: none;
}


@media (min-width: 375px) and (max-width: 1024px) {

    .home {
        flex-direction: column;
        align-items: center;
        padding-top: 200px;
        width: 100%;
    }

    .header-container {
        align-content: center;
        align-items: center;
    }

    .logo {
        max-width: 100%;
    }

    .menu {
        display: none;
    }

    /* Hide the desktop menu on mobile screens */
    .desktop-menu {
        display: none;
    }

    /* Show the burger icon on mobile screens */
    .burger {
        display: block;
        align-self: center;
    }

    /* Overlay mobile-friendly styles */
    .overlay-content ul li a {
        font-size: 20px;
    }

    .closebtn {
        font-size: 45px;
    }

    .home {
        flex-direction: column; 
        align-items: center; 
        padding-top: 200px; 
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
        max-height: 100vh;
    }

    .m-background {
        background-size: 400%;
    }
    
    .content-container, .preview {
        width: 100%; 
        padding: 10px; 
    }
    .overlay-content ul li a {
        font-size: 24px; 
    }

    .closebtn {
        font-size: 30px;
        top: 10px; 
        right: 15px; 
    }


    .book-now {
        margin: 0px 0; /* Reduce margin for mobile */
        width: 100%; /* Full width on mobile */

    }
    
    .book-now-box {
        width: 100%;
    }

    .book-now-box h1 {
        padding: 0px;
        font-size: 25px;
    }

    .content-container {
        width: 100%;
        padding: 10px;
    }

    .preview {
        display: none; /* Initially hidden */
        max-width: 90%;
        text-align: center;
        position: relative;
        margin: 20px 0;
    }

    .preview img {
        width: 100%;
        border-radius: 10px;
    }

    .gallery {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .thumbnails {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 40px;
    }

    .thumbnail {
        width: 100px;
        height: 100px;
        cursor: pointer;
        text-align: center;
    }

    .close-preview {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        cursor: pointer;
        padding: 5px;
        border-radius: 5px;
    }
}
