/* =======================
   Navbar Styles
======================== */
body {
    margin: 0;
    font-family: sans-serif;
}

.navbar {
    background: #016b61;
    color: #f5ee8e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 50;
    height: 100px;
    padding: 0 2rem;
}

/* Navbar links */
.navbar a {
    color: #f5ee8e;
    margin: 0 0.75rem;
    text-decoration: none;
    font-weight: 500;
}
.navbar a:hover {
    text-decoration: underline;
}

/* Desktop menu */
.desktop-menu {
    display: flex;
    gap: 1rem;
}

/* Mobile menu hidden */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #016b61;
    color: #ede60e;
    padding: 1rem;
}

/* Mobile menu button hidden on desktop */
#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #f5ee8e;
}

/* Logo */
.logo img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

/* Responsive logo */
@media (max-width: 992px) {
    .logo img { max-height: 100px; }
}
@media (max-width: 768px) {
    .logo img { max-height: 80px; }
}
@media (max-width: 480px) {
    .logo img { max-height: 70px; }
}

/* Icons container */
.navbar-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    position: relative;

}

/* Icons */
.navbar button {
    background: none;
    border: none;
    cursor: pointer;
}
.navbar i {
    font-size: 24px;
    color: #f5ee8e;
}

/* Cart badge */
.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    background: red;
    color: white;
    font-size: 0.75rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .desktop-menu { display: none; }
    #mobile-menu-btn { display: inline-flex; }
    .mobile-menu { display: none; }
}

/* Mobile menu animation */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}
#mobile-menu a {
    color: #f5ee8e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 10px;
    display: block;
    transition: all 0.3s ease;
}

/* Hover effect */
#mobile-menu a:hover {
    background: #016b61; /* hover background */
    color: #f5ee8e;
    transform: translateX(6px);
}

/* Active / current item (optional) */
#mobile-menu a.active {
    background: #ffffff;
    color: #016b61;
}
#mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-menu li {
    margin-bottom: 8px;
}