/* style.css */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f6f8fa;
}
html {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 90px;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.hero-gradient {
    background: linear-gradient(135deg, #0b132b 0%, #1c2541 50%, #3a506b 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
}
.slide-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 40px;
    width: 100%;
}
.slide-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #0d6efd;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 8px;
}
.slide-title {
    font-weight: 800;
    color: #111827;
    margin-bottom: 30px;
}
.feature-bar {
    border-left: 5px solid #0d6efd;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    transition: all 0.2s ease;
}
.feature-bar:hover {
    transform: translateX(8px);
    background: #f1f5f9;
}
.award-banner {
    border: 2px solid #ffc107;
    background: linear-gradient(90deg, #fffdf5 0%, #ffffff 100%);
}
.icon-square {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

/* --- ADDED / ENHANCED INTERACTIVE LIGHTBOX IMAGE STYLES --- */

.img-zoom-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
}

.img-zoom-container img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* Dark overlay on hover with a micro scale effect */
.img-zoom-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.img-zoom-container:hover img {
    transform: scale(1.04);
    opacity: 0.75;
}

/* Dynamic Text & Zoom Badge Overlay */
.zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 8px;
    padding: 15px;
    text-align: center;
}

.img-zoom-container:hover .zoom-overlay {
    opacity: 1;
}

/* Modal Content & Lightbox Optimization */
.modal-content {
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* Force le conteneur ultra-large (modal-xl) de Bootstrap à prendre 95% de la largeur de l'écran */
@media (min-width: 1200px) {
    .modal-dialog.modal-xl {
        max-width: 95vw; /* vw = width de la fenêtre (viewport width) */
    }
}

.max-modal-img {
    width: 80%;
    max-height: 85vh;
    object-fit: contain;
    width: auto;
    max-width: 100%;
    background-color: transparent;
}