


/* navbar css code ..................................................
*/


.super-star-navbar {
    background: rgba(246, 243, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.super-star-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.navbar-brand {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    color: #2c3e50;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 0;
    line-height: 1.2;
}

.brand-tagline {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 400;
    margin: 0;
}

.navbar-nav {
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    padding: 0.75rem 1.2rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #2c3e50 !important;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-link:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db !important;
    transform: translateY(-2px);
}

.nav-link.active {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c !important;
}

.nav-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.cta-button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white !important;
    border-radius: 25px;
    padding: 0.75rem 1.5rem !important;
    margin-left: 0.5rem;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white !important;
}

.custom-toggler {
    border: none;
    padding: 0.5rem;
    background: none;
    position: relative;
    width: 30px;
    height: 30px;
}

.toggler-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.custom-toggler:hover .toggler-line {
    background-color: #e74c3c;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-brand-container {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: 8px;
        margin: 0.2rem 0;
    }
    
    .cta-button {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .brand-tagline {
        display: none;
    }
}

/* Smooth scroll animation for navbar on scroll */
@media (prefers-reduced-motion: no-preference) {
    .super-star-navbar {
        animation: slideDown 0.5s ease-out;
    }
    
    @keyframes slideDown {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/*  برای هم برگر--------------------------------------------------------------------------
*/

/* به صورت پیش‌فرض (برای موبایل) نمایش داده شود */
.navbar-toggler.custom-toggler {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

/* از 992px به بالا (اندازه دسکتاپ)، دکمه مخفی شود */
@media (min-width: 992px) {
  .navbar-toggler.custom-toggler {
    display: none !important;
  }
}


.toggler-line {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 4px 0;
  transition: all 0.3s ease;
}

