/* Styles communs pour toutes les pages de la Plateforme EduKoura */

/* Couleurs EduKoura */
.text-edukoura-blue { color: #0072BC; }
.text-edukoura-yellow { color: #F7A600; }
.bg-edukoura-blue { background-color: #0072BC; }
.bg-edukoura-yellow { background-color: #F7A600; }
.border-edukoura-blue { border-color: #0072BC; }

/* Navigation Styles */
.navigation {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 114, 188, 0.1);
}

.logo-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.logo-edu {
    color: #0072BC;
}

.logo-k {
    color: #F7A600;
}

.logo-oura {
    color: #0072BC;
}

/* Animations */
.hover-lift { 
    transition: transform 0.3s ease; 
}
.hover-lift:hover { 
    transform: translateY(-5px); 
}

.fade-in { 
    opacity: 0; 
    transform: translateY(30px); 
    animation: fadeInUp 0.8s ease forwards; 
}

@keyframes fadeInUp {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Cards */
.module-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 114, 188, 0.1);
    transition: all 0.3s ease;
}

.module-card:hover {
    border-color: #0072BC;
    box-shadow: 0 20px 40px rgba(0, 114, 188, 0.1);
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 114, 188, 0.1);
}

/* Icons */
.module-icon {
    background: linear-gradient(135deg, #0072BC, #005a9a);
    box-shadow: 0 10px 30px rgba(0, 114, 188, 0.3);
}

/* Badges */
.feature-badge {
    background: rgba(247, 166, 0, 0.1);
    color: #F7A600;
    border: 1px solid rgba(247, 166, 0, 0.2);
}

/* Flow Diagram */
.flow-node {
    background: linear-gradient(135deg, #0072BC, #005a9a);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 114, 188, 0.3);
    transition: all 0.3s ease;
}

.flow-node:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 114, 188, 0.4);
}

.flow-arrow {
    position: relative;
    width: 100px;
    height: 2px;
    background: #F7A600;
    margin: 0 20px;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 14px solid #F7A600;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
}

/* Phone & Desktop Mockups */
.phone-mockup {
    position: relative;
    width: 280px;
    margin: 0 auto;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.phone-mockup img {
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 114, 188, 0.25);
    border: 8px solid #1a1a1a;
}

.desktop-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 114, 188, 0.2);
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

.desktop-mockup:hover {
    transform: translateY(-8px);
}

.browser-bar {
    background: linear-gradient(to bottom, #e8e8e8, #d5d5d5);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #c0c0c0;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.desktop-mockup img {
    width: 100%;
    display: block;
}

/* Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #0072BC;
    width: 24px;
    border-radius: 5px;
}

/* Gallery & Lightbox */
.gallery-grid { 
    gap: 0.75rem; 
}

.gallery-thumb { 
    display: block; 
    border-radius: 12px; 
    overflow: hidden; 
    cursor: pointer; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.08); 
}

.gallery-thumb img { 
    width: 100%; 
    height: 160px; 
    object-fit: cover; 
    display: block; 
    transition: transform .25s ease; 
}

.gallery-thumb:focus img, 
.gallery-thumb:hover img { 
    transform: scale(1.03); 
}

#lightbox { 
    position: fixed; 
    inset: 0; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    background: rgba(0,0,0,0.85); 
    z-index: 60; 
}

#lightbox.show { 
    display: flex; 
}

#lightboxImg { 
    max-width: 92%; 
    max-height: 86vh; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6); 
    border-radius: 6px; 
}

.lightbox-btn { 
    color: #fff; 
    background: transparent; 
    border: none; 
    font-size: 2rem; 
    cursor: pointer; 
    padding: 0.5rem; 
}

.lightbox-close { 
    position: absolute; 
    top: 1.25rem; 
    right: 1.25rem; 
    font-size: 2.25rem; 
}

.lightbox-caption { 
    position: absolute; 
    bottom: 2.5rem; 
    left: 50%; 
    transform: translateX(-50%); 
    color: #fff; 
    max-width: 88%; 
    text-align: center; 
    font-size: 1rem; 
    opacity: 0.95; 
}
