
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #ff0062;
    --gold-color: #ffd700;
    --text-light: #ffffff;
    --text-dark: #152035;
    --bg-dark: #0f0c29;
    --transition: all 0.3s ease;
}





/* Header Styles */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 90px;
    z-index: 1000;
    transition: var(--transition);
}
.logo{
    width: 3vw;
}
.navbar-custom {


width: 100%;
    padding: 0 2rem;
    height: 80px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.navbar-custom:hover{
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
            background: linear-gradient(135deg, rgba(177, 175, 179, 0.2), rgba(231, 232, 235, 0.3));
                 backdrop-filter: blur(10px);
}
.navbar-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent); */
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.navbar-custom:hover::before {
    transform: translateX(100%);
}

.navbar-custom.scrolled {
    height: 80px;
    border-radius: 0;
    background: linear-gradient(95deg, rgba(6, 133, 23, 0.45), rgba(37, 117, 252, 0.35),rgba(230, 127, 195, 0.75));
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

/* Logo */
.navbar-brand-custom {
    margin-left: 2rem;
    z-index: 10;
}

.logo-custom {

    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(228, 222, 149, 0.2));
}

.navbar-custom:hover .logo-custom {
    transform: scale(1.05);
}

/* Navigation Items */
.navbar-nav-custom {
    display: flex;
    align-items: center;

    margin-right: auto;
    width: 100vw;
}

.nav-item-custom {
    position: relative;
    margin-right: 2vw;
}

.nav-link-custom {
    color: var(--text-light) !important;
    font-weight: 500;
    padding: 7px 30px 7px 8px !important;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 8px;
    z-index:9999999999;
    font-family:'vazirmatn';
    width:10vw;
    color:rgb(20,10,100) !important
}

.nav-link-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(223, 229, 135, 0.9), transparent);
    transition: left 0.7s ease;
}

.nav-link-custom:hover::before {
    left: 100%;
}

.nav-link-custom:hover {
    color:rgba(0, 0, 0, 0.7) !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 11px rgba(0, 0, 0, 0.2);
}

.nav-link-custom.active {
    color: var(--accent-color) !important;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(255, 0, 98, 0.3);
}

.nav-link-custom i {
    font-size: .9rem;
}

/* User Actions */
.navbar-actions-custom {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
}

/* Search Icon */
.search-icon-custom {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-icon-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.search-icon-custom svg {
    width: 20px;
    height: 20px;
    color: var(--text-light);
}

/* Theme Toggle */
.theme-toggle-custom {
    position: relative;
    width: 50px;
    height: 26px;
}

.theme-toggle-custom input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    border-radius: 34px;
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.theme-toggle-custom input:checked+.theme-slider {
    background-color: var(--accent-color);
}

.theme-toggle-custom input:checked+.theme-slider:before {
    transform: translateX(24px);
}

/* Profile & Cart */
.profile-button-custom,
.cart-button-custom {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    color: var(--text-light);
    text-decoration: none;
    position: relative;
}

.profile-button-custom:hover,
.cart-button-custom:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Dropdown Menu */
.dropdown-menu-custom {
    background: rgba(30, 30, 60, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.dropdown-item-custom {
    color: var(--text-light);
    padding: 10px 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold-color);
}

.dropdown-divider-custom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

/* Mobile Toggle */
.navbar-toggler-custom {
    border: none;
    background: transparent;
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.navbar-toggler-custom span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition);
}

.navbar-toggler-custom.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler-custom.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler-custom.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.navbar-toggler-custom.active span:nth-child(4) {
    transform: rotate(45deg) translate(-6px, 6px);
}
.navbar-toggler-custom.active span:nth-child(5) {
opacity:0
}
.navbar-toggler-custom.active span:nth-child(6) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.navbar-nav-h{

    display: flex;
    width: 100vw;
    align-items: center;
}
/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1001;
}

.progress-bar {
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--gold-color));
    width: 0%;
    transition: width 0.3s ease;
}
ul{
    margin: 0 !important;
}
/* Responsive Design */
@media (max-width: 991px) {
    .navbar-custom {
        border-radius: 0;
        padding: 0 1rem;
    }

    .navbar-nav-custom {
        margin: 1rem 0;
        gap: 0;
    }

    .nav-link-custom {
        padding: 12px 15px !important;
        border-radius: 10px;
        margin: 2px 0;
    }

    .navbar-actions-custom {
        margin: 1rem 0;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .navbar-custom {
        height: 90px;
    }

    .navbar-custom.scrolled {
        height: 70px;
    }

    .logo-custom {
        height: 40px;
    }

    .navbar-actions-custom {
        gap: 0.7rem;
    }

    .profile-button-custom,
    .cart-button-custom,
    .search-icon-custom {
        width: 40px;
        height: 40px;
    }
}

/* Demo Content */
.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.demo-content h1 {
    margin-bottom: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--gold-color), var(--accent-color));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.demo-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: .8rem;
}
