/* ============================================
   HEADER CSS - FRESH START
   ============================================ */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #F28C28, #FF7A00);
    z-index: 10000;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(242, 140, 40, 0.5);
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 0.75rem 0;
    color: white;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-bar-link i {
    color: #F28C28;
    font-size: 0.875rem;
}

.top-bar-link:hover {
    color: white;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Top Bar Quick Actions */
.top-bar-quick-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.top-bar-quick-action i {
    color: #F28C28;
    font-size: 0.875rem;
}

.top-bar-quick-action:hover {
    background: rgba(242, 140, 40, 0.2);
    color: white;
    transform: translateY(-2px);
}

.top-bar-quick-action:hover i {
    color: white;
}

/* Top Bar Language Switcher - Removed */

/* Main Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(242, 140, 40, 0.1);
}

.main-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

/* Only shrink logo on scroll */
.main-header.scrolled .logo-box {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    border-radius: 12px;
}

.main-header.scrolled .logo-main {
    font-size: 1.5rem;
}

.main-header.scrolled .logo-sub {
    font-size: 0.65rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

.logo-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.logo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: logoRotate 3s infinite;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-box::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #F28C28, #FF7A00, #F28C28);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: logoPulse 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes logoPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.header-logo:hover .logo-box::after {
    animation: logoPulse 1s ease-in-out infinite;
}

.logo-text-box {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.75rem;
    color: #F28C28;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-item {
    position: relative;
    padding: 0.75rem 1.25rem;
    color: #4b5563;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #F28C28, #FF7A00);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.1), rgba(255, 122, 0, 0.1));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link-item:hover {
    color: #F28C28;
    transform: translateY(-2px);
}

.nav-link-item:hover::before {
    opacity: 1;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link-item.active {
    color: #F28C28;
}

/* Mega Menu */
.nav-item-dropdown {
    position: relative;
}

.nav-arrow {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    max-width: 95vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    pointer-events: none;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.mega-menu-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.mega-menu-section h5 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.mega-menu-link:hover {
    background: rgba(242, 140, 40, 0.1);
    transform: translateX(5px);
}

.mega-menu-link i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.1), rgba(255, 122, 0, 0.1));
    border-radius: 10px;
    color: #F28C28;
    font-size: 1.125rem;
}

.mega-menu-link:hover i {
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
}

.mega-menu-title {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.mega-menu-desc {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
}

.mega-menu-cta {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
    margin-top: 1rem;
}

.mega-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mega-menu-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.4);
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(242, 140, 40, 0.1);
    border: none;
    border-radius: 12px;
    color: #F28C28;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(242, 140, 40, 0.2);
    transform: rotate(20deg) scale(1.1);
}

.theme-icon {
    transition: transform 0.3s ease;
}

/* Notifications */
.notifications {
    position: relative;
}

.notification-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(242, 140, 40, 0.1);
    border: none;
    border-radius: 12px;
    color: #F28C28;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-toggle:hover {
    background: rgba(242, 140, 40, 0.2);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 360px;
    max-width: 90vw;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.notification-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.mark-all-read {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mark-all-read:hover {
    background: rgba(255, 255, 255, 0.3);
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.3s ease;
    position: relative;
}

.notification-item:hover {
    background: rgba(242, 140, 40, 0.05);
}

.notification-item.unread {
    background: rgba(242, 140, 40, 0.03);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #F28C28;
}

.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.1), rgba(255, 122, 0, 0.1));
    border-radius: 10px;
    color: #F28C28;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.notification-desc {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.notification-time {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
}

.notification-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    background: #f9fafb;
}

.notification-footer a {
    color: #F28C28;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.notification-footer a:hover {
    color: #FF7A00;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(242, 140, 40, 0.1);
    border: none;
    border-radius: 12px;
    color: #F28C28;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: rgba(242, 140, 40, 0.2);
}

.language-toggle i:last-child {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.language-switcher:hover .language-toggle i:last-child {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow: hidden;
}

.language-switcher:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(242, 140, 40, 0.1);
}

.language-option.active {
    background: rgba(242, 140, 40, 0.1);
    color: #F28C28;
    font-weight: 600;
}

.language-option.active i {
    color: #F28C28;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Container - Hidden */
.search-container {
    display: none !important;
}

.search-toggle {
    display: none !important;
}

.search-box {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.search-box.active {
    width: 400px;
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 2px solid rgba(242, 140, 40, 0.2);
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: #F28C28;
    box-shadow: 0 6px 25px rgba(242, 140, 40, 0.25);
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    font-size: 0.9375rem;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    color: #1a1a2e;
    background: transparent;
    width: 100%;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-clear {
    position: absolute;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
}

.search-clear:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.search-submit,
.search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #F28C28;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit {
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
}

.search-submit:hover {
    background: linear-gradient(135deg, #FF7A00, #F28C28);
    transform: scale(1.05);
}

.search-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    display: none;
    z-index: 1002;
}

.search-results.active {
    display: block;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #F28C28;
    border-radius: 3px;
}

/* Search Suggestions */
.search-suggestions {
    padding: 1rem;
}

.search-section {
    margin-bottom: 1.5rem;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-section-header i {
    color: #F28C28;
}

.clear-recent {
    margin-left: auto;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.clear-recent:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-tag {
    padding: 0.5rem 1rem;
    background: rgba(242, 140, 40, 0.1);
    border: 1px solid rgba(242, 140, 40, 0.2);
    border-radius: 20px;
    color: #F28C28;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.search-tag:hover {
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 140, 40, 0.3);
}

.recent-searches {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recent-search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #1a1a2e;
}

.recent-search-item:hover {
    background: rgba(242, 140, 40, 0.1);
    transform: translateX(5px);
}

.recent-search-item i {
    color: #9ca3af;
    font-size: 0.875rem;
}

.search-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.search-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.05), rgba(255, 122, 0, 0.05));
    border: 1px solid rgba(242, 140, 40, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.search-category:hover {
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
    border-color: transparent;
}

.search-category i {
    font-size: 1.25rem;
    color: #F28C28;
}

.search-category:hover i {
    color: white;
}

/* Search Results List */
.search-results-list {
    display: none;
}

.search-results-list.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.search-result-item:hover {
    background: rgba(242, 140, 40, 0.05);
    padding-left: 1.5rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item.highlighted {
    background: rgba(242, 140, 40, 0.1);
}

.search-result-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-result-title i {
    color: #F28C28;
    font-size: 0.875rem;
}

.search-result-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.search-result-category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: rgba(242, 140, 40, 0.1);
    color: #F28C28;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.search-result-item mark {
    background: rgba(242, 140, 40, 0.2);
    color: #F28C28;
    font-weight: 600;
    padding: 0;
}

/* Search Loading */
.search-loading {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(242, 140, 40, 0.1);
    border-top-color: #F28C28;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Quick Actions */
.quick-actions {
    position: relative;
}

.quick-actions-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.1), rgba(255, 122, 0, 0.1));
    border: none;
    border-radius: 12px;
    color: #F28C28;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-actions-toggle:hover {
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.2), rgba(255, 122, 0, 0.2));
    transform: scale(1.1);
}

.quick-actions-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.quick-actions-dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.quick-actions-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-actions-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
}

.quick-actions-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
}

.quick-actions-list {
    padding: 0.5rem;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.quick-action-item:hover {
    background: rgba(242, 140, 40, 0.1);
    transform: translateX(5px);
}

.quick-action-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(242, 140, 40, 0.1), rgba(255, 122, 0, 0.1));
    border-radius: 10px;
    color: #F28C28;
    font-size: 1.125rem;
}

.quick-action-item:hover i {
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
}

.quick-action-title {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.quick-action-desc {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.3);
    transition: all 0.3s ease;
}

.contact-button {
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-button:hover::before {
    width: 300px;
    height: 300px;
}

.contact-button i,
.contact-button span {
    position: relative;
    z-index: 1;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.4);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
}

.mobile-toggle .hamburger {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #F28C28, #FF7A00);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 360px;
    max-width: 90vw;
    height: 100%;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 9999;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-logo-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.4);
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
}

.sidebar-logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.sidebar-logo-sub {
    font-size: 0.75rem;
    color: #F28C28;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: #F28C28;
    transform: rotate(90deg) scale(1.1);
}

.sidebar-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-search-form {
    display: flex;
    gap: 0.5rem;
}

.sidebar-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
}

.sidebar-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #F28C28;
}

.sidebar-search-submit {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-search-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.4);
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
}

.sidebar-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-link:hover {
    color: white;
    border-left-color: #F28C28;
    padding-left: 2rem;
    transform: translateX(5px);
}

.sidebar-link.active {
    color: #F28C28;
    border-left-color: #F28C28;
    background: rgba(242, 140, 40, 0.1);
}

.sidebar-link i {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.sidebar-link:hover i {
    transform: translateX(5px);
    opacity: 1;
}

/* Hide chevron-right icons from regular sidebar links */
.sidebar-link:not(.sidebar-dropdown-toggle) i.fa-chevron-right {
    display: none;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(242, 140, 40, 0.4);
    transition: all 0.3s ease;
}

.sidebar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 140, 40, 0.5);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .search-box.active {
        width: 320px;
    }
    
    .quick-actions-dropdown {
        width: 280px;
    }
    
    .header-right {
        gap: 0.75rem;
    }
    
    .theme-toggle,
    .notification-toggle,
    .language-toggle {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    
    .language-text {
        display: none;
    }
    
    .mega-menu {
        width: 750px;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .top-bar-left {
        gap: 1rem;
    }
    
    .top-bar-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }
    
    .top-bar-quick-action {
        width: 100%;
        justify-content: flex-start;
    }
    
    .top-bar-quick-action span {
        display: inline;
    }
    
    .top-bar-language-switcher {
        width: 100%;
    }
    
    .top-bar-language-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .top-bar-language-dropdown {
        width: 100%;
        right: 0;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .contact-button span {
        display: none;
    }
    
    .contact-button {
        padding: 0.75rem;
        width: 44px;
        height: 44px;
        justify-content: center;
    }
    
    .search-toggle,
    .quick-actions-toggle,
    .theme-toggle,
    .notification-toggle,
    .language-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .notification-dropdown {
        width: calc(100vw - 2rem);
        right: -60px;
        max-width: 360px;
    }
    
    .language-dropdown {
        width: 160px;
    }
    
    .mega-menu {
        width: calc(100vw - 2rem);
        max-width: 600px;
    }
    
    .mega-menu-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .search-box.active {
        width: calc(100vw - 2rem);
        right: -60px;
        max-width: 400px;
    }
    
    .search-categories {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-dropdown {
        width: calc(100vw - 2rem);
        right: -60px;
        max-width: 320px;
    }
    
    .mobile-sidebar {
        width: 320px;
    }
    
    .header-content {
        gap: 1rem;
    }
    
    .header-right {
        gap: 0.5rem;
    }
}

/* Dark Mode Styles */
[data-theme="dark"] .main-header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 1px solid rgba(242, 140, 40, 0.2);
}

[data-theme="dark"] .main-header.scrolled {
    background: rgba(26, 26, 46, 0.98);
}

[data-theme="dark"] .top-bar {
    background: linear-gradient(135deg, #0f0f1e 0%, #0a0a1a 50%, #050510 100%);
}

[data-theme="dark"] .logo-main {
    color: #ffffff;
}

[data-theme="dark"] .nav-link-item {
    color: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] .nav-link-item:hover,
[data-theme="dark"] .nav-link-item.active {
    color: #F28C28;
}

[data-theme="dark"] .search-form,
[data-theme="dark"] .search-results,
[data-theme="dark"] .quick-actions-dropdown,
[data-theme="dark"] .notification-dropdown,
[data-theme="dark"] .language-dropdown,
[data-theme="dark"] .mega-menu {
    background: #1a1a2e;
    border-color: rgba(242, 140, 40, 0.2);
}

[data-theme="dark"] .search-input {
    color: #ffffff;
}

[data-theme="dark"] .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .search-result-item,
[data-theme="dark"] .quick-action-item,
[data-theme="dark"] .notification-item,
[data-theme="dark"] .language-option,
[data-theme="dark"] .mega-menu-link {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .search-result-item:hover,
[data-theme="dark"] .quick-action-item:hover,
[data-theme="dark"] .notification-item:hover,
[data-theme="dark"] .language-option:hover,
[data-theme="dark"] .mega-menu-link:hover {
    background: rgba(242, 140, 40, 0.15);
}

[data-theme="dark"] .mobile-sidebar {
    background: linear-gradient(180deg, #0f0f1e 0%, #0a0a1a 50%, #050510 100%);
}

/* Enhanced Micro-interactions */
.nav-link-item,
.contact-button,
.search-toggle,
.quick-actions-toggle,
.theme-toggle,
.notification-toggle,
.language-toggle {
    position: relative;
    overflow: hidden;
}

.nav-link-item::after,
.contact-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-link-item:active::after,
.contact-button:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth transitions for all interactive elements */
button,
a,
input {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #F28C28;
    outline-offset: 2px;
}

/* Loading animation for buttons */
@keyframes button-loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.button-loading {
    pointer-events: none;
}

.button-loading::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: button-loading 0.8s linear infinite;
}

@media (max-width: 640px) {
    .top-bar {
        padding: 0.5rem 0;
    }
    
    .top-bar-link {
        font-size: 0.75rem;
    }
    
    .top-bar-link span {
        display: none;
    }
    
    .top-bar-quick-action span {
        display: none;
    }
    
    .top-bar-quick-action {
        width: auto;
        padding: 0.5rem;
        justify-content: center;
    }
    
    .top-bar-language-text {
        display: none;
    }
    
    .header-content {
        padding: 0.75rem 0;
        gap: 0.75rem;
    }
    
    .logo-box {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
    }
    
    .logo-main {
        font-size: 1.125rem;
    }
    
    .logo-sub {
        font-size: 0.65rem;
    }
    
    .search-toggle,
    .quick-actions-toggle,
    .contact-button,
    .mobile-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .search-box.active {
        width: calc(100vw - 1rem);
        right: -80px;
        max-width: 360px;
    }
    
    .quick-actions-dropdown {
        width: calc(100vw - 1rem);
        right: -80px;
        max-width: 300px;
    }
    
    .mobile-sidebar {
        width: 100%;
        max-width: 100%;
    }
    
    .search-tags {
        gap: 0.375rem;
    }
    
    .search-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .search-category {
        padding: 0.75rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a2e;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F28C28, #FF7A00);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(242, 140, 40, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(242, 140, 40, 0.5);
}

.back-to-top-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: #1a1a2e;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.back-to-top-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a1a2e;
}

.back-to-top:hover .back-to-top-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

@media (max-width: 768px) {
    .back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        bottom: 90px;
        right: 20px;
    }
    
    .back-to-top-tooltip {
        display: none;
    }
}
