/* ========================================
   PREMIUM HEADER STYLES
   Modern, Interactive & Eye-Catching Design
   ======================================== */
.premium-navbar .dropdown-toggle::after{
    display: none !important;
}
/* Premium Top Bar */
.premium-top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.premium-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.info-icon {
    width: 28px;
    height: 28px;
    background: rgba(247, 4, 4, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F70404;
    font-size: 12px;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: #F70404;
    color: #fff;
    transform: rotate(360deg);
}

.info-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.info-link:hover {
    color: #F70404;
    transform: translateX(3px);
}

.info-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.2);
}

.promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(247, 4, 4, 0.15);
    border-radius: 20px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.promo-text i {
    color: #F70404;
    animation: flash 1.5s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #F70404;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 14px;
}

/* Premium Navbar */
.premium-navbar {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
}

.premium-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F70404 0%, #d40000 50%, #F70404 100%);
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.premium-navbar .container-fluid {
    padding: 15px 30px;
}

/* Premium Brand */
.premium-brand {
    position: relative;
    padding: 5px 0;
}

.brand-wrapper {
    position: relative;
    display: inline-block;
}

.brand-logo {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(247, 4, 4, 0.2));
}

.premium-brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(247, 4, 4, 0.4));
}

.brand-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: all 0.6s ease;
}

.premium-brand:hover .brand-shine {
    left: 100%;
}

/* Premium Toggler */
.premium-toggler {
    border: none;
    padding: 8px;
    background: transparent;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.toggler-line {
    width: 100%;
    height: 3px;
    background: #F70404;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.premium-toggler:not(.collapsed) .toggler-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.premium-toggler:not(.collapsed) .toggler-line:nth-child(2) {
    opacity: 0;
}

.premium-toggler:not(.collapsed) .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Premium Navigation */
.premium-nav {
    gap: 5px;
}

.premium-nav-link {
    position: relative;
    padding: 12px 18px !important;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-text {
    position: relative;
    z-index: 1;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F70404, #d40000);
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.premium-nav-link:hover .nav-indicator,
.premium-nav-link.active .nav-indicator {
    width: 80%;
}

.premium-nav-link:hover,
.premium-nav-link.active {
    color: #F70404;
}

.dropdown-icon {
    font-size: 10px;
    transition: all 0.3s ease;
}

.premium-dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Premium Dropdown */
.premium-dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px;
    margin-top: 10px;
    min-width: 220px;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1a1a2e;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.premium-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(247, 4, 4, 0.1), transparent);
    transition: all 0.3s ease;
}

.premium-dropdown-item:hover::before {
    width: 100%;
}

.premium-dropdown-item:hover {
    background: rgba(247, 4, 4, 0.05);
    color: #F70404;
    transform: translateX(5px);
}

.premium-dropdown-item.active {
    background: rgba(247, 4, 4, 0.1);
    color: #F70404;
}

.item-icon {
    width: 32px;
    height: 32px;
    background: rgba(247, 4, 4, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #F70404;
    transition: all 0.3s ease;
}

.premium-dropdown-item:hover .item-icon {
    background: #F70404;
    color: #fff;
    transform: rotate(360deg);
}

/* Premium Search */
.premium-search-form {
    position: relative;
}

.premium-search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.premium-search-input {
    width: 100%;
    padding: 12px 50px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.premium-search-input:focus {
    outline: none;
    border-color: #F70404;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(247, 4, 4, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 16px;
    transition: all 0.3s ease;
}

.premium-search-input:focus ~ .search-icon {
    color: #F70404;
}

.premium-search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #F70404, #d40000);
    border: none;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.premium-search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(247, 4, 4, 0.4);
}

.premium-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    animation: dropdownSlide 0.3s ease;
}

.premium-suggestions .list-group-item {
    border: none;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.premium-suggestions .list-group-item:hover {
    background: rgba(247, 4, 4, 0.05);
    color: #F70404;
    transform: translateX(5px);
}

/* Premium Accent Line */
.premium-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        #F70404 0%, 
        #ff6b6b 25%, 
        #F70404 50%, 
        #ff6b6b 75%, 
        #F70404 100%
    );
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

/* Sticky Navbar Effect */
.premium-navbar.scrolled {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .premium-navbar .container-fluid {
        padding: 12px 20px;
    }

    .premium-nav {
        padding: 20px 0;
    }

    .premium-nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-indicator {
        display: none;
    }

    .premium-dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        margin-top: 5px;
        animation: none;
    }

    .premium-search-wrapper {
        max-width: 100%;
    }

    .premium-search-input {
        padding: 10px 45px 10px 40px;
    }
}

@media (max-width: 767.98px) {
    .premium-top-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .top-bar-content {
        gap: 10px;
    }

    .info-item {
        gap: 6px;
    }

    .info-icon {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .brand-logo {
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .premium-top-bar {
        font-size: 11px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 8px;
    }

    .info-text {
        font-size: 11px;
    }

    .promo-text {
        padding: 4px 12px;
        font-size: 11px;
    }
}

/* Hover Effects & Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Loading Animation for Dropdowns */
.premium-dropdown-menu.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Focus States for Accessibility */
/* .premium-nav-link:focus, */
.premium-dropdown-item:focus,
.premium-search-input:focus,
.premium-search-btn:focus {
    outline: 2px solid #F70404;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .premium-top-bar,
    .premium-navbar {
        display: none;
    }
}
