.custom-nav {
    position: relative;      
    border: 1px solid rgba(255,255,255,1);
    left: 0;
    margin-top:  0.5%;
    width: 100%;
    z-index: 10000;
    animation: navDropDown 0.8s ease forwards; 
}

.custom-nav.scrolled {
    position: absolute;
    top: 100px; 
}

.nav-inner {
    display: flex;
    align-items: center;  
    justify-content: space-between;
    max-width: 95%;  

    margin: 0 auto;
    padding: 10px 20px;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    border-radius: 30px;  
    border: 1px solid rgb(241 241 241);
    height: 80px; 
}


.logo img {
    height: 100px;  
    max-height: 100%;  
    object-fit: contain;
   margin-top: 10px;
    backdrop-filter: blur(10px);
    border-radius: 20px;  
    border: 1px solid rgba(255,255,255,0.3);
    padding: 10px;
}

.logo {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    z-index: 9999;
}


.menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-list li {
    display: inline-block;
    margin: 0 15px;
}

.menu-list a {
    text-decoration: none;
    color: black !important;
    font-weight: 300;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s;
}

.menu-list a:hover {
    background: rgba(255,255,255,0.3);
}


.nav-button {
    background-color: #d27f41;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 15px 30px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-button:hover {
    background-color: #b46f3a;
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 5px;
    margin-right: 15px;
    margin-top: 5px;
}

.hamburger span {
    height: 2px;
    width: 24px;
    background: black;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: 0.3s;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@keyframes navDropDown {
    0% {
        transform: translateY(-60px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1192px) {
    .nav-inner {
        max-width: 1000px; 
        padding: 0 15px;
        height: 70px;
    }

    .menu-list li {
        margin: 0 10px;
    }

    .logo img {
        height: 50px; 
    }

    .nav-button {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 1068px) {
    .main-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgb(255, 255, 255);
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
        border-radius: 0 0 20px 20px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        display: none; 
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin: 0 20px;
        z-index: 10001;
    }

    .custom-nav {
        width: 95%;
        margin: 0 auto;
    }

    .main-menu.active {
        display: flex;
    }

    .menu-list li {
        display: block;
        margin: 10px 0;
    }

    .hamburger {
        display: flex; 
    }

    .nav-button {
        display: none; 
    }

    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0 10px;
        height: 60px;
    }

    .menu-list a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .logo img {
        height: 60px;
    }

    .menu-list li {
        margin: 8px 0;
    }
}
