.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 35px;
    cursor: pointer;
}

.line {
    border-top: 1px solid white;
    width: 100%;
    margin: 5px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #A1845A;
    position: relative;
    padding: 30px 31px !important;
    /* background-image: linear-gradient(180deg,
            #000000 0%,
            #00000000 100%); */
}

.logo {
    font-size: 35px;
    font-family: math;
    color: white;
}

.nav-container {
    flex: 1;
    display: flex
;
    /* justify-content: center; */
    margin-left: 178px;
    position: relative;
    /* left: -145px; */
    /* right: -216px; */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 500;
    padding: 0.5em 0;
    display: inline-block;
    text-transform: uppercase;
    font-family: "Jost", sans-serif;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.dropdown-content a {
    text-decoration: none;
}

.nav-item:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.nav-card {
    background: linear-gradient(135deg, #b9935a, #a68a64);
    width: 120px;
    height: 100px;
    border-radius: 10px;
    /* box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: black;
    text-decoration: none;
}

.nav-card img {
    max-width: 80px;
    margin-bottom: 10px; /* reduced to move image up */
    margin-top: -4px; /* lifted a little */
    transition:
        transform 0.3s ease,
        margin 0.3s ease; /* smooth animation */
}

.nav-card img:hover {
    transform: translateY(-7px); /* move image 5px more up when hovered */
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    padding-left: 10px;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    overflow: scroll;
    width: 100%;
    height: 100%;
    background: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: left 0.3s ease-in-out;
    z-index: 999;
}

/* Close (X) Button */
.close-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 40px;
    cursor: pointer;
    color: white;
}

/* Mobile Menu Links */
.mobile-nav-menu {
    list-style: none;
    padding: 0;
    padding-left: 34px;
    width: 100%;
    margin-top: 90px;
    /* display: flex; */
    flex-direction: column;
    align-items: flex-start;
}

.mobile-nav-menu li {
    margin: 20px 0;
}

.mobile-nav-menu a {
    color: white;
    text-decoration: none;
}

.mobile-nav-menu .sub-btn {
    font-size: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-info {
    margin-top: 55px;
}

.mobile-logo {
    font-size: 25px;
    font-weight: bold;
    margin-top: 37px;
    text-transform: uppercase;
    font-family: sans-serif;
}

.line2 {
    border-top: 2px solid #aea6a6;
}

.sub-item {
    color: white;
    font-size: 23px;
    text-decoration: none;
    display: block;
    padding-left: 35px;
    font-family: math;
    padding-bottom: 10px;
}

.sub-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
}

.dropdown {
    transition: transform 0.3s ease;
    transform-origin: center;
}

/* When sub-btn has active class, rotate the SVG */
.sub-btn.active .dropdown {
    transform: rotate(90deg);
}

.item {
    margin-bottom: 15px;
}

.contact-info p {
    border-bottom: 0.1px solid #978d74;
    padding-bottom: 15px;
    padding-top: 10px;
    width: 83%;
}

.contact-info h4 {
    font-size: 22px;
    padding-bottom: 12px;
    font-weight: 100;
}

/* Responsive */
@media (max-width: 1016px) {
    .navbar {
        justify-content: center;
        padding: 60px 20px !important;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        margin-top: -24px;
        transform: translateX(-50%);
    }

    .nav-container {
        display: none;
        margin-left: 0px;
    }

    .hamburger {
        display: block;
        position: absolute;
        left: 20px;
    }
    .mobile-nav-menu .sub-btn {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .logo img {
        height: 50px;
        width: 224px;
    }

}
/* @media (min-width: 1016px) {
    .nav-container {
        display: none;
        margin-left: 0px;
    }
} */
