/* ============================================
   FUTURISTIC DESIGN STYLES
   ============================================ */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --blue-gradient: linear-gradient(135deg, #0066CC 0%, #0052CC 100%);
    --blue-gradient: linear-gradient(135deg, #0066CC 0%, #0052CC 100%);
    --cyan-gradient: linear-gradient(135deg, #0066CC 0%, #0052CC 100%);
    --dark-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 102, 204, 0.3);
    --shadow-glow-strong: 0 0 30px rgba(0, 102, 204, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --blue-color: #0066CC;
}

/* ============================================
   GLOBAL ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 102, 204, 0.6);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ============================================
   BODY & SMOOTH SCROLLING
   ============================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Gothic A1', sans-serif;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
}

/* ============================================
   HEADER FUTURISTIC STYLES - DISABLED
   ============================================ */

/* Tous les styles du header ont été désactivés pour laisser Bootstrap gérer l'affichage */

.sticky-top {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.85) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.sticky-top:hover {
        box-shadow: 0 12px 40px rgba(0, 102, 204, 0.2);
}

.container-fluid.bg-primary {
    background: var(--cyan-gradient) !important;
    position: relative;
    overflow: hidden;
}

.container-fluid.bg-primary::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 3s infinite;
}

.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 102, 204, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1000;
}

@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
    }
    
    .navbar-collapse.collapse {
        display: flex !important;
    }
    
    .navbar-collapse.collapse:not(.show) {
        display: flex !important;
    }
}

.navbar-collapse.collapse.show {
    display: flex !important;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    width: 100%;
    justify-content: flex-end;
}

.navbar-nav .nav-item {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.navbar-brand img {
    transition: var(--transition-smooth);
    filter: drop-shadow(0 0 10px rgba(0, 102, 204, 0.5));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 102, 204, 0.8));
}

.nav-link {
    position: relative;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    margin: 0 0.25rem;
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    text-decoration: none !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--blue-gradient);
    transform: translateX(-50%);
    transition: var(--transition-smooth);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-link:hover {
    color: #0066CC !important;
    transform: translateY(-2px);
    background: rgba(0, 102, 204, 0.1);
}

.nav-link.dropdown-icon {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

li.nav-item.dropdown {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}

li.nav-item.dropdown > a.nav-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.nav-item.dropdown {
    position: relative;
    z-index: 1001;
    display: list-item !important;
    visibility: visible !important;
}

.nav-item.dropdown .nav-link {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.nav-item.dropdown .nav-link.dropdown-icon {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

.nav-item.dropdown .dropdown-menu {
    z-index: 10000 !important;
}

/* ============================================
   DROPDOWN MENU FUTURISTIC - DISABLED
   ============================================ */

/* Tous les styles du dropdown menu ont été désactivés pour laisser Bootstrap gérer l'affichage */

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 2rem !important;
    animation: fadeInDown 0.4s ease-out;
    margin-top: 1rem !important;
}

.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dropdown-menu .card {
    transition: var(--transition-smooth);
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-glow-strong);
}

.dropdown-menu .card img {
    transition: var(--transition-smooth);
}

.dropdown-menu .card:hover img {
    transform: scale(1.1);
}

.dropdown-menu .btn {
    background: var(--cyan-gradient) !important;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.dropdown-menu .btn::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;
}

.dropdown-menu .btn:hover::before {
    width: 300px;
    height: 300px;
}

.dropdown-menu .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

/* ============================================
   HERO CAROUSEL FUTURISTIC
   ============================================ */

#heroCarousel {
    position: relative;
    overflow: hidden;
}

#heroCarousel .carousel-item {
    position: relative;
}

#heroCarousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 102, 204, 0.2) 100%);
    z-index: 1;
}

#heroCarousel .carousel-item img {
    transition: transform 8s ease-out;
    filter: brightness(0.9);
}

#heroCarousel .carousel-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

#heroCarousel .carousel-caption {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

#heroCarousel .carousel-caption h1 {
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 102, 204, 0.5);
    font-weight: 600;
    letter-spacing: 2px;
    animation: pulse 3s ease-in-out infinite;
}

#heroCarousel .carousel-caption p {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    font-size: 1.2rem;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 204, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition-smooth);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: rgba(0, 102, 204, 0.6);
    box-shadow: var(--shadow-glow);
    transform: translateY(-50%) scale(1.1);
}

#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
    margin: 0 5px;
}

#heroCarousel .carousel-indicators button.active {
    background: #0066CC;
    box-shadow: var(--shadow-glow);
    transform: scale(1.3);
}

#heroCarousel .carousel-indicators button:hover {
    background: rgba(0, 102, 204, 0.7);
    transform: scale(1.2);
}

/* ============================================
   PRODUCT CAROUSEL FUTURISTIC
   ============================================ */

.product-carousel-container {
    position: relative;
}

.product-item {
    transition: var(--transition-smooth);
}

.product-item .card {
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.product-item .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.product-item .card:hover::before {
    left: 100%;
}

.product-item .card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-glow-strong);
    border-color: rgba(0, 102, 204, 0.5);
}

.product-item .card-img-top {
    transition: var(--transition-smooth);
    position: relative;
    z-index: 0;
}

.product-item .card:hover .card-img-top {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-item .card-body {
    position: relative;
    z-index: 2;
    background: white;
}

.product-item .card-title {
    color: #1a1a2e;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.product-item .card:hover .card-title {
    color: #0066CC;
}

.product-item .btn {
    background: var(--cyan-gradient) !important;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.product-item .btn::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;
}

.product-item .btn:hover::before {
    width: 400px;
    height: 400px;
}

.product-item .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
    color: white !important;
}

.product-carousel-container .prev,
.product-carousel-container .next {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 102, 204, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-carousel-container .prev:hover,
.product-carousel-container .next:hover {
    background: var(--cyan-gradient) !important;
    border-color: #0066CC;
    color: white !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   SHOWROOMS & SAV SECTION FUTURISTIC
   ============================================ */

.container.bg-white .d-flex.align-items-start .flex-shrink-0 > div {
    transition: var(--transition-smooth);
}

.container.bg-white .d-flex.align-items-start:hover .flex-shrink-0 > div {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

.container.bg-white .row.g-3 img {
    transition: var(--transition-smooth);
}

.container.bg-white .row.g-3 .card:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ============================================
   NOUVEAUTÉS SECTION FUTURISTIC
   ============================================ */

.container.bg-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.container.bg-white::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.container.bg-white h2 {
    font-weight: 600;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.container.bg-white h2::after {
    content: '';
    position: absolute;
    left: 0;
    background: var(--blue-gradient);
}

.container.bg-white .card {
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 102, 204, 0.1);
    height: 100%;
    position: relative;
}

.container.bg-white .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.container.bg-white .card:hover::before {
    opacity: 1;
}

.container.bg-white .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow-strong);
    border-color: rgba(0, 102, 204, 0.3);
}

.container.bg-white .card-img-top {
    transition: var(--transition-smooth);
    position: relative;
    z-index: 0;
}

.container.bg-white .card:hover .card-img-top {
    transform: scale(1.1);
}

.container.bg-white .card-body {
    position: relative;
    z-index: 2;
    background: white;
}

.container.bg-white .card-body h3 {
    color: #1a1a2e;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.container.bg-white .card:hover .card-body h3 {
    color: #0066CC;
}

/* ============================================
   BUTTONS FUTURISTIC
   ============================================ */

.btn {
    transition: var(--transition-smooth);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn.bg-cyan {
    background: var(--cyan-gradient) !important;
    border: none;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn.bg-cyan::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;
}

.btn.bg-cyan:hover::before {
    width: 400px;
    height: 400px;
}

.btn.bg-cyan:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.5);
    color: white !important;
}

.btn.bg-cyan:active {
    transform: translateY(-1px);
}

/* ============================================
   CARDS FUTURISTIC
   ============================================ */

.card {
    transition: var(--transition-smooth);
    border: none;
}

.card:hover {
    transform: translateY(-5px);
}

/* ============================================
   FOOTER FUTURISTIC
   ============================================ */

footer {
    background: var(--dark-gradient) !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue-gradient);
}

footer h5 {
    color: #0066CC;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    transition: var(--transition-smooth);
    position: relative;
}

footer a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066CC;
    transition: var(--transition-smooth);
}

footer a:hover::before {
    width: 100%;
}

footer a:hover {
    color: #0066CC !important;
    transform: translateX(5px);
}

/* ============================================
   SECTIONS ANIMATIONS
   ============================================ */

section {
    animation: fadeInUp 0.8s ease-out;
}

.container-fluid.bg-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    position: relative;
}

.container-fluid.bg-light h2,
.container.bg-light h2 {
    font-weight: 600;
    background: var(--blue-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: fadeInDown 0.8s ease-out;
}

.container-fluid.bg-light h2::after,
.container.bg-light h2::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100px;
    background: var(--blue-gradient);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

[data-aos] {
    opacity: 1;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    -webkit-transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    -ms-transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ============================================
   SMOOTH TRANSITIONS FOR ALL ELEMENTS
   ============================================ */

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

a {
    transition: var(--transition-smooth);
}

/* ============================================
   GLASSMORPHISM EFFECTS
   ============================================ */

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ============================================
   LOADING ANIMATIONS
   ============================================ */

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading {
    animation: spin 1s linear infinite;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .product-item .card:hover {
        transform: translateY(-5px);
    }
}

