html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    position: relative;
    z-index: 1;
}
#nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    margin: 0;
    width: 100%; /* Make the nav bar cover the width of the page */
    position: fixed; /* Make the nav bar fixed at the top */
    top: 0; /* Position it at the top */
    z-index: 5000;
    flex-wrap: wrap;
    left: 0;
    overflow: hidden;
    box-sizing: border-box;
}
#nav-bar > img {
    width: 100px;
    height: auto;
    margin-left: 20px;
}


nav.menu {
    position: relative;
    z-index: 4000;
}


nav.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: center;
    position: relative;
    z-index: 1000;
}
nav.menu ul li {
    display: inline;
    margin: 0 45px;
}
nav.menu ul li a {
    text-decoration: none;
    color: #fff;
    font-family: 'oleo script swash caps', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s;
    position: relative;
    z-index: 1000;
}
nav.menu ul li a:hover {
    color: #ff69b4;
}
.close-icon {
    display: none;
}
nav.menu img {
    display: none;
}
nav.menu .info {
    display: none;
}
nav.menu .social-icons {
    filter: invert(1);
}


header h2 {
    font-family: 'oleo script swash caps', sans-serif;
    font-size: 2em;
    color: #fff;
    text-align: center;
}
header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
    overflow: hidden;
}


        .mobile-footer {
            display: none;
        }

        .footer {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            padding: 20px 30px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            font-family: 'poppins', sans-serif;
            position: relative;
            z-index: 10;
            border-top:1px solid #333;
        }
        .footer p {
            margin: 0;
            color: #fff;
           
        }
        .footer .patio {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        .footer .patio img {
            width: 120px;
            height: auto;
        }
        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .footer a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }
        .footer a:hover {
            color: #ff69b4;
        }

#social {
    display: flex;
    gap: 10px; /* Space between the icons */
}
#social img {
    width: 32px; /* Set the width of the icons */
    height: 32px; /* Set the height of the icons */
    transition: transform 0.3s;
    filter: invert(1);
    box-shadow: none;
}
#social img:hover {
    transform: scale(1.1);
}


/* Tablet view */
@media only screen and (max-width: 768px) {


    header {
        width: 100%;
        padding: 0;
    }
    .header-content {
        padding: 20px;
        margin-top: 50px;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-right: 50px;

        
    }
    .hamburger .bar1, .hamburger .bar2 {
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 3px 0;
        transition: 0.4s;
    }
    #nav-bar {
        background: rgba(0, 0, 0, 0.4);
        margin: 0;
        padding: 20px 0;

    }
    nav.menu {
        display: none;
        position: fixed; /* Fixed position to extend the nav to the bottom */
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh; /* Full height */
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0; /* Removes border radius */
        margin: 0 auto;
        padding-top: 60px;
        z-index: 20;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%); /* Start off-screen to the right */
    }

    nav.menu.active {
        display: block;
        transform: translateX(0); /* Slide into view */
    }
    nav.menu img.logo {
        display: block;
        width: 150px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }


    nav.menu ul {
        flex-direction: column;
        padding: 10px;
        list-style: none; /* Remove default list styling */
    }

    nav.menu ul li {
        margin: 20px auto;
    }

    nav.menu ul li a {
        font-size: 23px;
        color: #fff; /* Ensure text is visible */
        text-decoration: none; /* Remove underline */
        font-family: 'Darker Grotesque', serif;
        text-transform: uppercase;
        letter-spacing: 4.5px;
        transition: color 0.3s;
    }
    nav ul li a:hover {
        color: #ff69b4;
    }

    .close-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2em;
        color: #fff;
        cursor: pointer;
        z-index: 21; /* Ensure it’s above the menu */
    }

    /* Background overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        z-index: 15;
    }

    .nav-overlay.active {
        display: block;
    }
    nav.menu.active .social-icons {
        display: block;
    }
}

/* Slide-in animation */
@keyframes slideIn {
    from {
        right: -200px;
    }
    to {
        right: 0;
    }
}

@media only screen and (max-width: 480px) {
    .footer {
        display: none;
    }
    .mobile-footer {
        display: grid;
        place-items: center;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        border-top: 1px solid #ccc;
        padding-bottom: 20px;
    }
    .mobile-footer .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .mobile-footer .footer-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }
    .mobile-footer .footer-links a:hover {
        color: #ff69b4;
    }
    /* Ensure the link remains white even after being visited */
    .mobile-footer .footer-links a:visited {
        color: #fff; /* White color after being visited */
        text-decoration: none; /* Remove underline */
    }

    /* Change color when the link is active (being clicked) */
    .mobile-footer .footer-links a:active {
        color: #ff69b4; /* Pink when active */
        text-decoration: none; /* Remove underline */
    }
    .mobile-footer p {
        margin: 0;
        color: #fff;
        text-align: center;
        margin-top: 20px;
    }
    .patio p {
        margin: 0;
        color: #fff;
        text-align: center;
    }
   
    .mobile-footer img {
        width: 100px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .mobile-footer .patio-logo {
        width: 160px;
        height: auto;
    }
}
