/* Navbar Container */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    background-color: #f5f5f5;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Logo */
.navbar-logo {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.crescent-moon {
    width: 20px;
    height: 20px;
    background-color: #f5f5f5;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 8px;
    box-shadow: 8px 0 0 #f5f5f5;
}

.logo-arabic {
    color: #f5f5f5;
    font-size: 10px;
    font-weight: 600;
    margin-top: 20px;
    font-family: 'Arial', sans-serif;
}

.logo-text {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    letter-spacing: 1px;
}

/* Navigation Menu */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: end;
    margin-left: 100px;
}

.nav-item {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.w--current {
    color: #666;
}

.nav-item.w--current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #333;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: #e0e0e0;
}

.lang-separator {
    color: #666;
    font-size: 14px;
}

/* Cart Section */
.navbar-cart {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.cart-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cart-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cart-icon {
    width: 20px;
    height: 20px;
    color: white;
    fill: white;
}

.cart-count {
    color: white;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    outline: none;
}

.burger-icon {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Burger icon animation */
.mobile-menu-button.active .burger-icon:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button.active .burger-icon:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active .burger-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(245, 245, 245, 0.95);
    z-index: 999;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 40px;
    gap: 30px;
}

.mobile-nav-item {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 15px 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-item:hover {
    color: #666;
}

/* Mobile Language Selector */
.mobile-language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.mobile-lang-btn {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-lang-btn:hover,
.mobile-lang-btn.active {
    background-color: #e0e0e0;
}

.mobile-lang-separator {
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .navbar-container {
        padding: 0 20px;
    }

    .navbar-nav {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }
}

@media screen and (max-width: 767px) {
    .navbar-container {
        height: 60px;
        padding: 0 15px;
    }

    .logo-text {
        font-size: 20px;
    }

    .mobile-nav-overlay {
        top: 60px;
    }
}



@media screen and (max-width: 767px) {
    body {
        padding-top: 60px;
    }
}
