html, body {
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    html.fslightbox-open body {
        overflow: hidden !important;
    }

    .fslightbox-container {
        max-width: 100vw;
        overflow: hidden;
    }

    .fslightbox-container img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* === STYLES NAVBAR MODERNE === */
    .navbar-gradient {
        background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.98) 50%, rgba(0,0,0,0.95) 100%);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: all 0.3s ease;
    }
    
    .logo-glow {
        text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
        transition: all 0.3s ease;
    }
    
    .logo-glow:hover {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(220, 38, 38, 0.8);
    }
    
    .nav-link {
        position: relative;
        overflow: hidden;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #dc2626, #ef4444);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .nav-link:hover::before {
        width: 100%;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-link:hover::after {
        left: 100%;
    }
    
    .menu-toggle {
        background: linear-gradient(45deg, #dc2626, #ef4444);
        border-radius: 8px;
        padding: 8px 12px;
        transition: all 0.3s ease;
        border: none;
    }
    
    .menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    }
    
    .mobile-menu {
        background: linear-gradient(135deg, rgba(0,0,0,0.98) 0%, rgba(20,20,20,0.99) 100%);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1rem;
        border-radius: 8px;
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .mobile-nav-link {
        position: relative;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        padding: 0.75rem 1.5rem;
    }
    
    .mobile-nav-link:hover {
        transform: translateX(10px);
        color: #dc2626;
        background: rgba(220, 38, 38, 0.1);
    }
    
    .mobile-nav-link i {
        margin-right: 0.75rem;
        color: #dc2626;
    }
    
    .scrolled {
        background: rgba(0,0,0,0.98) !important;
        backdrop-filter: blur(25px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    /* === INDICATEUR DE SECTION ACTIVE === */
    .nav-link.active {
        color: #dc2626 !important;
        font-weight: 600;
    }
    
    .nav-link.active::before {
        width: 100%;
        background: linear-gradient(90deg, #dc2626, #ef4444);
    }
    
    .nav-link.active::after {
        background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.2), transparent);
        left: 0;
    }
    
    .mobile-nav-link.active {
        color: #dc2626 !important;
        background: rgba(220, 38, 38, 0.15) !important;
        transform: translateX(10px);
        font-weight: 600;
    }
    
    .mobile-nav-link.active i {
        color: #ef4444 !important;
    }

    /* === NAVBAR TOUJOURS VISIBLE === */
    .navbar-gradient {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }
    @media screen and (min-width: 1920px) {
    /* Réduire la taille générale du contenu */
    .container {
        max-width: 1400px !important; /* Limite la largeur du contenu */
    }
    
    /* Hero section - réduire les tailles de texte */
    .hero-title {
        font-size: 3.5rem !important; /* au lieu de 5xl */
    }
    
    .hero-enhanced p {
        font-size: 1.75rem !important; /* au lieu de 3xl */
    }
    
    /* Boutons moins gros */
    .btn-enhanced {
        padding: 12px 24px !important;
        font-size: 1rem !important;
    }
    
    /* Titres de sections */
    h2 {
        font-size: 3rem !important; /* au lieu de 5xl */
    }
    
    /* Portfolio - grille plus dense */
    .grid {
        grid-template-columns: repeat(6, 1fr) !important; /* 6 colonnes au lieu de 4 */
        gap: 1rem !important;
    }
    
    /* Images du portfolio plus petites */
    .photo-card-enhanced img {
        height: 200px !important;
    }
    
    /* Contact section */
    .contact-form-enhanced,
    .contact-info-enhanced {
        padding: 2rem !important;
        font-size: 0.95rem;
    }
    
    /* Espacement général réduit */
    .py-20 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Pour les écrans vraiment énormes (plus de 2560px) */
@media screen and (min-width: 2560px) {
    .container {
        max-width: 1600px !important;
    }
    
    /* Portfolio en 8 colonnes */
    .grid {
        grid-template-columns: repeat(8, 1fr) !important;
    }
    
    /* Texte encore plus petit */
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-enhanced p {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 2.5rem !important;
    }
}