.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 8px !important;
    opacity: 0.8 !important;
}

.swiper-pagination-bullet {
    background: #666 !important; 
}

.swiper-pagination-bullet-active {
    background: #ff0000 !important; 
    opacity: 1 !important;
}

.swiper-pagination-bullet:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}

.section.dark h2,
.section.dark p,
.section.dark .projets h3 {
    color: #ffffff !important; 
}


footer .btn-alt,
footer a.btn-alt {
    background-color: #c00000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}


footer .btn-alt:hover,
footer a.btn-alt:hover {
    background-color: #8b0000 !important;
    transform: translateY -3px !important;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3) !important;
}

.contact-btn, 
a.contact-btn:not(.header-menu a) {
    background-color: #c00000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

.contact-btn:hover, 
a.contact-btn:hover:not(.header-menu a:hover) {
    background-color: #8b0000 !important;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: #ff0000;
    color: white;
    padding: 10px 15px;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 5px 0;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid #fff;
}

/* Performance optimizations */
img {
    content-visibility: auto;
}

/* Avoid layout shifts */
.slider-background,
.about-image img,
.projets img,
.swiper-slide img {
    aspect-ratio: attr(width) / attr(height);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-down {
        animation: none !important;
    }
    
    .swiper-container,
    .swiper-wrapper {
        transition-duration: 0s !important;
    }
    
    * {
        transition-duration: 0.001s !important;
        animation-duration: 0.001s !important;
    }
}

/* Improve paint performance */
.swiper-slide img,
.projets,
.about-image,
.social-icon {
    will-change: transform;
    transform: translateZ(0);
}
