:root {
    /* === THÈME CLAIR (par défaut) === */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --accent-primary: #3b82f6;
    --accent-secondary: #1d4ed8;
    --accent-tertiary: #dbeafe;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-dark: #94a3b8;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Couleurs spécialisées */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Transitions et animations */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Rayons de bordure */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

[data-theme="dark"] {
    /* === THÈME SOMBRE === */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --accent-primary: #60a5fa;
    --accent-secondary: #3b82f6;
    --accent-tertiary: #1e3a8a;
    --border-light: #334155;
    --border-medium: #475569;
    --border-dark: #64748b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

/* Transition automatique pour tous les éléments */
* {
    transition: 
        background-color var(--transition-normal),
        border-color var(--transition-normal),
        color var(--transition-normal),
        fill var(--transition-normal),
        stroke var(--transition-normal),
        opacity var(--transition-normal),
        box-shadow var(--transition-normal),
        transform var(--transition-fast);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
html {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
    background-color: var(--bg-primary);
    font-family: 'Open Sans', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

/* === CONTRÔLES HEADER === */
body header .header-controls,
header .header-controls,
.header-controls {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    /* Force le positionnement par rapport au viewport */
    transform: none !important;
    margin: 0 !important;
    left: auto !important;
    bottom: auto !important;
}

/* === BOUTON THÈME MODERNE === */
.theme-toggle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

.theme-toggle:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

.theme-toggle i {
    transition: transform var(--transition-normal);
}

.theme-toggle:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Animation de changement de thème */
.theme-toggle.switching i {
    animation: themeSwitch 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes themeSwitch {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* === BOUTON LANGUE MODERNE === */
.language-toggle {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.language-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
    color: var(--text-primary);
    text-decoration: none;
}

.language-toggle:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

.language-toggle i {
    font-size: 1.2rem;
    margin-right: 6px;
    transition: transform var(--transition-normal);
}

.language-toggle:hover i {
    transform: scale(1.1);
}

.language-toggle span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Animation de changement de langue */
.language-toggle.switching {
    animation: langSwitch 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes langSwitch {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive des contrôles header */
@media (max-width: 768px) {
    body header .header-controls,
    header .header-controls,
    .header-controls {
        top: 15px !important;
        right: 15px !important;
        gap: 8px !important;
    }
    
    .theme-toggle,
    .language-toggle {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .language-toggle i {
        font-size: 1rem;
        margin-right: 4px;
    }
    
    .language-toggle span {
        font-size: 0.7rem;
    }
}

.logo img {
    height: 120px;
    width: 120px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

/* Bordure noire décollée du logo en mode sombre */
[data-theme="dark"] .logo img {
    border: 8px solid #000000;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h2 {
    font-size: 1.5em;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    margin-top: 10px;
}

.sign-in {
    position: absolute;
    top: 22.5px;
    right: 30px;
    margin: 0;
    padding: 6px 24px;
    box-shadow: inset 0px 1px 0px 0px #ffffff;
    background: linear-gradient(to bottom, #ffffff 5%, var(--accent-color) 100%);
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    color: #666666;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffffff;
}

.sign-in:hover {
    background: linear-gradient(to bottom, var(--accent-color) 5%, #ffffff 100%);
    color: black;
}

/* NAVIGATION */
nav {
    background: rgba(var(--bg-primary-rgb, 255, 255, 255), 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

nav:hover {
    box-shadow: var(--shadow-md);
}

/* Variables RGB pour la navigation (ajout dynamique via JS) */
[data-theme="light"] {
    --bg-primary-rgb: 255, 255, 255;
}

[data-theme="dark"] {
    --bg-primary-rgb: 15, 23, 42;
}

nav a {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-normal);
    margin: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

nav a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: var(--bg-tertiary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

nav a:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

nav a:hover::before {
    opacity: 1;
}

nav a:active {
    transform: translateY(0);
    transition: transform var(--transition-fast);
}

/* Effet de focus pour l'accessibilité */
nav a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* MAIN */
main {
    flex: 1;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

main h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 1px;
}

main p {
    max-width: 600px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* GALLERIES */
.photo-gallery, .project-gallery {
    width: 100%;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-gallery h2,
.project-gallery h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 1px;
}

.photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.project {
    flex-direction: column;
    align-items: center;
    background: var(--main-color);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
    max-width: 400px;
}

.project img {
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    height: auto;
}

.photo-gallery img {
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: block;
}

.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

.project-card {
    width: 280px;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-card h3 {
    padding: 15px 15px 5px 15px;
    font-size: 1.2em;
    text-align: center;
}

.project-card p {
    padding: 0 15px 15px 15px;
    color: var(--text-secondary);
    text-align: center;
    margin: 0;
}

/* MESSAGE DE CHARGEMENT */
.loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-color);
    text-align: center;
    width: 100%;
}

.loading-message i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

.loading-message p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* MESSAGES D'ERREUR ET AUCUNE DONNÉE */
.error-message, .no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    width: 100%;
    min-height: 200px;
}

.error-message i, .no-data-message i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.error-message i {
    color: #e74c3c;
}

.no-data-message i {
    color: var(--text-light);
}

.error-message h3, .no-data-message h3 {
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-size: 1.5rem;
}

.error-message p, .no-data-message p {
    margin: 5px 0;
    color: var(--text-light);
}

.error-details {
    font-size: 0.9rem;
    color: #e74c3c;
    font-style: italic;
    margin-top: 10px !important;
}

.retry-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.retry-btn:hover {
    background: var(--accent-hover);
}

.retry-btn i {
    margin-right: 5px;
    font-size: 1rem !important;
    color: white !important;
}

/* AVERTISSEMENT HORS LIGNE */
.offline-warning {
    background: #f39c12;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.offline-warning i {
    margin-right: 8px;
    font-size: 1rem;
}

/* PHOTO CARDS */
.photo-card {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    position: relative;
    justify-self: center;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    will-change: transform, box-shadow;
}

.photo-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.photo-card:active {
    transform: translateY(-8px) scale(1.01);
    transition: all var(--transition-fast);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
    will-change: transform;
    /* Optimisation pour les images originales */
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
}

.photo-card:hover img {
    transform: scale(1.08);
}

/* Effet de brillance au survol */
.photo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left var(--transition-slow);
}

.photo-card:hover::after {
    left: 100%;
}

.photo-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    color: white;
    padding: 25px 20px 20px;
    transform: translateY(100%);
    transition: var(--transition);
    pointer-events: none; /* Empêche la description de bloquer les clics */
}

.photo-card:hover .photo-info {
    transform: translateY(0);
}

.photo-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Josefin Sans', sans-serif;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: #ffffff;
}

/* === LAZY LOADING === */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img.lazy.loading {
    opacity: 0.5;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

img.lazy.loaded {
    opacity: 1;
}

img.lazy.error {
    opacity: 0.3;
    filter: grayscale(100%);
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* === PROTECTION DES IMAGES === */
.protected-image {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    pointer-events: auto !important;
}

/* Protection spécifique pour l'image de la modal */
#modal-img.protected-image {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Empêcher la sélection sur tout le modal */
.modal-content {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 5;
    pointer-events: auto;
    border-radius: inherit;
    cursor: pointer;
}

/* Overlay spécifique pour les photo-cards */
.photo-card .image-overlay {
    border-radius: var(--radius-2xl);
}

/* S'assurer que les images gardent leurs styles originaux */
.photo-card img.protected-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform var(--transition-slow) !important;
    will-change: transform !important;
}

.project-card img.protected-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.photo-info p {
    margin: 8px 0 0 0;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    color: #ffffff;
    opacity: 0.95;
}

/* SÉPARATEUR */
.separator {
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-medium), transparent);
    margin: 30px auto;
}

/* FOOTER */
footer {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 20px 0;
    width: 100%;
    text-align: center;
    margin-top: auto;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

footer span, footer p {
    margin: 0;
}

/* MODALE */
.modal {
    display: none; /* Suppression du !important qui bloquait l'ouverture */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

/* Quand la modal doit être ouverte */
.modal.show-modal {
    display: flex !important;
}

.modal-content {
    max-width: 95%;
    max-height: 90vh;
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
}

.close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.2s;
}

.close:hover {
    color: #bbb;
}

/* Animation des projets */
.project-card {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
    z-index: 1001;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* CONTACT SECTION */
.contact-section {
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    margin-top: 60px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-light);
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-primary);
    transition: all var(--transition-normal);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form button {
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    background: var(--accent-primary);
    color: var(--bg-primary);
    cursor: pointer;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-form button:hover:not(:disabled) {
    background: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Styles pour les erreurs de formulaire */
.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    min-height: 0; /* Supprime l'espacement fixe */
    height: 0; /* Pas de hauteur par défaut */
    overflow: hidden; /* Cache le contenu quand vide */
    transition: all 0.3s ease;
}

.error-message:not(:empty) {
    min-height: 20px;
    height: auto;
    margin-bottom: 10px;
}

.form-status {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    transition: all 0.3s ease;
}

.form-status.success {
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    color: #27ae60;
}

.form-status.error {
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ====== PRELOADER ====== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    color: var(--text-primary);
}

.camera-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: cameraFlash 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1.2rem;
    font-family: 'Josefin Sans', sans-serif;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    width: 0;
    height: 100%;
    background: var(--text-primary);
    border-radius: 2px;
    animation: loadingProgress 2s ease-in-out infinite;
}

@keyframes cameraFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes loadingProgress {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ====== ANIMATIONS AU SCROLL MODERNES ====== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all var(--transition-slow);
    will-change: opacity, transform;
}

.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animations d'entrée variées */
.slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all var(--transition-slow);
}

.slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all var(--transition-slow);
}

.slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all var(--transition-slow);
}

.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-slow);
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Animation en cascade pour les grilles */
.cascade-animation .photo-card:not(.photos-slider .photo-card),
.cascade-animation .project-card {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all var(--transition-slow);
}

.cascade-animation .photo-card:not(.photos-slider .photo-card).animate-in,
.cascade-animation .project-card.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Protection spéciale pour la navigation */
nav.fade-in {
    transform: none !important; /* Empêcher les transformations qui pourraient affecter la position */
}

nav.fade-in.animate-in {
    opacity: 1;
    transform: none !important;
}

/* Règle ultra-spécifique pour forcer le centrage de la navigation */
body nav,
html nav,
nav:not(.mobile-nav) {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    position: sticky !important;
    transform: none !important;
}

/* DEBUG: Forcer absolument le centrage - à supprimer plus tard */
nav * {
    box-sizing: border-box !important;
}

nav {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
}

nav a {
    float: none !important;
    margin: 0 auto !important;
}

/* ====== FILTRES GALERIE ====== */
.gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.gallery-filters label {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.gallery-filters select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--main-color);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    min-width: 200px;
}

.gallery-filters select:focus {
    outline: none;
    border-color: var(--text-color);
    transform: scale(1.02);
}

/* ====== FILTRES PAR CATÉGORIE ====== */
.filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.filter-button {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    background: var(--main-color);
    color: var(--text-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-button:hover,
.filter-button.active {
    background: var(--secondary-color);
    color: var(--main-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* ====== GALERIE INTERACTIVE ====== */
.filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--accent-color);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--border-color);
    background: var(--main-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: var(--main-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.search-container {
    position: relative;
    margin-left: 20px;
}

.search-container input {
    padding: 10px 40px 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--main-color);
    color: var(--text-color);
    font-family: 'Open Sans', sans-serif;
    transition: var(--transition);
    min-width: 200px;
}

.search-container input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}

.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.7;
}

/* ====== MODAL AMÉLIORÉE ====== */
.modal.modal-open {
    animation: modalFadeIn 0.3s ease;
}

.modal.modal-open .modal-content {
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ====== BOUTON RETOUR EN HAUT ====== */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--main-color);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    z-index: 1000;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--text-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

/* ====== TRANSITIONS ENTRE PAGES ====== */
body {
    transition: opacity 0.3s ease;
}

body.page-exit {
    opacity: 0;
}

/* ====== EFFETS PARALLAX ====== */
.parallax {
    will-change: transform;
}

/* ====== RESPONSIVE POUR NOUVELLES FONCTIONNALITÉS ====== */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-container {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .search-container input {
        min-width: 250px;
    }
    
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
    }
    
    .camera-icon {
        font-size: 2rem;
    }
    
    .loading-text {
        font-size: 1rem;
    }
    
    .loading-bar {
        width: 150px;
    }
}

/* SOCIAL CARDS */
.social-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px auto;
    max-width: 1000px;
    flex-wrap: wrap;
}

/* ====== PAGE À PROPOS ====== */
.about-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
    background: var(--bg-primary, #ffffff);
    border-radius: 20px;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1));
    border: 1px solid var(--border-light, #e2e8f0);
}

.about-section h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    color: var(--text-primary, #1e293b);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 1px;
}

.about-section h2 i {
    margin-right: 15px;
    color: var(--accent-primary, #3b82f6);
    font-size: 1.8rem;
}

/* SECTION BIOGRAPHIE */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    color: var(--text-primary, #1e293b);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photographer-placeholder {
    width: 250px;
    height: 300px;
    background: var(--bg-secondary, #f8fafc);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px dashed var(--border-light, #e2e8f0);
    color: var(--text-secondary, #475569);
}

.photographer-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-primary, #3b82f6);
}

.photographer-placeholder p {
    font-style: italic;
    text-align: center;
    margin: 0;
}

.photographer-photo {
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid var(--border-light, #e2e8f0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photographer-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* SECTION DÉMARCHE ARTISTIQUE */
.artistic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.artistic-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-secondary, #f8fafc);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light, #e2e8f0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1));
}

.artistic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));
    background: var(--bg-primary, #ffffff);
    border-color: var(--border-medium, #cbd5e1);
}

.artistic-card i {
    font-size: 2.5rem;
    color: var(--accent-primary, #3b82f6);
    margin-bottom: 20px;
    display: block;
}

.artistic-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-primary, #1e293b);
    font-weight: 600;
}

.artistic-card p {
    color: var(--text-secondary, #475569);
    line-height: 1.6;
    margin: 0;
}

/* Styles pour le mode sombre */
[data-theme="dark"] .artistic-card {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-light, #334155);
}

[data-theme="dark"] .artistic-card:hover {
    background: var(--bg-tertiary, #334155);
    border-color: var(--border-medium, #475569);
}

[data-theme="dark"] .artistic-card h3 {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .artistic-card p {
    color: var(--text-secondary, #cbd5e1);
}

/* SECTION ÉQUIPEMENT */
.equipment-content {
    margin-top: 30px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* Nouvelle structure pour équipement */
.cameras-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.specs-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cameras-row .equipment-card {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.specs-row .equipment-card {
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.equipment-card {
    background: var(--bg-secondary, #f8fafc);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light, #e2e8f0);
    position: relative;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1));
}

.equipment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));
    background: var(--bg-primary, #ffffff);
    border-color: var(--border-medium, #cbd5e1);
}

.equipment-card.primary-camera {
    border-left: 4px solid var(--accent-primary, #3b82f6);
}

.equipment-card.secondary-camera {
    border-left: 4px solid var(--text-secondary, #475569);
}

/* Styles pour le mode sombre */
[data-theme="dark"] .equipment-card {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-light, #334155);
}

[data-theme="dark"] .equipment-card:hover {
    background: var(--bg-tertiary, #334155);
    border-color: var(--border-medium, #475569);
}

[data-theme="dark"] .equipment-card.primary-camera {
    border-left-color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .equipment-card.secondary-camera {
    border-left-color: var(--text-secondary, #cbd5e1);
}

.equipment-icon {
    text-align: center;
    margin-bottom: 20px;
}

.equipment-icon i {
    font-size: 2rem;
    color: var(--accent-primary, #3b82f6);
}

.equipment-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary, #1e293b);
    font-weight: 600;
}

.equipment-details p {
    margin-bottom: 10px;
    color: var(--text-secondary, #475569);
    font-size: 0.95rem;
}

.equipment-details strong {
    color: var(--accent-primary, #3b82f6);
    font-weight: 600;
}

/* Styles pour le mode sombre */
[data-theme="dark"] .equipment-icon i {
    color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .equipment-card h3 {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .equipment-details p {
    color: var(--text-secondary, #cbd5e1);
}

[data-theme="dark"] .equipment-details strong {
    color: var(--accent-primary, #60a5fa);
}

.lens-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.lens-item:last-child {
    border-bottom: none;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--accent-primary, #3b82f6);
}

.spec-value {
    color: var(--text-primary, #1e293b);
    font-family: 'Open Sans', monospace;
    font-size: 0.9rem;
}

/* INFORMATIONS COMPLÉMENTAIRES */
.equipment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-card {
    background: linear-gradient(135deg, var(--bg-secondary, #f8fafc), var(--bg-primary, #ffffff));
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border-light, #e2e8f0);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1));
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1));
    border-color: var(--border-medium, #cbd5e1);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--accent-primary, #3b82f6);
    margin-bottom: 15px;
    display: block;
}

.info-card h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary, #1e293b);
    font-weight: 600;
}

.info-card p {
    color: var(--text-secondary, #475569);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Styles pour le mode sombre */
[data-theme="dark"] .info-card {
    background: linear-gradient(135deg, var(--bg-secondary, #1e293b), var(--bg-tertiary, #334155));
    border-color: var(--border-light, #334155);
}

[data-theme="dark"] .info-card:hover {
    border-color: var(--border-medium, #475569);
}

[data-theme="dark"] .info-card i {
    color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .info-card h4 {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .info-card p {
    color: var(--text-secondary, #cbd5e1);
}

/* === STYLES ÉLÉGANTS POUR CARTES ARTISTIQUES === */
.artistic-card {
    text-align: center !important;
    padding: 30px 20px !important;
    background: #ffffff !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 20px !important;
}

.artistic-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: #3b82f6 !important;
}

/* === STYLES ÉLÉGANTS POUR CARTES D'ÉQUIPEMENT === */
.equipment-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    padding: 25px !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e5e7eb !important;
    position: relative !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 20px !important;
}

.equipment-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: #6b7280 !important;
}

.equipment-card.primary-camera {
    border-left: 4px solid #3b82f6 !important;
}

.equipment-card.secondary-camera {
    border-left: 4px solid #10b981 !important;
}

/* === STYLES ÉLÉGANTS POUR CARTES D'INFORMATION === */
.info-card {
    background: linear-gradient(135deg, #f9fafb, #ffffff) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important;
    margin-bottom: 20px !important;
}

.info-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    border-color: #9ca3af !important;
}

/* Styles mode sombre pour les autres éléments */
[data-theme="dark"] .about-section h2 {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .about-section h2 i {
    color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .about-text p {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .spec-label {
    color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .spec-value {
    color: var(--text-primary, #f8fafc);
}

[data-theme="dark"] .about-section {
    background: var(--bg-primary, #0f172a);
    border-color: var(--border-light, #334155);
}

[data-theme="dark"] .photographer-placeholder {
    background: var(--bg-secondary, #1e293b);
    border-color: var(--border-light, #334155);
    color: var(--text-secondary, #cbd5e1);
}

[data-theme="dark"] .photographer-placeholder i {
    color: var(--accent-primary, #60a5fa);
}

[data-theme="dark"] .photographer-photo {
    border-color: var(--border-light, #334155);
}

/* === STYLES ÉLÉGANTS MODE SOMBRE POUR LES CARTES === */
[data-theme="dark"] .artistic-card {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #f9fafb !important;
}

[data-theme="dark"] .artistic-card:hover {
    border-color: #60a5fa !important;
}

[data-theme="dark"] .equipment-card {
    background: #1f2937 !important;
    border-color: #374151 !important;
    color: #f9fafb !important;
}

[data-theme="dark"] .equipment-card:hover {
    border-color: #6b7280 !important;
}

[data-theme="dark"] .equipment-card.primary-camera {
    border-left-color: #60a5fa !important;
}

[data-theme="dark"] .equipment-card.secondary-camera {
    border-left-color: #34d399 !important;
}

[data-theme="dark"] .info-card {
    background: linear-gradient(135deg, #1f2937, #374151) !important;
    border-color: #374151 !important;
    color: #f9fafb !important;
}

[data-theme="dark"] .info-card:hover {
    border-color: #6b7280 !important;
}

/* SECTION RÉALISATIONS */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.achievement-card {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--main-color));
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.achievement-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.achievement-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 600;
}

.achievement-card p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* RESPONSIVE POUR PAGE À PROPOS */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .photographer-placeholder {
        width: 200px;
        height: 240px;
    }
    
    .photographer-photo {
        width: 200px;
        height: 240px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .cameras-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .specs-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .cameras-row .equipment-card,
    .specs-row .equipment-card {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    .artistic-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .equipment-info {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 30px 15px;
        margin-bottom: 40px;
    }
    
    .about-section h2 {
        font-size: 1.6rem;
    }
    
    .about-section h2 i {
        font-size: 1.4rem;
        margin-right: 10px;
    }
}

/* SOCIAL CARDS */
.social-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Style commun aux cartes */
.facebook-card,
.instagram-card {
    background: var(--bg-primary);
    border-radius: var(--radius-2xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.facebook-card:hover,
.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

/* Style spécifique Facebook */
.facebook-card i {
    color: #1877f2;
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.facebook-card i.fab.fa-facebook {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
}

.fb-button {
    display: inline-block;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: #1877f2;
    letter-spacing: 0.5px;
}

.fb-button:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

/* Style spécifique Instagram */
.instagram-card i {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.insta-button {
    display: inline-block;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    letter-spacing: 0.5px;
}

.insta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Style commun aux cartes */
.facebook-card h3,
.instagram-card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
}

.facebook-card p,
.instagram-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* CARROUSEL ANIMÉ AVEC EFFET PORTAIL */
.photos-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    min-height: 280px;
    display: flex;
    align-items: center;
}

.photos-slider {
    display: flex;
    gap: 20px;
    animation: autoSlide 60s linear infinite;
    width: calc((280px + 20px) * 26); /* 13 images × 2 pour la duplication */
}

.photos-slider:hover {
    animation-play-state: paused;
}

/* Animation de défilement infini */
@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

/* Cartes du carrousel */
.photos-slider .photo-card {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    background: var(--bg-primary);
}

.photos-slider .photo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.photos-slider .photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    transition: var(--transition);
    opacity: 1 !important;
    visibility: visible !important;
}

.photos-slider .photo-card:hover img {
    transform: scale(1.05);
}

/* EFFET PORTAIL - Masques de dégradé élargis */
.photos-container::before,
.photos-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.photos-container::before {
    left: 0;
    background: linear-gradient(to right, 
        var(--bg-secondary) 0%, 
        var(--bg-secondary) 30%, 
        rgba(248, 250, 252, 0.8) 60%, 
        rgba(248, 250, 252, 0.3) 80%, 
        transparent 100%
    );
}

[data-theme="dark"] .photos-container::before {
    background: linear-gradient(to right, 
        var(--bg-secondary) 0%, 
        var(--bg-secondary) 30%, 
        rgba(30, 41, 59, 0.8) 60%, 
        rgba(30, 41, 59, 0.3) 80%, 
        transparent 100%
    );
}

.photos-container::after {
    right: 0;
    background: linear-gradient(to left, 
        var(--bg-secondary) 0%, 
        var(--bg-secondary) 30%, 
        rgba(248, 250, 252, 0.8) 60%, 
        rgba(248, 250, 252, 0.3) 80%, 
        transparent 100%
    );
}

[data-theme="dark"] .photos-container::after {
    background: linear-gradient(to left, 
        var(--bg-secondary) 0%, 
        var(--bg-secondary) 30%, 
        rgba(30, 41, 59, 0.8) 60%, 
        rgba(30, 41, 59, 0.3) 80%, 
        transparent 100%
    );
}

/* Responsive du carrousel */
@media (max-width: 1200px) {
    .photos-slider .photo-card {
        width: 250px;
        height: 180px;
    }
    .photos-slider {
        width: calc((250px + 20px) * 26);
    }
}

@media (max-width: 768px) {
    .photos-slider .photo-card {
        width: 200px;
        height: 150px;
    }
    .photos-slider {
        width: calc((200px + 20px) * 26);
        gap: 15px;
    }
    .photos-container::before,
    .photos-container::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .photos-slider .photo-card {
        width: 160px;
        height: 120px;
    }
    .photos-slider {
        width: calc((160px + 15px) * 26);
        gap: 15px;
    }
    .photos-container::before,
    .photos-container::after {
        width: 60px;
    }
}

/* RESPONSIVE DESIGN */

/* Tablettes */
@media (max-width: 768px) {
    /* Header */
    .logo img {
        height: 100px;
        width: 100px;
    }
    
    /* Navigation */
    nav a {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    /* Main */
    main {
        padding: 40px 15px;
    }
    
    main h1 {
        font-size: 2rem;
    }
    
    main p {
        font-size: 1rem;
        margin: 0 auto 40px auto;
        text-align: center;
    }
    
    /* Gallery */
    .photo-gallery h2,
    .project-gallery h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .photos {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    /* Contact */
    .contact-section {
        padding: 40px 15px;
    }
    
    .contact-section h2 {
        font-size: 1.8rem;
    }
    
    /* Social cards */
    .social-cards {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 15px;
    }
    
    /* Modal navigation */
    .nav-btn {
        padding: 15px 10px;
        font-size: 20px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
}

/* Mobiles */
@media (max-width: 480px) {
    /* Header */
    header {
        padding: 15px 0;
    }
    
    .logo img {
        height: 80px;
        width: 80px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        right: 15px;
        font-size: 1rem;
    }

    /* Navigation mobile améliorée */
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--overlay-bg);
        backdrop-filter: blur(20px);
        padding: 10px 0;
        border-top: 1px solid var(--border-color);
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .mobile-nav a {
        color: var(--text-color);
        text-decoration: none;
        padding: 10px;
        border-radius: 50%;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
    }

    .mobile-nav a:hover,
    .mobile-nav a.active {
        background: var(--accent-color);
        transform: translateY(-3px);
    }

    /* Contact section mobile */
    .contact-section {
        padding: 40px 15px;
        margin-top: 40px;
    }

    .contact-form {
        max-width: 100%;
        padding: 0 10px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 12px 15px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }

    /* Améliorations tactiles */
    .photo-item,
    .filter-btn,
    .carousel-btn,
    .contact-form button {
        min-height: 44px; /* Taille minimum recommandée pour les éléments tactiles */
        min-width: 44px;
    }

    /* Optimisation des images pour mobile */
    .photos-slider img {
        max-height: 70vh;
        object-fit: contain;
    }
    
    /* Amélioration du feedback tactile */
    .photo-item {
        position: relative;
        transition: transform 0.2s ease;
    }
    
    .photo-item:active {
        transform: scale(0.95);
    }
    
    .photo-item img {
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    /* Indicateur tactile */
    .photo-item::after {
        content: '🔍';
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 8px;
        border-radius: 50%;
        font-size: 14px;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .photo-item:hover::after {
        opacity: 1;
    }

    /* Amélioration des modales sur mobile */
    .modal {
        padding: 0;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        width: auto;
        height: auto;
        border-radius: 0;
        object-fit: contain;
        position: relative;
        transform: none;
        top: auto;
        left: auto;
    }
    
    /* Boutons de navigation mobile */
    .nav-btn {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5);
        color: white;
        border: none;
        padding: 15px 10px;
        cursor: pointer;
        font-size: 20px;
        z-index: 1002;
        border-radius: 5px;
        min-height: 44px;
        min-width: 44px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    /* Bouton fermer mobile */
    .close {
        position: fixed;
        top: 10px;
        right: 15px;
        font-size: 30px;
        z-index: 1002;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        min-width: 44px;
    }

    /* Gestures et swipe */
    .swipe-area {
        touch-action: pan-y;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    /* Performance optimizations */
    .photo-item {
        will-change: transform;
        transform: translate3d(0, 0, 0);
    }

    /* Ajustements pour les très petits écrans */
    
    /* Navigation */
    nav {
        position: relative;
    }
    
    nav a {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    /* Main */
    main {
        padding: 30px 10px;
    }
    
    main h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    main p {
        font-size: 0.95rem;
        margin: 0 auto 30px auto;
        text-align: center;
    }
    
    /* Gallery */
    .photo-gallery h2,
    .project-gallery h2 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .photos {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    /* Slider */
    .photos-container {
        padding: 15px 0;
    }
    
    .photos-slider .photo-card {
        min-width: 150px;
        height: 180px;
    }
    
    .photos-container::before,
    .photos-container::after {
        width: 50px;
    }
    
    /* Contact */
    .contact-section {
        padding: 30px 10px;
    }
    
    .contact-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-form {
        gap: 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Social cards */
    .social-cards {
        padding: 30px 10px;
        gap: 25px;
    }
    
    .facebook-card,
    .instagram-card {
        padding: 30px 20px;
    }
    
    .facebook-card i,
    .instagram-card i {
        font-size: 3rem;
        margin-bottom: 15px;
    }
    
    .fb-button,
    .insta-button {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    /* Modal */
    .modal-content {
        max-width: 90%;
        max-height: 80vh;
    }
    
    .close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
    
    .nav-btn {
        padding: 12px 8px;
        font-size: 18px;
    }
    
    .prev {
        left: 5px;
    }
    
    .next {
        right: 5px;
    }
    
    /* Séparateur */
    .separator {
        width: 80%;
        margin: 30px auto;
    }
}

/* Très petits écrans */
@media (max-width: 320px) {
    main h1 {
        font-size: 1.5rem;
    }
    
    .photos {
        grid-template-columns: 1fr;
    }
    
    .social-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
    }
}

/* ====== EASTER EGG ANNÉES 90 ====== */
.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, 
        #ff00ff, #00ffff, #ffff00, #ff00ff, 
        #00ff00, #ff0000, #0000ff, #ffff00);
    background-size: 400% 400%;
    animation: psychedelicBg 0.5s infinite;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.easter-egg-overlay.active {
    display: flex;
}

.easter-egg-content {
    position: relative;
    text-align: center;
    animation: crazyBounce 0.5s infinite alternate;
}

.easter-egg-image {
    max-width: 80vw;
    max-height: 80vh;
    border: 10px solid #fff;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.8);
    animation: imageFloat 2s infinite ease-in-out, imageEffects 3s infinite linear;
    filter: brightness(1.2) saturate(1.5) hue-rotate(0deg);
}

.easter-egg-text {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 
        3px 3px 0px #ff00ff,
        6px 6px 0px #00ffff,
        9px 9px 0px #ffff00;
    animation: textDance 0.6s infinite;
    white-space: nowrap;
}

/* Animations années 90 complètes */
@keyframes psychedelicBg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes crazyBounce {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(3deg); }
    50% { transform: scale(0.95) rotate(-2deg); }
    75% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes imageFloat {
    0% { transform: translateY(0px) scale(1) rotate(0deg); }
    25% { transform: translateY(-15px) scale(1.02) rotate(1deg); }
    50% { transform: translateY(-25px) scale(1.05) rotate(0deg); }
    75% { transform: translateY(-15px) scale(1.02) rotate(-1deg); }
    100% { transform: translateY(0px) scale(1) rotate(0deg); }
}

@keyframes textDance {
    0% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
    20% { transform: translateX(-50%) translateY(-8px) rotate(2deg); }
    40% { transform: translateX(-50%) translateY(5px) rotate(-1deg); }
    60% { transform: translateX(-50%) translateY(-5px) rotate(1deg); }
    80% { transform: translateX(-50%) translateY(3px) rotate(-2deg); }
    100% { transform: translateX(-50%) translateY(0px) rotate(0deg); }
}

@keyframes imageEffects {
    0% { filter: brightness(1.2) saturate(1.5) hue-rotate(0deg); }
    20% { filter: brightness(1.4) saturate(2) hue-rotate(72deg); }
    40% { filter: brightness(1.1) saturate(1.8) hue-rotate(144deg); }
    60% { filter: brightness(1.3) saturate(1.3) hue-rotate(216deg); }
    80% { filter: brightness(1.5) saturate(2.2) hue-rotate(288deg); }
    100% { filter: brightness(1.2) saturate(1.5) hue-rotate(360deg); }
}

/* Particules Easter Egg */
.easter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.easter-particles .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: particleFloat 4s infinite linear;
    box-shadow: 0 0 10px currentColor;
}

.easter-particles .particle:nth-child(1) {
    left: 10%;
    background: #ff00ff;
    animation-delay: 0s;
    animation-duration: 3s;
}

.easter-particles .particle:nth-child(2) {
    left: 20%;
    background: #00ffff;
    animation-delay: 0.5s;
    animation-duration: 4s;
}

.easter-particles .particle:nth-child(3) {
    left: 30%;
    background: #ffff00;
    animation-delay: 1s;
    animation-duration: 3.5s;
}

.easter-particles .particle:nth-child(4) {
    left: 40%;
    background: #ff0000;
    animation-delay: 1.5s;
    animation-duration: 4.5s;
}

.easter-particles .particle:nth-child(5) {
    left: 50%;
    background: #00ff00;
    animation-delay: 2s;
    animation-duration: 3.2s;
}

.easter-particles .particle:nth-child(6) {
    left: 60%;
    background: #0000ff;
    animation-delay: 2.5s;
    animation-duration: 4.2s;
}

.easter-particles .particle:nth-child(7) {
    left: 70%;
    background: #ff8000;
    animation-delay: 3s;
    animation-duration: 3.8s;
}

.easter-particles .particle:nth-child(8) {
    left: 80%;
    background: #8000ff;
    animation-delay: 0.2s;
    animation-duration: 4.8s;
}

.easter-particles .particle:nth-child(9) {
    left: 90%;
    background: #ff0080;
    animation-delay: 0.8s;
    animation-duration: 3.3s;
}

.easter-particles .particle:nth-child(10) {
    left: 15%;
    background: #80ff00;
    animation-delay: 1.2s;
    animation-duration: 4.3s;
}

.easter-particles .particle:nth-child(11) {
    left: 25%;
    background: #0080ff;
    animation-delay: 1.8s;
    animation-duration: 3.7s;
}

.easter-particles .particle:nth-child(12) {
    left: 35%;
    background: #ff4080;
    animation-delay: 2.2s;
    animation-duration: 4.1s;
}

.easter-particles .particle:nth-child(13) {
    left: 45%;
    background: #40ff80;
    animation-delay: 2.8s;
    animation-duration: 3.9s;
}

.easter-particles .particle:nth-child(14) {
    left: 55%;
    background: #8040ff;
    animation-delay: 0.3s;
    animation-duration: 4.4s;
}

.easter-particles .particle:nth-child(15) {
    left: 65%;
    background: #ff8040;
    animation-delay: 1.1s;
    animation-duration: 3.6s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) rotate(36deg) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) rotate(324deg) scale(1);
    }
    100% {
        transform: translateY(-10vh) rotate(360deg) scale(0);
        opacity: 0;
    }
}
