/* ============================================
   HEADER & NAVIGATION - Light Theme V2
   Header, nav, mobile menu, footer
   ============================================ */

/* ----------------------------------------
   HEADER CONTAINER - Blue Gradient
   ---------------------------------------- */
.light-theme .site-header {
    background: linear-gradient(135deg, #3f6f8a 0%, #2d5a73 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 15px rgba(45, 90, 115, 0.3) !important;
}

/* ----------------------------------------
   LOGO
   ---------------------------------------- */
.light-theme .header-logo img {
    filter: brightness(1.1);
}

.light-theme .header-logo-text {
    color: #ffffff !important;
}

/* ----------------------------------------
   SEARCH BAR
   ---------------------------------------- */
.light-theme .header-search-main .search-input,
.light-theme .search-input {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.light-theme .header-search-main .search-input::placeholder,
.light-theme .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.light-theme .header-search-main .search-input:focus,
.light-theme .search-input:focus {
    background: #ffffff !important;
    border-color: #b24131 !important;
    box-shadow: 0 0 0 3px rgba(178, 65, 49, 0.2) !important;
    color: #2a2a2a !important;
}

.light-theme .header-search-main .search-input:focus::placeholder,
.light-theme .search-input:focus::placeholder {
    color: #9a9a9a !important;
}

.light-theme .header-search-main .search-icon,
.light-theme .search-icon {
    color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .header-search-main .search-input:focus + .search-icon,
.light-theme .search-input:focus + .search-icon {
    color: #6f6f6f !important;
}

/* Search bar width */
.header-search-main {
    max-width: 140px !important;
    width: 140px !important;
    flex-shrink: 1;
}
@media (min-width: 768px) {
    .header-search-main {
        max-width: 170px !important;
        width: 170px !important;
    }
}
@media (min-width: 1024px) {
    .header-search-main {
        max-width: 220px !important;
        width: 220px !important;
    }
}

/* ----------------------------------------
   NAVIGATION ITEMS
   ---------------------------------------- */
.light-theme .nav-item {
    color: rgba(255, 255, 255, 0.85) !important;
}

.light-theme .nav-item:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.light-theme .nav-item.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    font-weight: 600;
}

.light-theme .nav-label {
    color: rgba(255, 255, 255, 0.85) !important;
}

.light-theme .nav-item:hover .nav-label {
    color: #ffffff !important;
}

/* Navigation Icons - White */
.light-theme .nav-icon-img,
.light-theme .nav-item > .marketplace-trigger img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.85 !important;
}
/* Dropdown panel icons - naturally dark, no filter needed */
.light-theme .marketplace-dropdown .marketplace-dd-icon {
    filter: none !important;
    opacity: 0.6 !important;
}
.light-theme .marketplace-dropdown .marketplace-dd-item:hover .marketplace-dd-icon {
    filter: none !important;
    opacity: 1 !important;
}

.light-theme .nav-item:hover .nav-icon-img,
.light-theme .nav-item:hover > .marketplace-trigger img {
    opacity: 1 !important;
}

/* Navigation Badge */
.light-theme .nav-badge {
    background: #b24131 !important;
    color: #ffffff !important;
}

/* ----------------------------------------
   TOOL BUTTONS (Scan, AI, Value, Add)
   ---------------------------------------- */
.light-theme .tool-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.light-theme .tool-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.light-theme .tool-btn img {
    filter: brightness(0) invert(1) !important;
}

/* Add Button - Green */
.light-theme .tool-btn.add-btn,
.light-theme .add-car-btn,
.light-theme .btn-add {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    color: #ffffff !important;
}

.light-theme .tool-btn.add-btn:hover,
.light-theme .add-car-btn:hover,
.light-theme .btn-add:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4) !important;
}

/* ----------------------------------------
   NOTIFICATIONS
   ---------------------------------------- */
.light-theme .notif-btn {
    color: rgba(255, 255, 255, 0.85) !important;
}

.light-theme .notif-btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.light-theme .notif-btn svg {
    fill: rgba(255, 255, 255, 0.85) !important;
}

.light-theme .notif-btn:hover svg {
    fill: #ffffff !important;
}

.light-theme .notif-badge {
    background: #b24131 !important;
    color: #ffffff !important;
}

.light-theme .notif-dot {
    background: #b24131 !important;
    border-color: #3f6f8a !important;
}

/* ----------------------------------------
   USER DROPDOWN
   ---------------------------------------- */
.light-theme .user-trigger {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.light-theme .user-trigger:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
}

.light-theme .user-name {
    color: #ffffff !important;
}

.light-theme .dropdown-arrow {
    color: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .dropdown-arrow svg {
    stroke: rgba(255, 255, 255, 0.7) !important;
}

.light-theme .user-avatar {
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

/* User Dropdown Menu - White Panel */
.light-theme .user-menu,
.light-theme .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(63, 111, 138, 0.15) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
}

.light-theme .menu-item,
.light-theme .dropdown-item {
    color: #4a4a4a !important;
}

.light-theme .menu-item:hover,
.light-theme .dropdown-item:hover {
    background: #fdf2f0 !important;
    color: #b24131 !important;
}

.light-theme .menu-item img,
.light-theme .dropdown-item img,
.light-theme .menu-icon-img {
    filter: brightness(0) saturate(100%) invert(30%) !important;
}

.light-theme .menu-item:hover img,
.light-theme .dropdown-item:hover img,
.light-theme .menu-item:hover .menu-icon-img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(60%) saturate(1200%) hue-rotate(340deg) !important;
}

.light-theme .menu-divider,
.light-theme .dropdown-divider {
    border-color: rgba(63, 111, 138, 0.1) !important;
}

/* Danger Item (Logout) */
.light-theme .menu-item-danger {
    color: #ef4444 !important;
}

.light-theme .menu-item-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #dc2626 !important;
}

.light-theme .menu-item-danger img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(90%) saturate(1500%) hue-rotate(340deg) !important;
}

/* Admin Item */
.light-theme .menu-item-admin {
    color: #7c3aed !important;
}

.light-theme .menu-item-admin:hover {
    background: rgba(124, 58, 237, 0.1) !important;
}

/* ----------------------------------------
   GUEST BUTTONS
   ---------------------------------------- */
.light-theme .guest-buttons .btn-login {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    background: transparent !important;
}

.light-theme .guest-buttons .btn-login:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.light-theme .guest-buttons .btn-signup {
    background: linear-gradient(135deg, #b24131 0%, #8b2e23 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.light-theme .guest-buttons .btn-signup:hover {
    background: linear-gradient(135deg, #8b2e23 0%, #6d2419 100%) !important;
    box-shadow: 0 4px 15px rgba(178, 65, 49, 0.4) !important;
}

/* ----------------------------------------
   MOBILE MENU BUTTON (Hamburger)
   ---------------------------------------- */
.light-theme .mobile-menu-btn {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.light-theme .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.light-theme .hamburger-line {
    background: #ffffff !important;
}

/* ----------------------------------------
   MOBILE MENU PANEL
   ---------------------------------------- */
.light-theme .mobile-menu {
    background: #ffffff !important;
    border-top: 1px solid rgba(63, 111, 138, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Mobile Tools */
.light-theme .mobile-tools {
    background: #f5f3f0 !important;
    border-bottom: 1px solid rgba(63, 111, 138, 0.1) !important;
}

.light-theme .mobile-tool-btn {
    background: #ffffff !important;
    border: 1px solid rgba(63, 111, 138, 0.15) !important;
    color: #4a4a4a !important;
}

.light-theme .mobile-tool-btn:hover {
    background: #fdf2f0 !important;
    border-color: #b24131 !important;
    color: #b24131 !important;
}

.light-theme .mobile-tool-btn img,
.light-theme .mobile-tool-icon-img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(20%) saturate(500%) hue-rotate(160deg) !important;
}

.light-theme .mobile-tool-btn:hover img,
.light-theme .mobile-tool-btn:hover .mobile-tool-icon-img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(60%) saturate(1200%) hue-rotate(340deg) !important;
}

.light-theme .mobile-tool-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    border: none !important;
    color: #ffffff !important;
}

.light-theme .mobile-tool-primary:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
}

/* Mobile Navigation */
.light-theme .mobile-nav-item {
    color: #4a4a4a !important;
    border-color: transparent !important;
}

.light-theme .mobile-nav-item:hover {
    background: #fdf2f0 !important;
    color: #b24131 !important;
    border-color: #b24131 !important;
}

.light-theme .mobile-nav-item.active {
    background: rgba(63, 111, 138, 0.1) !important;
    color: #3f6f8a !important;
    border-color: #3f6f8a !important;
}

.light-theme .mobile-nav-icon-img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(20%) saturate(500%) hue-rotate(160deg) !important;
}

.light-theme .mobile-nav-item:hover .mobile-nav-icon-img {
    filter: brightness(0) saturate(100%) invert(28%) sepia(60%) saturate(1200%) hue-rotate(340deg) !important;
}

.light-theme .mobile-nav-item.active .mobile-nav-icon-img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(50%) saturate(500%) hue-rotate(160deg) !important;
}

.light-theme .mobile-badge {
    background: #b24131 !important;
    color: #ffffff !important;
}

/* Mobile User Section */
.light-theme .mobile-user-section {
    border-top: 1px solid rgba(63, 111, 138, 0.1) !important;
}

.light-theme .mobile-nav-danger {
    color: #ef4444 !important;
}

.light-theme .mobile-nav-danger:hover {
    background: rgba(239, 68, 68, 0.1) !important;
}

.light-theme .mobile-nav-admin {
    color: #7c3aed !important;
}

.light-theme .mobile-nav-admin:hover {
    background: rgba(124, 58, 237, 0.1) !important;
}

/* ----------------------------------------
   SITE FOOTER
   ---------------------------------------- */
.light-theme .site-footer,
.light-theme footer.site-footer {
    background: linear-gradient(135deg, #3f6f8a 0%, #2d5a73 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.light-theme .footer-inner {
    background: transparent;
}

/* Footer Logo */
.light-theme .footer-logo-container {
    margin-bottom: 15px;
}

.light-theme .footer-logo {
    filter: brightness(1.1);
}

.light-theme .footer-tagline-small {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Footer Title */
.light-theme .site-footer h3 {
    color: #ffffff;
    font-weight: 600;
}

/* Footer Tagline */
.light-theme .footer-tagline {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer Navigation Links */
.light-theme .footer-links a,
.light-theme .footer-legal a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.light-theme .footer-links a:hover,
.light-theme .footer-legal a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Legal Links */
.light-theme .footer-legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 15px;
}

.light-theme .footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.light-theme .footer-legal a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer Disclaimer */
.light-theme .footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-style: italic;
}

/* Footer Copyright */
.light-theme .footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.light-theme .footer-copy .heart {
    color: #e74c3c;
}
