/* Enhanced Navigation Styles - Deal.Com.Gr */

/* Admin & User Section Styling */

/* Admin Header */
.admin-header {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1)) !important;
    color: #dc3545 !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
    border-left: 4px solid #dc3545 !important;
    position: relative;
    overflow: hidden;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

.admin-header i {
    color: #dc3545 !important;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.3);
}

/* User Header */
.user-header {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 86, 204, 0.1)) !important;
    color: #007AFF !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    margin: 8px 0 !important;
    border-left: 4px solid #007AFF !important;
    position: relative;
    overflow: hidden;
}

.user-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s ease-in-out infinite 0.5s;
}

.user-header i {
    color: #007AFF !important;
    text-shadow: 0 0 10px rgba(0, 122, 255, 0.3);
}

/* Admin Items */
.admin-item {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.05), rgba(200, 35, 51, 0.05)) !important;
    border-left: 3px solid transparent !important;
    margin: 2px 8px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.admin-item:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(200, 35, 51, 0.15)) !important;
    border-left-color: #dc3545 !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2) !important;
}

.admin-item .item-icon {
    color: #dc3545 !important;
    transition: all 0.3s ease !important;
}

.admin-item:hover .item-icon {
    color: #c82333 !important;
    transform: scale(1.2) rotate(5deg) !important;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.4) !important;
}

.admin-item .item-text {
    color: #dc3545 !important;
    font-weight: 600 !important;
}

.admin-item:hover .item-text {
    color: #c82333 !important;
}

/* Regular User Items Enhancement */
.extreme-item:not(.admin-item):not(.logout-item) {
    margin: 2px 8px !important;
    border-radius: 8px !important;
    border-left: 3px solid transparent !important;
    transition: all 0.3s ease !important;
}

.extreme-item:not(.admin-item):not(.logout-item):hover {
    border-left-color: #007AFF !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2) !important;
}

.extreme-item:not(.admin-item):not(.logout-item) .item-icon {
    transition: all 0.3s ease !important;
}

.extreme-item:not(.admin-item):not(.logout-item):hover .item-icon {
    transform: scale(1.2) rotate(-5deg) !important;
    text-shadow: 0 0 10px rgba(0, 122, 255, 0.4) !important;
}

/* Logout Item Special Styling */
.logout-item {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.05), rgba(73, 80, 87, 0.05)) !important;
    border-left: 3px solid transparent !important;
    margin: 2px 8px !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

.logout-item:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(200, 35, 51, 0.1)) !important;
    border-left-color: #dc3545 !important;
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2) !important;
}

.logout-item .item-icon {
    color: #6c757d !important;
    transition: all 0.3s ease !important;
}

.logout-item:hover .item-icon {
    color: #dc3545 !important;
    transform: scale(1.2) rotate(10deg) !important;
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.4) !important;
}

.logout-item .item-text {
    color: #6c757d !important;
    font-weight: 600 !important;
}

.logout-item:hover .item-text {
    color: #dc3545 !important;
}

/* Dropdown Header Enhancement */
.dropdown-header {
    position: relative;
    padding: 15px 20px 10px !important;
}

.dropdown-header strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.dropdown-header small {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Top Bar Styling */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar-text {
    color: #6c757d;
    text-decoration: none;
}
.language-link {
    color: #6c757d;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.language-link:hover, .language-link.active {
    color: #007AFF;
    background: rgba(0,122,255,0.1);
}
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,122,255,0.4);
}

/* Platform-specific colors on hover */
.social-link[title*="Facebook"]:hover::before {
    background: linear-gradient(135deg, #1877f2, #0d5dbf);
}

.social-link[title*="Instagram"]:hover::before {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fcb045);
}

.social-link[title*="Twitter"]:hover::before,
.social-link[title*="X"]:hover::before {
    background: linear-gradient(135deg, #000000, #333333);
}

.social-link[title*="TikTok"]:hover::before {
    background: linear-gradient(135deg, #ff0050, #000000);
}

/* Enhanced Main Navigation */
.main-navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 8px 0;
}

/* Language Switcher in Blue Bar */
.language-switcher-simple {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.9);
}

.language-flag:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.language-flag.active {
    background: rgba(255,255,255,0.3);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.5);
    transform: scale(1.05);
    color: white;
}

/* Flag Icons using CSS */
.flag-icon {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    margin-right: 4px;
}

.flag-gr {
    background: linear-gradient(to bottom, 
        #0D5EAF 0%, #0D5EAF 11.11%, 
        white 11.11%, white 22.22%, 
        #0D5EAF 22.22%, #0D5EAF 33.33%, 
        white 33.33%, white 44.44%, 
        #0D5EAF 44.44%, #0D5EAF 55.55%, 
        white 55.55%, white 66.66%, 
        #0D5EAF 66.66%, #0D5EAF 77.77%, 
        white 77.77%, white 88.88%, 
        #0D5EAF 88.88%, #0D5EAF 100%);
    position: relative;
}

.flag-gr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 55.55%;
    background: #0D5EAF;
}

.flag-gr::after {
    content: '+';
    position: absolute;
    top: 2px;
    left: 2px;
    color: white;
    font-size: 8px;
    font-weight: bold;
    line-height: 1;
}

.flag-gb {
    background: linear-gradient(45deg, 
        #012169 25%, transparent 25%, transparent 75%, #012169 75%),
        linear-gradient(-45deg, 
        #012169 25%, transparent 25%, transparent 75%, #012169 75%),
        linear-gradient(to right, 
        #012169 33%, white 33%, white 66%, #012169 66%),
        linear-gradient(to bottom, 
        #012169 33%, white 33%, white 66%, #012169 66%);
    background-size: 8px 8px, 8px 8px, 100% 100%, 100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0;
    position: relative;
}

.flag-gb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%),
        linear-gradient(to right, transparent 40%, #C8102E 40%, #C8102E 60%, transparent 60%);
}

.flag-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.main-navbar {
    transition: all 0.3s ease;
    min-height: 70px;
    position: relative;
    z-index: 1000;
    width: 100%;
    overflow: visible;
}
.main-navbar.scrolled {
    background: rgba(30, 60, 114, 0.95) !important;
    backdrop-filter: blur(10px);
}
.main-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
}

/* Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    flex-shrink: 0;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,122,255,0.3);
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.logo-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* Navbar Search */
.navbar-search {
    margin: 0 20px;
    flex: 0 0 auto;
    min-width: 300px;
}

.search-form-nav .input-group {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
}

.search-form-nav .form-control {
    border: none;
    background: transparent;
    color: white;
    padding: 12px 20px;
    font-size: 0.95rem;
    min-width: 250px;
    white-space: nowrap;
    overflow: visible;
    text-overflow: unset;
}

.search-form-nav .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.search-form-nav .form-control:focus {
    background: transparent;
    color: white;
    box-shadow: none;
    border: none;
    outline: none;
}

.search-form-nav .btn-search {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 12px 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-form-nav .btn-search:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Navigation Links */
.navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
}
.navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 10px 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 6px;
    margin: 0 1px;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}
.navbar .nav-link:hover, .navbar .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: white !important;
    transform: translateY(-1px);
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #007AFF;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.navbar .nav-link:hover::after, .navbar .nav-link.active::after {
    width: 80%;
}

/* Mega Menu Styling */
.mega-dropdown .dropdown-menu {
    width: 100vw;
    max-width: 1200px;
    left: 50%;
    z-index: 1050;
    overflow: hidden;
}

.mega-menu {
    padding: 60px 0;
    min-height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 0 0 20px 20px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.mega-menu .container {
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
}

.mega-menu .row {
    margin: 0 -15px;
}
.mega-menu .col-md-3 {
    padding: 0 30px;
    margin-bottom: 30px;
    min-height: 280px;
    position: relative;
}

.mega-menu .col-md-3::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.2) 80%, transparent);
}

.mega-menu .col-md-3:last-child::after {
    display: none;
}

.mega-menu .row.mt-3 {
    margin-top: 15px !important;
}
.mega-menu-title {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #00D4FF;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: normal;
    line-height: 1.4;
}

.mega-menu-title i {
    font-size: 1.2rem;
    width: 20px;
}
.mega-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 0;
    font-size: 1rem;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: block;
    width: 100%;
    text-decoration: none;
    word-wrap: break-word;
    min-height: auto;
}
.mega-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #00D4FF;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}
.mega-menu .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    color: #00D4FF;
    font-size: 1rem;
}

/* Mega Menu Footer */
.mega-menu-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
}

.mega-menu-footer .btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mega-menu-footer .btn-outline-primary:hover {
    background: #007AFF;
    border-color: #007AFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,122,255,0.3);
}

.mega-menu .dropdown-item:hover i {
    transform: scale(1.05);
    color: #0056CC;
}
.mega-menu-stats {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Enhanced Blue Dropdown Menus with Effects */
.dropdown.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    padding: 50px 0;
    margin-top: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-height: 400px;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu.show {
    transform: translateY(0);
    opacity: 1;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007AFF, #00D4FF, #007AFF);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Blue Dropdown Items Styling */
.dropdown.mega-menu .dropdown-item {
    color: #495057;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin: 3px 0;
    width: 100%;
    text-decoration: none;
}

.dropdown-menu .dropdown-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
    padding-left: 28px;
}

.dropdown-menu .dropdown-item:hover::before {
    width: 4px;
}

.dropdown-menu .dropdown-item i {
    color: #00D4FF;
    margin-right: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 20px;
    text-align: center;
}

.dropdown-menu .dropdown-item:hover i {
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}
.services-menu .dropdown-header, .info-menu .dropdown-header {
    color: #1e3c72;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding: 0 15px 6px 15px;
    border-bottom: 2px solid #007AFF;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.services-menu .dropdown-header::before, .info-menu .dropdown-header::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #007AFF, #0056CC);
}

.services-menu .dropdown-item, .info-menu .dropdown-item {
    padding: 8px 15px;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.services-menu .dropdown-item:hover, .info-menu .dropdown-item:hover {
    background: linear-gradient(135deg, #007AFF10, #0056CC10);
    color: #007AFF;
    transform: translateX(3px);
}

.services-menu .dropdown-item i, .info-menu .dropdown-item i {
    width: 18px;
    text-align: center;
    margin-right: 8px;
    color: #007AFF;
}

/* User Menu */
.user-dropdown .user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.user-dropdown .user-link:hover {
    background: rgba(255,255,255,0.2);
}
.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #007AFF, #0056CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    overflow: hidden;
}
.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.user-menu {
    min-width: 250px;
    padding: 10px 0;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    margin-top: 8px;
}
.user-menu .dropdown-header {
    padding: 10px 20px;
    margin-bottom: 5px;
}
.user-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.user-menu .dropdown-item:hover {
    background: #f8f9fa;
    color: #007AFF;
}
.user-menu .badge {
    font-size: 0.7rem;
}

/* CTA Button - ΣΤΑΘΕΡΟ & ΕΠΑΓΓΕΛΜΑΤΙΚΟ */
.btn-cta {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(40,167,69,0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.btn-cta:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
    color: white;
}

/* Login Link */
.login-link {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}
.login-link:hover {
    background: rgba(255,255,255,0.2);
}

/* Right Navigation */
.navbar-nav-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 5px;
    margin-left: auto;
}

/* Navbar Layout Fix */
.navbar-expand-lg .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    overflow: visible;
}

.navbar-expand-lg .navbar-nav.me-auto {
    margin-right: 0 !important;
    flex: 1;
    overflow: visible;
}

/* Ensure proper spacing */
.main-navbar .navbar-brand {
    margin-right: 1rem;
}

.main-navbar .navbar-toggler {
    margin-left: auto;
}

/* Mobile Optimization */
@media (max-width: 991px) {
    .top-bar {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 5px;
    }
    .social-links {
        justify-content: center;
        margin-top: 5px;
    }
    
    .navbar-search {
        display: none !important;
    }
    
    .main-navbar .container {
        flex-wrap: wrap;
    }
    
    .logo-container {
        padding: 6px 0;
    }
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    .logo-main {
        font-size: 1.4rem;
    }
    .logo-sub {
        font-size: 0.8rem;
    }
    
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

/* Responsive Mega Menu */
@media (max-width: 1200px) {
    .mega-dropdown .dropdown-menu {
        width: 750px;
        left: -200px;
    }
}

@media (max-width: 992px) {
    .mega-dropdown .dropdown-menu {
        width: 600px;
        left: -150px;
    }
    
    .mega-menu .col-md-3 {
        padding: 0 10px;
    }
    
    .mega-menu .dropdown-item {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .mega-dropdown .dropdown-menu {
        position: relative;
        width: 100%;
        left: 0;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .mega-menu {
        padding: 15px 0;
    }
    
    .mega-menu .container {
        padding: 0 15px;
    }
    
    .mega-menu .col-md-3 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .mega-menu .dropdown-item {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-bar-left, .top-bar-right {
        text-align: center;
    }
    .top-bar-text {
        display: block;
        margin: 2px 0;
    }
    
    .navbar-expand-lg .navbar-collapse {
        display: block !important;
        background: rgba(30, 60, 114, 0.98);
        margin-top: 10px;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .navbar-nav {
        text-align: left;
        flex-direction: column !important;
    }
    
    .navbar-nav-right {
        margin-left: 0 !important;
        margin-top: 15px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .navbar .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin: 0;
        border-radius: 0;
    }
    
    .navbar .nav-link:last-child {
        border-bottom: none;
    }
    
    .mega-dropdown .dropdown-menu {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        margin-top: 10px;
        border-radius: 8px;
    }
    
    .mega-menu {
        padding: 15px;
    }
    
    .mega-menu-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .services-menu, .info-menu {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        min-width: auto;
        margin-top: 10px;
    }
    
    .user-dropdown .user-link {
        justify-content: flex-start;
        background: rgba(255,255,255,0.15);
        border-radius: 8px;
        padding: 12px;
    }
    
    .btn-cta {
        width: 100%;
        margin: 10px 0 0 0;
        display: none;
    }
    
    .navbar .dropdown-menu {
        min-width: 100%;
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .color-picker-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 8px;
    }
    
    .color-option {
        width: 60px;
        height: 60px;
    }
    
    .color-name {
        font-size: 0.65rem;
        bottom: -20px;
        width: 80px;
    }
    
    .interior-color-picker .row .col-md-3 {
        margin-bottom: 20px;
    }
    
    .mega-menu-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .services-menu .row .col-6,
    .info-menu .row .col-4 {
        margin-bottom: 15px;
    }
}

/* DROPDOWN HOVER EFFECTS - MAKE ALL MENUS WORK LIKE VEHICLES */
.navbar-nav .nav-item.dropdown:hover > .dropdown-menu,
.navbar-nav .nav-item.mega-dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.navbar-nav .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0;
    display: block !important;
    pointer-events: none;
}

.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .mega-dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Force override Bootstrap behavior */
.navbar-nav .nav-item.dropdown:hover .dropdown-menu,
.navbar-nav .nav-item.mega-dropdown:hover .dropdown-menu {
    display: block !important;
}

/* Specific targeting for Services and Info menus */
.navbar-nav li.dropdown:hover .dropdown-menu,
.navbar-nav li.mega-dropdown:hover .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .navbar .nav-link:hover::after {
        width: 0;
    }
    
    .mega-menu .dropdown-item:hover {
        transform: none;
    }
    
    .btn-cta:hover {
        transform: none;
    }
    
    /* On touch devices, keep click behavior */
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: none !important;
    }
}

/* Animation Keyframes */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.mega-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu.show .mega-menu {
    opacity: 1;
    transform: translateY(0);
}

/* MEGA MENU LOGO STYLES - FULL COLUMN */
.mega-menu-logo-full {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 220px;
    position: relative;
}

.mega-logo-container {
    position: relative;
    text-align: center;
}

.mega-logo-main {
    position: relative;
    animation: megaLogoFloat 4s ease-in-out infinite;
    z-index: 10;
}

@keyframes megaLogoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

/* Main Logo Circle - Large Size */
.mega-logo-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #007AFF 0%, #0056CC 50%, #007AFF 100%);
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.4);
    animation: megaLogoPulse 3s ease-in-out infinite;
}

@keyframes megaLogoPulse {
    0%, 100% { box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4); }
    50% { box-shadow: 0 12px 35px rgba(0, 122, 255, 0.6); }
}

.mega-logo-inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.mega-logo-car-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    animation: megaCarIconSpin 4s ease-in-out infinite;
}

@keyframes megaCarIconSpin {
    0%, 100% { transform: translate(-50%, -50%) rotateY(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotateY(180deg) scale(1.1); }
}

/* Rotating Ring - Large Size */
.mega-logo-rotating-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    animation: megaRingRotate 8s linear infinite;
}

@keyframes megaRingRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.mega-ring-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mega-ring-dot-1 { top: 0; left: 50%; transform: translateX(-50%); }
.mega-ring-dot-2 { right: 0; top: 50%; transform: translateY(-50%); }
.mega-ring-dot-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.mega-ring-dot-4 { left: 0; top: 50%; transform: translateY(-50%); }

/* Company Name */
.mega-logo-company-name {
    margin-bottom: 8px;
}

.mega-logo-deal {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00D4FF, #007AFF, #00D4FF);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: megaTextShine 3s ease-in-out infinite;
    letter-spacing: 1.5px;
    line-height: 1;
}

@keyframes megaTextShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mega-logo-domain {
    font-size: 1rem;
    font-weight: 700;
    color: #28a745;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
    letter-spacing: 0.8px;
}

.mega-logo-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-top: 6px;
}

/* Glow Rings */
.mega-logo-glow-ring,
.mega-logo-glow-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 122, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: megaGlowPulse 3s ease-in-out infinite;
}

.mega-logo-glow-ring {
    width: 110px;
    height: 110px;
    animation-delay: 0s;
}

.mega-logo-glow-ring-2 {
    width: 130px;
    height: 130px;
    animation-delay: 1s;
    border-color: rgba(0, 212, 255, 0.2);
}

@keyframes megaGlowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1); 
        opacity: 0.6; 
    }
}

/* Energy Waves */
.mega-energy-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 122, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: megaWaveExpand 4s ease-out infinite;
    pointer-events: none;
}

.mega-wave-1 {
    width: 70px;
    height: 70px;
    animation-delay: 0s;
}

.mega-wave-2 {
    width: 70px;
    height: 70px;
    animation-delay: 1.3s;
}

.mega-wave-3 {
    width: 70px;
    height: 70px;
    animation-delay: 2.6s;
}

@keyframes megaWaveExpand {
    0% {
        width: 70px;
        height: 70px;
        opacity: 0.6;
        border-width: 2px;
    }
    100% {
        width: 130px;
        height: 130px;
        opacity: 0;
        border-width: 1px;
    }
}

/* Mobile - Hide mega menu logo */
@media (max-width: 768px) {
    .mega-menu-logo-full {
        display: none;
    }
}
