/* ========================================
   NAVBAR HORIZONTAL - KHARISMA COLLECTION
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Main Navbar Container */
.navbar-horizontal {
    display: flex;
    width: 100%;
    height: 75px;
    background-color: #F2F2F2;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Left Section - Logo & Brand */
.navbar-left {
    display: flex;
    align-items: center;
    width: 22%;
    background-color: #0B2A59;
    padding: 0 30px;
    gap: 15px;
    flex-shrink: 0;
}

.navbar-logo {
    width: 50px;
    height: 50px;
    background-color: #D9A441;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(217, 164, 65, 0.2);
}

.navbar-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.navbar-brand-title {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
}

.navbar-brand-subtitle {
    font-size: 11px;
    color: #D9A441;
    letter-spacing: 0.3px;
    line-height: 1;
    font-weight: 500;
}

/* Right Section - Menu & Icons */
.navbar-right {
    display: flex;
    align-items: center;
    width: 78%;
    padding: 0 40px;
    justify-content: space-between;
    background-color: #F2F2F2;
}

.navbar-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-menu-item {
    position: relative;
}

.navbar-menu-link {
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: inline-block;
    position: relative;
}

.navbar-menu-link:hover {
    color: #0B2A59;
}

.navbar-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D9A441;
    transition: width 0.3s ease;
}

.navbar-menu-link:hover::after {
    width: 100%;
}

/* Navbar Icons Section */
.navbar-icons {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-icon {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-icon-link {
    color: #2C2C2C;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.navbar-icon-link:hover {
    background-color: rgba(11, 42, 89, 0.08);
    color: #0B2A59;
}



/* Cart Badge */
.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #D9A441;
    color: #0B2A59;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

/* Hamburger Menu */
.navbar-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger-line {
    width: 24px;
    height: 2.5px;
    background-color: #2C2C2C;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.navbar-hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    background-color: #F2F2F2;
}

.mobile-menu-link {
    color: #2C2C2C;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
}

/* Main Content Container */
.main-content {
    width: 100%;
    background-color: #FFFFFF;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ======================================== */

@media (max-width: 1024px) {
    .navbar-left {
        width: 25%;
        padding: 0 20px;
    }

    .navbar-right {
        width: 75%;
        padding: 0 20px;
    }

    .navbar-menu {
        gap: 25px;
    }

    .navbar-menu-link {
        font-size: 13px;
    }

    .navbar-icons {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .navbar-horizontal {
        height: 70px;
    }

    .navbar-left {
        width: 35%;
        padding: 0 15px;
        gap: 10px;
    }

    .navbar-logo {
        width: 45px;
        height: 45px;
    }

    .navbar-brand-title {
        font-size: 14px;
    }

    .navbar-brand-subtitle {
        font-size: 9px;
    }

    .navbar-right {
        width: 65%;
        padding: 0 15px;
        gap: 10px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-hamburger {
        display: flex;
        margin-right: 10px;
    }

    .navbar-icons {
        gap: 12px;
    }

    .navbar-icon-link {
        font-size: 16px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .navbar-horizontal {
        height: 65px;
    }

    .navbar-left {
        width: 40%;
    }

    .navbar-logo {
        width: 40px;
        height: 40px;
    }

    .navbar-brand-title {
        font-size: 12px;
    }

    .navbar-brand-subtitle {
        display: none;
    }

    .navbar-right {
        width: 60%;
        gap: 0;
    }

    .navbar-icons {
        gap: 10px;
    }

    .navbar-icon-link {
        font-size: 15px;
        width: 32px;
        height: 32px;
    }

    .icon-badge {
        font-size: 9px;
        padding: 1px 4px;
        top: -5px;
        right: -5px;
    }

    .mobile-menu {
        top: 65px;
        padding: 15px;
        gap: 10px;
    }

    .mobile-menu-item {
        padding: 10px 12px;
    }

    .mobile-menu-link {
        font-size: 13px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.navbar-active {
    color: #0B2A59 !important;
}

.navbar-active::after {
    width: 100% !important;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-horizontal {
    animation: slideDown 0.3s ease;
}

/* ========================================
   USER DROPDOWN MENU STYLING
   ======================================== */

#userMenuDropdown {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    z-index: 10000 !important;
}

#userMenuDropdown a {
    cursor: pointer;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #2C2C2C !important;
    transition: all 0.2s ease !important;
    border-bottom: 1px solid #E0E0E0 !important;
}

#userMenuDropdown a:last-child {
    border-bottom: none !important;
}

#userMenuDropdown a:hover {
    background-color: #F9F9F9 !important;
}

#userMenuDropdown i {
    margin-right: 12px !important;
    width: 16px !important;
    color: #0B2A59 !important;
}

