/* Header Styles */

/* Top Announcement Banner */
.announcement-banner {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 50%, #9333EA 100%);
    position: relative;
    z-index: 1000;
}

.announcement-text {
    font-size: 14px;
    font-weight: 500;
}

.btn-close-announcement {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.btn-close-announcement:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #e5e7eb;
}

.brand-text {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'SVN Gilroy', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Search Bar Styles - Integrated Design */
.search-container {
    max-width: 2000px;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
}

.search-form {
    width: 100%;
}

.integrated-search-bar {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    overflow: visible; /*hidden*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 999;
}

.integrated-search-bar:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integrated-search-bar:focus-within {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Category Dropdown */
.search-category-dropdown {
    position: relative;
    border-right: 1px solid #e5e7eb;
    z-index: 1000;
}

.category-dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 12px 16px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 25px 0 0 25px;
}

.category-dropdown-btn:hover {
    background-color: #f9fafb;
    color: #374151;
}

.category-dropdown-btn:focus {
    outline: none;
}

.category-dropdown-btn i.fas.fa-th-large {
    color: #9ca3af;
    font-size: 16px;
}

.category-dropdown-btn i.fas.fa-chevron-down {
    color: #9ca3af;
    font-size: 12px;
}

/* Category Dropdown Menu */
.category-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    transform: none !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    min-width: 200px;
    z-index: 1001;
    background-color: #ffffff;
}

.category-dropdown-menu .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
}

.category-dropdown-menu .dropdown-item:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}

/* Search Input */
.search-input-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.integrated-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    background: transparent;
}

.integrated-search-input::placeholder {
    color: #9ca3af;
    font-size: 14px;
}

.integrated-search-input:focus {
    outline: none;
}

/* Search Button */
.integrated-search-btn {
    background: #3B82F6;
    border: none;
    color: white;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 25px 25px 0;
}

.integrated-search-btn:hover {
    background: #2563EB;
}

.integrated-search-btn:focus {
    outline: none;
}

.integrated-search-btn i {
    font-size: 16px;
}

/* User Actions */
.user-actions .btn {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-actions .btn-primary {
    background: linear-gradient(45deg, #3B82F6, #1D4ED8);
    border: none;
}

.user-actions .btn-primary:hover {
    background: linear-gradient(45deg, #2563EB, #1E40AF);
    transform: translateY(-1px);
}

.user-actions .btn-outline-primary {
    border-color: #3B82F6;
    color: #3B82F6;
}

.user-actions .btn-outline-primary:hover {
    background-color: #3B82F6;
    color: white;
    transform: translateY(-1px);
}

.user-actions .btn-light {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.user-actions .btn-light:hover {
    background-color: #f1f5f9;
}

/* ===== CLEAN CATEGORY NAVIGATION ===== */
.category-nav {
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.nav-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    /*padding: 0 1.5rem;*/
    /*gap: 20px;*/
}

/* Individual Navigation Item */
.nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
}

/* Small Purple Gradient Square Icon */
.nav-icon {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #6A3AB2 0%, #A078E6 100%);
    border-radius: 3px;
    margin-right: 8px;
    transition: all 0.3s ease;
}

/* Navigation Text */
.nav-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #333333;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effects */
.nav-item:hover {
    text-decoration: none;
}

.nav-item:hover .nav-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
}

.nav-item:hover .nav-text {
    color: #8B5CF6;
}

/* Purple Underline on Hover */
.nav-item:hover .nav-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #8B5CF6;
    border-radius: 1px;
}

/* Active/Current Page State (optional) */
.nav-item.active .nav-icon {
    background: linear-gradient(135deg, #8B5CF6 0%, #A855F7 100%);
}

.nav-item.active .nav-text {
    color: #8B5CF6;
}

.nav-item.active .nav-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #8B5CF6;
    border-radius: 1px;
}

.btn-category {
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    margin-bottom: 8px;
}

.btn-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Category button colors */
.btn-category-normal {
    background: linear-gradient(45deg, #10B981, #059669);
    color: white;
}

.btn-category-normal:hover {
    background: linear-gradient(45deg, #059669, #047857);
    color: white;
}

.btn-category-purple {
    background: linear-gradient(45deg, #8B5CF6, #7C3AED);
    color: white;
}

.btn-category-purple:hover {
    background: linear-gradient(45deg, #7C3AED, #6D28D9);
    color: white;
}

.btn-category-dark-purple {
    background: linear-gradient(45deg, #6D28D9, #5B21B6);
    color: white;
}

.btn-category-dark-purple:hover {
    background: linear-gradient(45deg, #5B21B6, #4C1D95);
    color: white;
}

.btn-category-teal {
    background: linear-gradient(45deg, #14B8A6, #0D9488);
    color: white;
}

.btn-category-teal:hover {
    background: linear-gradient(45deg, #0D9488, #0F766E);
    color: white;
}

.btn-category-pink {
    background: linear-gradient(45deg, #EC4899, #DB2777);
    color: white;
}

.btn-category-pink:hover {
    background: linear-gradient(45deg, #DB2777, #BE185D);
    color: white;
}

.btn-category-blue {
    background: linear-gradient(45deg, #3B82F6, #2563EB);
    color: white;
}

.btn-category-blue:hover {
    background: linear-gradient(45deg, #2563EB, #1D4ED8);
    color: white;
}

.btn-category-gray {
    background: linear-gradient(45deg, #6B7280, #4B5563);
    color: white;
}

.btn-category-gray:hover {
    background: linear-gradient(45deg, #4B5563, #374151);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcement-banner {
        display: none;
    }
    
    .brand-text {
        display: none !important;
    }
    
    .search-container {
        margin-top: 15px;
    }
    
    .integrated-search-bar {
        border-radius: 20px;
    }
    
    .category-dropdown-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .category-dropdown-btn span {
        display: none;
    }
    
    .category-dropdown-btn i.fas.fa-chevron-down {
        display: none;
    }
    
    .integrated-search-input {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .integrated-search-btn {
        padding: 10px 16px;
    }
    
    .category-dropdown-menu {
        min-width: 180px;
    }
    
    .user-actions .btn {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .category-nav {
        padding: 8px 0;
    }
    
    .btn-category {
        font-size: 11px;
        padding: 8px 12px;
        margin-bottom: 6px;
    }
}

@media (max-width: 576px) {
    .category-nav .row {
        flex-wrap: wrap;
    }
    
    .category-nav .col-auto {
        flex: 1 1 48%;
        max-width: 48%;
    }
    
    .btn-category {
        width: 100%;
        justify-content: center;
        font-size: 10px;
        padding: 6px 8px;
    }
}