@charset "utf-8";

        /* Navbar Layout - Centered Structure */
        .navbar {
            display: flex;
            justify-content: center;
            align-items: center;
    background: #9e6f5b; /* Old browsers */
    background: -moz-linear-gradient(top,  #9e6f5b 0%, #935c4b 50%, #894b34 50%, #5b1800 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9e6f5b), color-stop(50%,#935c4b), color-stop(50%,#894b34), color-stop(100%,#5b1800)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #9e6f5b 0%,#935c4b 50%,#894b34 50%,#5b1800 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #9e6f5b 0%,#935c4b 50%,#894b34 50%,#5b1800 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #9e6f5b 0%,#935c4b 50%,#894b34 50%,#5b1800 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #9e6f5b 0%,#935c4b 50%,#894b34 50%,#5b1800 100%); /* W3C */
            color: #ffffff;
            padding: 15px 30px;
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        /* Desktop Navigation Links */
        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            /* Padding removed here and moved to the <a> tag to make the entire hover block clickable */
            padding: 0;
        }

        .nav-links a {
            color: #ffffff;
            text-decoration: none;
            font-size: 16px;
            padding: 10px 20px; /* Gives padding inside the link box */
            border-radius: 4px; /* Slightly softens the hover box corners */
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Changes background color on hover */
        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: #ffffff; /* Vibrant accent color */
        }

        /* Hamburger Icon Container */
        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-between;
            width: 25px;
            height: 20px;
        }

        /* Individual Hamburger Bars */
        .hamburger .bar {
            height: 3px;
            width: 100%;
            background-color: #ffffff;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        /* Mobile Responsive View (Screens under 768px wide) */
        @media screen and (max-width: 768px) {
            .hamburger {
                display: flex; 
            }

            .nav-links {
                position: absolute; 
                left: 0;
                top: 50px; 
                width: 100%; 
                background-color:#894b34;
                flex-direction: column;
                text-align: center;
                
                max-height: 0; 
                overflow: hidden; 
                transition: max-height 0.4s ease-in-out;
            }

            /* Stack mobile links cleanly */
            .nav-links li {
                width: 100%;
                opacity: 0;
                transition: opacity 0.2s ease;
            }

            /* Expand links to fill screen width on mobile hover */
            .nav-links a {
                display: block;
                padding: 15px 0;
                border-radius: 0; /* Full screen-width flush look on mobile */
            }

            /* Triggered via JS: Opens the drawer straight down */
            .nav-links.active {
                max-height: 300px; /* Adjust based on your content height */
            }

            /* Fades links in smoothly when opened */
            .nav-links.active li {
                opacity: 1;
                transition: opacity 0.4s ease 0.1s;
            }

            /* Hamburger to 'X' Morph Animations */
            .hamburger.toggle .bar:nth-child(1) {
                transform: rotate(-45deg) translate(-5px, 6px);
            }
            .hamburger.toggle .bar:nth-child(2) {
                opacity: 0;
            }
            .hamburger.toggle .bar:nth-child(3) {
                transform: rotate(45deg) translate(-5px, -6px);
            }
        }
 


