@charset "utf-8";
/* CSS Document */

/* Basic Reset & Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Ensures padding/borders don't add to width */
}

body {
    font-family: sans-serif;
}

menu {
  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: white;
    padding: 0px 20px;
    display: flex;
    justify-content:center; /*menu in center */
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex; /* Horizontal menu for desktop */
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

nav ul li a:hover {
    background-color: #555 opacity 50%;
	 box-shadow: inset 2px 0px 10px -5px rgba(0,0,0,0.6), inset -2px 0px 10px -5px rgba(0,0,0,0.6);
}

.menu-toggle {
    display: none; /* Hide hamburger icon on desktop */
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: 0.4s;
}

/* Responsive Styles for Mobile (e.g., screen width <= 768px) */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-menu {
        position: absolute;
        right: -100%; /* Hide menu off-screen */
        top: 15px; /* Adjust based on your header height */
         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 */
        width: 100%;
        transition: 0.3s;
    }

    .nav-menu.active {
        right: 0; /* Slide menu in when 'active' class is added */
    }

    nav ul {
        flex-direction: column; /* Stack menu items vertically */
        width: 100%;
    }

    nav ul li a {
        padding: 15px;
        text-align: center;
    }
}
