/* EXTREME ΤΟΥΜΠΑΝΟ Navigation CSS */

/* Quick Menu Container */
.extreme-quick-menu {
    margin: 0 20px;
    position: relative;
}

.quick-menu-container {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: nowrap !important;
}

/* Quick Menu Items */
.quick-menu-item {
    position: relative;
}

/* EXTREME Quick Buttons - ΣΤΑΘΕΡΑ & ΕΠΑΓΓΕΛΜΑΤΙΚΑ */
.quick-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-width: max-content;
    justify-content: space-between;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Services Button Specific - ΜΠΛΕ */
.services-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.services-btn:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Info Button Specific - ΜΠΛΕ */
.info-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.info-btn:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Vehicles Button Specific - ΜΠΛΕ */
.vehicles-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.vehicles-btn:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* User Button Specific - ΜΠΛΕ */
.user-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.user-btn:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Admin Button Specific - ΜΠΛΕ */
.admin-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.admin-btn:hover {
    background: linear-gradient(135deg, #0069d9 0%, #004085 100%);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    animation: adminCrown 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

@keyframes adminCrown {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.2) rotate(180deg); 
        opacity: 1; 
    }
}

/* User Avatar in Button */
.user-avatar-extreme {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin-right: 8px;
}

.user-avatar-extreme img {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar-extreme .btn-icon {
    font-size: 1rem;
    color: white;
}

/* NAVIGATION ROTATING LOGO */
.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Main Logo Circle */
.logo-circle {
    position: relative;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 2px 8px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-inner-circle {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Car Icon */
.logo-car-icon {
    color: white;
    font-size: 0.8rem;
    z-index: 3;
    animation: carIconRotate 4s ease-in-out infinite;
}

/* Rotating Ring */
.logo-rotating-ring {
    position: absolute;
    width: 38px;
    height: 38px;
    top: -5px;
    left: -5px;
    animation: ringRotate 3s linear infinite;
}

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

.ring-dot-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ring-dot-2 {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.ring-dot-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ring-dot-4 {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Company Name */
.nav-company-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-deal {
    font-size: 1rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
}

.nav-domain {
    font-size: 0.65rem;
    font-weight: 600;
    color: #20c997;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Logo text overrides when logo is used inside ad placeholders (cards, search results, panels) */
.photo-placeholder .nav-deal,
.car-image .nav-deal,
.ad-image-placeholder .nav-deal,
.bg-primary .nav-deal {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.35) !important;
    animation: none !important;
}

.photo-placeholder .nav-domain,
.car-image .nav-domain,
.ad-image-placeholder .nav-domain,
.bg-primary .nav-domain {
    color: #00ff9a !important;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.3) !important;
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 
            0 8px 25px rgba(102, 126, 234, 0.4),
            0 0 0 2px rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: translateY(-3px) scale(1.05); 
        box-shadow: 
            0 15px 35px rgba(102, 126, 234, 0.6),
            0 0 0 3px rgba(255, 255, 255, 0.3);
    }
}

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

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

@keyframes textShine {
    0%, 100% { 
        background: linear-gradient(135deg, #667eea, #764ba2);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% { 
        background: linear-gradient(135deg, #764ba2, #667eea);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Hover Effects */
.navbar-brand:hover .logo-circle {
    animation-duration: 1s;
    transform: translateY(-5px) scale(1.1);
}

.navbar-brand:hover .logo-rotating-ring {
    animation-duration: 1s;
}

.navbar-brand:hover .logo-car-icon {
    animation-duration: 1s;
}

/* Button Glow Effect */
.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 27px;
    z-index: -1;
    animation: btnRotate 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-btn:hover .btn-glow {
    opacity: 1;
}

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

/* Button Content */
.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-icon {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-sparkle {
    font-size: 0.8rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

.btn-arrow {
    transition: all 0.3s ease;
    margin-left: 5px;
}

.quick-btn:hover .btn-arrow {
    transform: rotate(0deg);
}

.quick-btn:hover .btn-icon {
    transform: scale(1.05);
}

/* EXTREME Dropdown */
.extreme-dropdown {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-top: 10px;
    min-width: 280px;
    animation: dropdownSlide 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: top center;
}

/* Vehicles Dropdown - Larger for all categories */
.vehicles-dropdown {
    min-width: 350px !important;
    max-height: 500px;
    overflow-y: auto;
    padding: 20px;
}

/* Custom scrollbar for vehicles dropdown */
.vehicles-dropdown::-webkit-scrollbar {
    width: 8px;
}

.vehicles-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.vehicles-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.vehicles-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.extreme-vehicles-menu .extreme-dropdown {
    margin-top: 10px;
    min-width: 800px;
    animation: megaMenuSlide 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    transform-origin: top center;
}

@keyframes megaMenuSlide {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mega Menu Titles */
.extreme-vehicles-menu .mega-menu-title {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #00D4FF;
    display: flex;
    align-items: center;
    gap: 8px;
}

.extreme-vehicles-menu .mega-menu-title i {
    color: #00D4FF;
}

.extreme-vehicles-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.extreme-vehicles-menu .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00D4FF;
    transform: translateX(5px);
}

.extreme-vehicles-menu .dropdown-item i {
    color: #00D4FF;
    transition: all 0.3s ease;
    min-width: 16px;
}

.extreme-vehicles-menu .dropdown-item:hover i {
    transform: scale(1.3) rotate(10deg);
}

@keyframes dropdownSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* EXTREME Dropdown Items */
.extreme-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 10px;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    margin-bottom: 3px;
    gap: 10px;
    overflow: hidden;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
}

.extreme-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #00D4FF !important;
    transform: translateX(8px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.item-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 16px;
}

.extreme-item:hover .item-icon {
    transform: scale(1.3) rotate(10deg);
}

.item-text {
    flex: 1;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Item Glow Effect */
.item-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.extreme-item:hover .item-glow {
    left: 100%;
}

/* User Menu Specific Styling */
.user-menu-extreme {
    min-width: 280px;
    padding: 15px;
}

.user-menu-extreme .dropdown-header {
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.admin-header {
    color: #007bff !important;
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    color: white !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.3), transparent);
    animation: adminHeaderShine 3s ease-in-out infinite;
}

@keyframes adminHeaderShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* Admin Items Special Styling */
.admin-item:hover {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
    transform: translateX(12px) scale(1.03) !important;
    box-shadow: 
        0 10px 30px rgba(0, 123, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) !important;
}

.extreme-item .item-icon {
    color: #00D4FF !important;
    transition: all 0.3s ease;
    font-weight: bold;
}

.extreme-item:hover .item-icon {
    color: #00D4FF !important;
    transform: scale(1.3) rotate(10deg);
}

/* Logout Item Special Styling */
.logout-item:hover {
    background: linear-gradient(135deg, #e17055 0%, #d63031 100%) !important;
    color: white !important;
    transform: translateX(8px) scale(1.02) !important;
}

.logout-item .item-icon {
    color: #e17055;
}

.logout-item:hover .item-icon {
    color: white !important;
    transform: scale(1.3) rotate(-10deg) !important;
}

/* Badge Styling in User Menu */
.user-menu-extreme .badge {
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: auto;
    animation: badgePulse 2s ease-in-out infinite;
}

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

/* Dropdown Divider Styling */
.user-menu-extreme .dropdown-divider {
    margin: 15px 0;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    position: relative;
}

.user-menu-extreme .dropdown-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

/* Navigation Layout Fixes */
.main-navbar {
    position: relative;
    z-index: 1050;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav-right {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 10px;
}

.extreme-vehicles-menu {
    position: static;
}

.extreme-vehicles-menu .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    display: none;
}

.extreme-vehicles-menu.show .mega-menu {
    display: block;
}

/* Fix dropdown positioning */
.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Ensure proper z-index stacking */
.extreme-quick-menu {
    position: relative;
    z-index: 1030;
}

.extreme-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    display: none;
}

.dropdown.show .extreme-dropdown {
    display: block;
}

/* EXTREME REALISTIC FLAGS WITH WIND ANIMATION */

/* Greek Flag - Realistic with Wind Effect */
.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;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.flag-gr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 55.55%;
    background: 
        linear-gradient(to bottom, transparent 20%, white 20%, white 35%, transparent 35%),
        linear-gradient(to right, transparent 35%, white 35%, white 65%, transparent 65%);
    z-index: 3;
}

/* British Flag - Correct Union Jack with Wind */
.flag-gb {
    background: #012169;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flag-gb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* White diagonal crosses (St. Andrew's Cross base) */
        linear-gradient(45deg, transparent 35%, white 35%, white 65%, transparent 65%),
        linear-gradient(-45deg, transparent 35%, white 35%, white 65%, transparent 65%);
    z-index: 1;
}

.flag-gb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Red diagonal crosses (St. Patrick's Cross) */
        linear-gradient(45deg, transparent 42%, #C8102E 42%, #C8102E 46%, transparent 46%, transparent 54%, #C8102E 54%, #C8102E 58%, transparent 58%),
        linear-gradient(-45deg, transparent 42%, #C8102E 42%, #C8102E 46%, transparent 46%, transparent 54%, #C8102E 54%, #C8102E 58%, transparent 58%),
        /* White central cross (St. George's Cross base) */
        linear-gradient(to bottom, transparent 35%, white 35%, white 65%, transparent 65%),
        linear-gradient(to right, transparent 35%, white 35%, white 65%, transparent 65%),
        /* Red central cross (St. George's Cross) */
        linear-gradient(to bottom, transparent 42%, #C8102E 42%, #C8102E 58%, transparent 58%),
        linear-gradient(to right, transparent 42%, #C8102E 42%, #C8102E 58%, transparent 58%);
    z-index: 2;
}

/* Enhanced Flag Container */
.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 6px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.flag-icon:hover {
    transform: scale(1.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 2px rgba(255, 255, 255, 0.5);
}

@keyframes flagWaveHover {
    0%, 100% { 
        transform: scale(1.2) perspective(100px) rotateY(0deg);
    }
    50% { 
        transform: scale(1.2) perspective(100px) rotateY(5deg);
    }
}

/* Language Switcher Enhanced */
.language-switcher-simple {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px 12px;
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-wrap: nowrap;
}

.language-flag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.language-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.language-flag:hover::before {
    left: 100%;
}

.language-flag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.language-flag.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.flag-text {
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Flag Pole Effect */
.language-flag::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #8B4513, #A0522D);
    border-radius: 1px;
    box-shadow: 1px 0 2px rgba(0, 0, 0, 0.3);
}

/* Wind Sound Effect (Visual) */
.language-flag:hover .flag-icon {
    animation: flagWaveIntense 0.8s ease-in-out infinite;
}

@keyframes flagWaveIntense {
    0%, 100% { 
        transform: perspective(100px) rotateY(0deg) rotateX(0deg);
        filter: brightness(1);
    }
    25% { 
        transform: perspective(100px) rotateY(-5deg) rotateX(2deg);
        filter: brightness(1.2);
    }
    50% { 
        transform: perspective(100px) rotateY(0deg) rotateX(-2deg);
        filter: brightness(0.9);
    }
    75% { 
        transform: perspective(100px) rotateY(5deg) rotateX(1deg);
        filter: brightness(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .extreme-quick-menu {
        display: none !important;
    }
    
    .extreme-vehicles-menu .mega-menu {
        min-width: 100%;
        padding: 20px;
    }
    
    .flag-icon {
        width: 18px;
        height: 12px;
    }
    
    .language-switcher-simple {
        padding: 6px 8px;
        gap: 6px;
    }
}

@media (max-width: 991px) {
    .quick-menu-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .quick-btn {
        min-width: 120px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Animation Delays for Staggered Effect */
.quick-menu-item:nth-child(1) .quick-btn {
    animation-delay: 0.1s;
}

.quick-menu-item:nth-child(2) .quick-btn {
    animation-delay: 0.2s;
}

/* Hover Sound Effect (Visual) */
.quick-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.quick-btn:hover::before {
    width: 100px;
    height: 100px;
}

/* Focus States for Accessibility */
.quick-btn:focus {
    outline: none;
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        0 0 0 3px rgba(102, 126, 234, 0.5);
}

.extreme-item:focus {
    outline: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Loading Animation for Buttons */
@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.quick-btn.loading {
    animation: buttonPulse 1s ease-in-out infinite;
    pointer-events: none;
}

/* Success State */
.quick-btn.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    animation: successPulse 0.6s ease-out;
}

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

@media (max-width: 768px) {
    .main-navbar,
    .main-navbar * {
        animation: none !important;
        transition: none !important;
    }
}
