/* Variables CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
    --border-radius: 15px;
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Supprimer les effets de focus par défaut */
*:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible;
}

/* Liens de navigation */
.nav-logo a {
    text-decoration: none;
    color: inherit;
}

.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    width: 100%;
    background: var(--secondary-color);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Section Profil Moderne */
.modern-profile-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-color);
    overflow: hidden;
    padding: 100px 0;
}







.modern-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    background: url('../public/image/Kriis_O.G.avif') center/contain no-repeat;
    background-size: auto 100vh;
    opacity: 0.3;
    filter: brightness(0.9) contrast(1.1);
    background-attachment: fixed;
}

/* Profil moderne */
.modern-profile-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}



.profile-content {
    padding: 2rem 0;
}

.profile-header {
    margin-bottom: 3rem;
}

.modern-name {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.modern-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.title-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.profile-description {
    margin-bottom: 3rem;
}

.description-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card-header h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
}

.description-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.description-card p:last-child {
    margin-bottom: 0;
}


.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.modern-stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Première carte - Créatif (Créations) */
.modern-stat-card:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
}

/* Deuxième carte - Innovant (Années d'expérience) */
.modern-stat-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
}

/* Troisième carte - Expérimenté (Créativité) */
.modern-stat-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
}

.modern-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modern-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

/* Première carte - Créatif (Créations) */
.modern-stat-card:nth-child(1) .stat-icon {
    background: var(--primary-color);
}

/* Deuxième carte - Innovant (Années d'expérience) */
.modern-stat-card:nth-child(2) .stat-icon {
    background: var(--secondary-color);
}

/* Troisième carte - Expérimenté (Créativité) */
.modern-stat-card:nth-child(3) .stat-icon {
    background: var(--accent-color);
}

.modern-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.modern-stat-card .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modern-stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

    .hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    justify-content: center;
    position: relative;
    z-index: 20;
}

/* Styles pour la section À propos - Timeline */
.about-container {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
    margin-top: 2rem;
    overflow: visible;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.about-header i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-header h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), var(--accent-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
    flex-direction: row;
    margin-left: -40%;
    margin-right: 40%;
}

.timeline-item:nth-child(even) .timeline-content {
    flex-direction: row-reverse;
    margin-left: 40%;
    margin-right: -40%;
}

.timeline-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 15px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: white;
}

.timeline-text {
    flex: 1;
}

.timeline-text h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.timeline-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline-image {
    flex-shrink: 0;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
    transform: rotate(3deg);
    transition: var(--transition);
    cursor: pointer;
}

.timeline-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 15px;
    cursor: pointer;
}

.timeline-image:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.timeline-image:hover::before {
    opacity: 0.6;
}

.timeline-images {
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    width: 300px;
    height: 300px;
}

.timeline-images img {
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.timeline-images img:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    transform: rotate(-5deg);
}

.timeline-images img:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    transform: rotate(8deg);
}

.timeline-images img:nth-child(3) {
    grid-column: 1 / 3;
    grid-row: 2;
    transform: rotate(-12deg);
}

/* Styles spécifiques pour la section "Années 2000" */
.timeline-item:nth-child(4) .timeline-images {
    width: 350px;
    height: 400px;
    position: relative;
}

.timeline-item:nth-child(4) .timeline-images img:nth-child(1) {
    position: absolute;
    top: 0;
    right: 25;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(3deg);
    z-index: 1;
}

.timeline-item:nth-child(4) .timeline-images img:nth-child(2) {
    position: absolute;
    top: 25%;
    left: 0;
    transform: rotate(-3deg);
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    z-index: 1;
}

.timeline-item:nth-child(4) .timeline-images img:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(-5deg);
    z-index: 2;
}

/* Styles spécifiques pour la section "Aujourd'hui - Évolution" (5ème élément) */
.timeline-item:nth-child(5) .timeline-images {
    width: 400px;
    height: 400px;
    position: relative;
}

.timeline-item:nth-child(5) .timeline-images img:nth-child(1) {
    position: absolute;
    top: 0;
    right: 25%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(3deg);
    z-index: 1;
}

.timeline-item:nth-child(5) .timeline-images img:nth-child(2) {
    position: absolute;
    bottom: 0;
    right: 5%;
    transform: rotate(-3deg);
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    z-index: 1;
}

.timeline-item:nth-child(5) .timeline-images img:nth-child(3) {
    position: absolute;
    top: 0;
    right: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(-5deg);
    z-index: 2;
}

/* Effets hover pour les sections "Années 2000" et "Aujourd'hui - Évolution" */
.timeline-item:nth-child(4) .timeline-images img:hover,
.timeline-item:nth-child(5) .timeline-images img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: var(--shadow-hover);
    z-index: 3;
}


/* Styles spécifiques pour la section "Mon Style" (6ème élément) */
.timeline-item:nth-child(6) .timeline-images {
    width: 350px;
    height: 400px;
    position: relative;
}

.timeline-item:nth-child(6) .timeline-images img:nth-child(1) {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(-3deg);
}

.timeline-item:nth-child(6) .timeline-images img:nth-child(2) {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 3px solid white;
    transform: rotate(3deg);
}

.timeline-item:nth-child(6) .timeline-images img:hover {
    transform: scale(1.05) rotate(0deg) !important;
    box-shadow: var(--shadow-hover);
    z-index: 3;
}


/* Étape philosophie spéciale - centrée avec image */
.timeline-philosophy {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.timeline-philosophy .timeline-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    flex-direction: row;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.timeline-philosophy .timeline-content::before {
    display: none !important;
}

.timeline-philosophy .timeline-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.timeline-philosophy .philosophy-image {
    flex: 0 0 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.timeline-philosophy .philosophy-image:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.timeline-philosophy .philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.timeline-philosophy .philosophy-image:hover img {
    transform: scale(1.1);
}

.timeline-philosophy .timeline-text h4 {
    color: white;
    border-bottom-color: white;
}

.timeline-philosophy .timeline-text p {
    color: rgba(255, 255, 255, 0.9);
}

.philosophy-quote {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Masquer la version mobile sur desktop */
.philosophy-quote.mobile-quote {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
        margin-left: 40px;
    }
    
    .timeline-content::before {
        left: -30px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .timeline-image {
        width: 100%;
        height: 200px;
    }
    
    .timeline-images {
        max-width: 250px;
        justify-content: center;
    }
    
    /* Philosophie responsive */
    .timeline-philosophy {
        margin: 2rem 0;
        padding-left: 40px;
    }
    
    .timeline-philosophy .timeline-content {
        flex-direction: column;
        max-width: 100%;
        margin: 0 1rem;
        gap: 2rem;
        padding: 2rem;
    }
    
    /* Déplacer ART IS LIFE en dessous de l'image sur mobile */
    .timeline-philosophy .philosophy-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow: visible;
        height: auto;
    }
    
    .timeline-philosophy .philosophy-image img {
        border-radius: 15px 15px 0 0;
    }
    
    /* Masquer la version desktop et afficher la version mobile */
    .philosophy-quote.desktop-quote {
        display: none;
    }
    
    .philosophy-quote.mobile-quote {
        display: block;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border-radius: 0 0 15px 15px;
        border-top: none;
        width: 100%;
        box-sizing: border-box;
        font-weight: 700;
        margin-top: 0;
        font-size: 1.4rem;
        padding: 1rem;
    }
    
    .timeline-philosophy .timeline-text {
        text-align: center;
        max-width: 100%;
    }
    
    .timeline-philosophy .philosophy-image {
        flex: 0 0 180px;
        height: 180px;
        align-self: center;
    }
    
    .timeline-philosophy .timeline-text h4 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .timeline-philosophy .timeline-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .philosophy-quote {
        font-size: 1.4rem;
        padding: 1rem;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        font-weight: 700;
    }
    
    /* Responsive pour la section "Années 2000" */
    .timeline-item:nth-child(4) .timeline-images {
        width: 280px;
        height: 320px;
        margin: 0 auto;
    }
    
    .timeline-item:nth-child(4) .timeline-images img:nth-child(1),
    .timeline-item:nth-child(4) .timeline-images img:nth-child(2),
    .timeline-item:nth-child(4) .timeline-images img:nth-child(3) {
        width: 180px;
        height: 180px;
    }
    
    /* Responsive pour la section "Aujourd'hui - Évolution" */
    .timeline-item:nth-child(5) .timeline-images {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .timeline-item:nth-child(5) .timeline-images img:nth-child(1),
    .timeline-item:nth-child(5) .timeline-images img:nth-child(2),
    .timeline-item:nth-child(5) .timeline-images img:nth-child(3) {
        width: 180px;
        height: 180px;
    }
    
    /* Responsive pour la section "Mon Style" */
    .timeline-item:nth-child(6) .timeline-images {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }
    
    .timeline-item:nth-child(6) .timeline-images img:nth-child(1),
    .timeline-item:nth-child(6) .timeline-images img:nth-child(2) {
        width: 140px;
        height: 140px;
    }
    
    .about-container {
        padding: 2rem 1rem;
    }
    
    .about-header h3 {
        font-size: 2rem;
    }
    
    /* Réduire la taille de la citation "ART IS LIFE" */
    .philosophy-quote {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    /* S'assurer que le bouton galerie reste visible sur mobile */
    .hero-actions {
        margin-bottom: 3rem;
        z-index: 25;
    }
    
    .services-section {
        z-index: 5;
    }
    
    /* Éviter que le titre soit caché sous la navbar sur mobile */
    .modern-profile-section {
        padding-top: 100px;
    }
}

    .btn-modern {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 1rem 2rem;
        text-decoration: none;
        font-weight: 500;
        border-radius: 50px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .btn-modern.primary {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
    }

    .btn-modern.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
    }

    .btn-modern.secondary {
        background: transparent;
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

    .btn-modern.secondary:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }



    /* Section Services */
.services-section {
    padding: 30px 0;
    background: white !important;
    margin-top: -0.5rem;
    position: relative;
    z-index: 5;
}

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        margin-top: 3rem;
    }

    .service-card {
        background: white;
        padding: 2.5rem;
        border-radius: var(--border-radius);
        text-align: center;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border-top: 4px solid var(--primary-color);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

    .service-card:nth-child(2) {
        border-top-color: var(--secondary-color);
    }

    .service-card:nth-child(3) {
        border-top-color: var(--accent-color);
    }

    .service-card:nth-child(4) {
        border-top-color: #9b59b6;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        background: var(--primary-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        margin: 0 auto 1.5rem;
        transition: var(--transition);
    }

    .service-card:nth-child(2) .service-icon {
        background: var(--secondary-color);
    }

    .service-card:nth-child(3) .service-icon {
        background: var(--accent-color);
    }

    .service-card:nth-child(4) .service-icon {
        background: #9b59b6;
    }

    .service-card:hover .service-icon {
        transform: scale(1.1) rotate(10deg);
    }

    .service-card h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.3rem;
    }

    .service-card p {
        color: var(--text-light);
        line-height: 1.6;
    }


    /* Contact intro */
    .contact-intro {
        margin-bottom: 2rem;
        padding: 2rem;
        background: var(--bg-secondary);
        border-radius: var(--border-radius);
    }

    .contact-intro h3 {
        color: var(--primary-color);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .contact-intro p {
        color: var(--text-light);
        line-height: 1.6;
    }



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


/* Galerie moderne */
.modern-gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #f1f5f9;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.1rem;
}

.view-btn:hover,
.view-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

/* Conteneurs de galerie */
.gallery-container {
    display: none;
    margin-top: 3rem;
}

.gallery-container.active {
    display: block;
}

/* Vue grille moderne */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

/* Classe pour limiter la largeur quand il y a peu d'éléments */
.gallery-grid.few-items {
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 380px;
}

.gallery-item:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
}

.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-info {
    padding: 1.5rem 1.5rem 0 1.5rem;
    text-align: center;
}

.gallery-item-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 700;
    line-height: 1.2;
}

.gallery-item-prices {
    margin-bottom: 0.5rem;
}

.gallery-item-price,
.gallery-item-price-without-frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.gallery-item-price .price-label,
.gallery-item-price-without-frame .price-label {
    color: #666;
    font-weight: 500;
    font-size: 0.8rem;
}

.gallery-item-price .price-value,
.gallery-item-price-without-frame .price-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.gallery-item-price-without-frame .price-value {
    color: #27ae60;
}

.gallery-item-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Statut de disponibilité */
.gallery-item-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0 auto;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.gallery-item-status.available {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.gallery-item-status.sold {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.gallery-item-status i {
    font-size: 1rem;
}

/* Statut dans la modal */
.modal-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.modal-status.available {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.modal-status.sold {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.modal-status i {
    font-size: 1rem;
}



.gallery-item-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-item-actions {
    opacity: 1;
}

.item-action-btn {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
}

.item-action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}





/* Vue mosaïque */
.masonry-grid {
    columns: 4;
    column-gap: 2rem;
    column-fill: balance;
}

/* Responsive pour la vue mosaïque */
@media (max-width: 1200px) {
    .masonry-grid {
        columns: 3;
        column-gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 2;
        column-gap: 1rem;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        columns: 2;
        column-gap: 0.8rem;
    }
}

.masonry-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
    break-inside: avoid;
    page-break-inside: avoid;
}

/* Responsive pour les éléments de mosaïque */
@media (max-width: 768px) {
    .masonry-item {
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .masonry-item {
        margin-bottom: 1rem;
        border-radius: 10px;
    }
}

.masonry-item:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Responsive pour les images de mosaïque */
@media (max-width: 768px) {
    .masonry-item img {
        min-height: 180px;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .masonry-item img {
        min-height: 150px;
        object-fit: cover;
    }
}

/* Varier les hauteurs pour créer l'effet mosaïque */
.masonry-item:nth-child(3n+1) img {
    min-height: 200px;
}

.masonry-item:nth-child(3n+2) img {
    min-height: 250px;
}

.masonry-item:nth-child(3n+3) img {
    min-height: 180px;
}

/* Responsive pour les hauteurs variées */
@media (max-width: 768px) {
    .masonry-item:nth-child(3n+1) img {
        min-height: 160px;
    }
    
    .masonry-item:nth-child(3n+2) img {
        min-height: 200px;
    }
    
    .masonry-item:nth-child(3n+3) img {
        min-height: 140px;
    }
}

@media (max-width: 480px) {
    .masonry-item:nth-child(3n+1) img {
        min-height: 130px;
    }
    
    .masonry-item:nth-child(3n+2) img {
        min-height: 170px;
    }
    
    .masonry-item:nth-child(3n+3) img {
        min-height: 120px;
    }
}




.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #ddd;
    background: white;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn i {
    margin-right: 0.5rem;
}

.favorite-count {
    margin-left: 0.3rem;
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 400;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Animation d'apparition pour les éléments de galerie */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* État final après l'animation pour éviter les conflits */
.gallery-item.animated {
    opacity: 1;
    transform: translateY(0);
}




/* Section Contact */
.contact-section {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.contact-item.clickable {
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.contact-item.clickable:hover {
    border-color: var(--primary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
}

/* Espacement entre le titre et les cartes de coordonnées */
.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link i {
    font-size: 1.3rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e8ed;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: transparent;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group label {
    position: absolute;
    top: -0.5rem;
    left: 0.5rem;
    font-size: 0.8rem;
    color: var(--secondary-color);
    background: white;
    padding: 0 0.5rem;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.contact-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bg-element {
    position: absolute;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.bg-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 80%;
    animation-delay: 0s;
}

.bg-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.bg-element:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}


/* Footer */
.footer {
    background: var(--primary-color) !important;
    color: white;
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.footer-content p {
    margin: 0;
    flex: 1;
    text-align: center;
}

.footer-social {
    position: absolute;
    right: 0;
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.footer-social .social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-social .social-link i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Timeline pour tablettes */
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: -20%;
        margin-right: 20%;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 20%;
        margin-right: -20%;
    }
}

@media (max-width: 768px) {
    /* Section profil responsive */
    .modern-profile-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .modern-profile-content {
        gap: 1.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .modern-name {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .modern-title {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .about-container {
        padding: 2rem 1rem;
        margin-top: 1rem;
    }
    
    .about-header h3 {
        font-size: 2rem;
    }
    
    /* Timeline responsive */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
        margin-left: 40px;
        margin-right: 0;
    }
    
    /* Réorganiser l'ordre : texte en premier, images en second */
    .timeline-item:nth-child(odd) .timeline-content {
        flex-direction: column;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        flex-direction: column;
    }
    
    /* Forcer l'ordre : texte en premier, images en second */
    .timeline-text {
        order: 1;
    }
    
    .timeline-image,
    .timeline-images {
        order: 2;
    }
    
    .timeline-content {
        padding: 1.5rem;
        gap: 1rem;
        overflow: visible;
    }
    
    .timeline-content::before {
        left: -30px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .timeline-text h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .timeline-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .timeline-image {
        width: 100%;
        height: 150px;
        margin: 0 auto;
        max-width: 250px;
    }
    
    .timeline-images {
        width: 100%;
        height: auto;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        max-width: 300px;
    }
    
    /* Disposition en triangle pour les groupes d'images */
    .timeline-images img:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .timeline-images img:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .timeline-images img:nth-child(3) {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-self: center;
        max-width: 60%;
    }
    
    .timeline-item:nth-child(4) .timeline-images,
    .timeline-item:nth-child(5) .timeline-images,
    .timeline-item:nth-child(6) .timeline-images {
        width: 100% !important;
        height: auto !important;
        position: static !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    
    .timeline-item:nth-child(4) .timeline-images img,
    .timeline-item:nth-child(5) .timeline-images img,
    .timeline-item:nth-child(6) .timeline-images img {
        position: static !important;
        width: 100% !important;
        height: 120px !important;
        transform: none !important;
        margin-bottom: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: auto !important;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Cartes stats responsive */
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .modern-stat-card {
        aspect-ratio: 1;
        padding: 1.2rem 0.8rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        min-height: 120px;
    }

    .modern-stat-card .stat-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.6rem;
        font-size: 1.2rem;
    }

    .modern-stat-card .stat-number {
        font-size: 1.6rem;
        margin-bottom: 0.2rem;
        line-height: 1;
    }

    .modern-stat-card .stat-label {
        font-size: 0.75rem;
        line-height: 1.1;
        text-align: center;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    /* Services responsive */
    .services-section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }

    .gallery-filters {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .filter-btn span {
        display: none;
    }

    .filter-btn i {
        font-size: 1rem;
        margin-right: 0;
    }

    /* Filtres avancés responsive */
    .advanced-filters-panel {
        margin: 0.5rem 0;
        max-width: 100%;
    }

    .filters-header {
        padding: 0.8rem 1rem;
    }

    .filters-header h3 {
        font-size: 1rem;
    }

    .close-filters-btn {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }

    .filters-content {
        padding: 0.8rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
        margin-bottom: 0.8rem;
    }

    .filter-group {
        margin-bottom: 0.8rem;
    }

    .filter-group label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .filter-select {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
    }

    .category-checkboxes {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .checkbox-label {
        padding: 0.4rem;
        font-size: 0.8rem;
        gap: 0.6rem;
    }

    .checkmark {
        width: 16px;
        height: 16px;
    }

    .filter-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }

    .filter-actions .btn-modern {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
    }
}

/* Styles pour très petits écrans (480px et moins) */
@media (max-width: 480px) {
    /* Filtres avancés ultra-compacts */
    .advanced-filters-panel {
        margin: 0.3rem 0;
        border-radius: 10px;
    }

    .filters-header {
        padding: 0.6rem 0.8rem;
    }

    .filters-header h3 {
        font-size: 0.9rem;
    }

    .close-filters-btn {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .filters-content {
        padding: 0.6rem;
    }

    .filters-grid {
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .filter-group {
        margin-bottom: 0.6rem;
    }

    .filter-group label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }

    .filter-select {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }

    .category-checkboxes {
        gap: 0.3rem;
    }

    .checkbox-label {
        padding: 0.3rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }

    .checkmark {
        width: 14px;
        height: 14px;
    }

    .filter-actions {
        gap: 0.4rem;
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }

    .filter-actions .btn-modern {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* Bouton de retour en haut responsive */
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Bouton favori visible sur mobile */
    .gallery-item .gallery-item-actions {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .gallery-item .item-action-btn {
        opacity: 1 !important;
        transform: scale(1) !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    }
    
    .gallery-item .item-action-btn i {
        font-size: 1.1rem !important;
    }
    
    /* États actifs et focus sur mobile */
    .gallery-item .item-action-btn:active,
    .gallery-item .item-action-btn:focus,
    .gallery-item .item-action-btn:active i,
    .gallery-item .item-action-btn:focus i {
        opacity: 1 !important;
        visibility: visible !important;
        color: var(--primary-color) !important;
        background: rgba(255, 255, 255, 0.95) !important;
        transform: scale(1) !important;
    }
    
    /* État favori sur mobile */
    .gallery-item .item-action-btn.favorite i {
        color: var(--secondary-color) !important;
    }
    
    .gallery-item .item-action-btn.favorite:active i,
    .gallery-item .item-action-btn.favorite:focus i {
        color: var(--secondary-color) !important;
    }

    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        position: static;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .footer-content p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-social {
        position: static;
        justify-content: center;
        margin-top: 0.5rem;
        gap: 1.5rem;
    }
    
    /* Philosophie responsive pour petits écrans */
    .timeline-philosophy .timeline-content {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .timeline-philosophy .philosophy-image {
        flex: 0 0 150px;
        height: 150px;
    }
    
    .timeline-philosophy .timeline-text h4 {
        font-size: 1.4rem;
    }
    
    .timeline-philosophy .timeline-text p {
        font-size: 0.9rem;
    }
    
    /* Masquer la version desktop et afficher la version mobile */
    .philosophy-quote.desktop-quote {
        display: none;
    }
    
    .philosophy-quote.mobile-quote {
        display: block;
        font-size: 1.2rem;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        font-weight: 700;
    }
    
    .footer-social .social-link {
        width: 45px;
        height: 45px;
    }
    
    .footer-social .social-link i {
        font-size: 1.3rem;
    }
    
    

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }



    /* Responsive services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    /* Galerie responsive - maintenir le même résultat visuel */
    .gallery-item-info {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .gallery-item-status {
        margin: 2rem auto 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Section profil pour très petits écrans */
    .modern-profile-section {
        padding: 1.5rem 0;
    }
    
    .modern-profile-content {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .modern-name {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .modern-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .about-container {
        padding: 1.5rem 0.5rem;
    }
    
    .about-header h3 {
        font-size: 1.8rem;
    }
    
    /* Citation encore plus petite sur très petits écrans */
    .philosophy-quote {
        font-size: 1.2rem;
        margin-top: 1rem;
        padding: 0.8rem;
    }
    
    /* Bouton galerie visible sur très petits écrans */
    .hero-actions {
        margin-bottom: 2rem;
        z-index: 30;
    }
    
    .services-section {
        z-index: 5;
    }
    
    /* Éviter que le titre soit caché sous la navbar sur très petits écrans */
    .modern-profile-section {
        padding-top: 90px;
    }
    
    /* Timeline pour très petits écrans */
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 30px;
    }
    
    .timeline-content {
        padding: 1rem;
        overflow: visible;
    }
    
    /* Maintenir l'ordre sur très petits écrans */
    .timeline-text {
        order: 1;
    }
    
    .timeline-image,
    .timeline-images {
        order: 2;
    }
    
    .timeline-text h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .timeline-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .timeline-image {
        height: 120px;
        max-width: 200px;
    }
    
    .timeline-item:nth-child(4) .timeline-images img,
    .timeline-item:nth-child(5) .timeline-images img,
    .timeline-item:nth-child(6) .timeline-images img {
        height: 100px !important;
        position: static !important;
        width: 100% !important;
        transform: none !important;
        margin-bottom: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        z-index: auto !important;
        object-fit: cover;
        border-radius: 6px;
    }
    
    /* Services pour très petits écrans */
    .services-section {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon i {
        font-size: 1.6rem;
    }

    /* Modal pour très petits écrans */
    .modal-content {
        margin: 5px;
        max-height: calc(100vh - 10px);
        width: calc(100vw - 10px);
        max-width: calc(100vw - 10px);
        border-radius: 15px;
    }
    
    .modal-body {
        padding: 0.3rem;
        max-height: calc(100vh - 80px);
    }
    
    .modal-image {
        max-height: 35vh;
        min-height: 180px;
    }
    
    .modal-info {
        padding: 0.8rem 0.3rem;
    }
    
    .modal-info h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .modal-actions {
        gap: 0.4rem;
        margin-top: 0.8rem;
        padding: 0 0.3rem;
    }
    
    .modal-actions .action-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        min-width: 80px;
        max-width: 120px;
    }

    /* Cartes stats pour très petits écrans */
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .modern-stat-card {
        padding: 1rem 0.5rem;
        min-height: 100px;
    }

    .modern-stat-card .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .modern-stat-card .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
    }

    .modern-stat-card .stat-label {
        font-size: 0.7rem;
        line-height: 1;
    }

    .gallery-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Galerie responsive pour très petits écrans - maintenir le même résultat visuel */
    .gallery-item-info {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .gallery-item-status {
        margin: 2rem auto 0 auto;
    }
    
    /* Footer pour très petits écrans */
    .footer {
        padding: 1rem 0;
    }
    
    .footer-content {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }
    
    .footer-content p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
    
    .footer-social {
        margin-top: 0.3rem;
        gap: 1.2rem;
    }
    
    .footer-social .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-social .social-link i {
        font-size: 1.1rem;
    }
}

/* Styles pour très petits écrans (320px et moins) */
@media (max-width: 320px) {
    .modal-content {
        margin: 2px;
        max-height: calc(100vh - 4px);
        width: calc(100vw - 4px);
        max-width: calc(100vw - 4px);
        border-radius: 10px;
    }
    
    .modal-body {
        padding: 0.2rem;
        max-height: calc(100vh - 60px);
    }
    
    .modal-image {
        max-height: 30vh;
        min-height: 150px;
    }
    
    .modal-info {
        padding: 0.5rem 0.2rem;
    }
    
    .modal-info h2 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .modal-actions {
        gap: 0.3rem;
        margin-top: 0.6rem;
        padding: 0 0.2rem;
    }
    
    .modal-actions .action-btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        min-width: 70px;
        max-width: 100px;
    }
    
    /* Cartes stats pour très petits écrans */
    .profile-stats {
        gap: 0.6rem;
        padding: 0 0.3rem;
    }

    .modern-stat-card {
        padding: 0.8rem 0.3rem;
        min-height: 90px;
    }

    .modern-stat-card .stat-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }

    .modern-stat-card .stat-number {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }

    .modern-stat-card .stat-label {
        font-size: 0.65rem;
        line-height: 1;
    }
    
    /* Vue mosaïque pour très petits écrans */
    .masonry-grid {
        columns: 2;
        column-gap: 0.5rem;
    }
    
    .masonry-item {
        margin-bottom: 0.8rem;
        border-radius: 8px;
    }
    
    /* Footer pour très petits écrans */
    .footer {
        padding: 0.8rem 0;
    }
    
    .footer-content {
        padding: 0 0.3rem;
        gap: 0.6rem;
    }
    
    .footer-content p {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
        line-height: 1.2;
    }
    
    .footer-social {
        margin-top: 0.2rem;
        gap: 1rem;
    }
    
    .footer-social .social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-social .social-link i {
        font-size: 1rem;
    }
    
    /* Citation très compacte sur écrans 320px */
    .philosophy-quote {
        font-size: 1rem;
        margin-top: 0.8rem;
        padding: 0.6rem;
    }
    
    /* Bouton galerie visible sur écrans 320px */
    .hero-actions {
        margin-bottom: 1.5rem;
        z-index: 35;
    }
    
    .services-section {
        z-index: 5;
    }
    
    /* Éviter que le titre soit caché sous la navbar sur écrans 320px */
    .modern-profile-section {
        padding-top: 80px;
    }

    /* Galerie responsive pour écrans 320px - maintenir le même résultat visuel */
    .gallery-item-info {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .gallery-item-status {
        margin: 2rem auto 0 auto;
    }
}

/* Animations supplémentaires supprimées car non utilisées */

/* Effets de survol personnalisés */

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* États de chargement supprimés car non utilisés */

/* Modal pour les détails d'œuvre */
.artwork-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.artwork-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

/* Modal content pour artworkModal (galerie) */
.artwork-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    box-sizing: border-box;
    margin: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

/* Styles de modal de partage supprimés */

.modal-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1rem;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 90vh;
}

.modal-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modal-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.artwork-details {
    flex: 1;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}


.detail-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.detail-item span {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.modal-actions .action-btn {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 0;
}

.modal-actions .action-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.modal-actions .action-btn.favorite {
    background: var(--secondary-color);
}

/* Styles pour les prix dans la modal */
.modal-price-with-frame,
.modal-price-without-frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.modal-price-with-frame .price-label,
.modal-price-without-frame .price-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-price-with-frame .price-value,
.modal-price-without-frame .price-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.modal-price-without-frame .price-value {
    color: #27ae60;
}

/* Section de partage dans la modal - supprimée car non utilisée */


/* Couleurs spécifiques pour chaque plateforme - supprimées car non utilisées */

/* Styles de partage supprimés car non utilisés */


/* Instructions de partage supprimées car non utilisées */

/* Responsive pour la modal artworkModal (galerie) */
@media (max-width: 768px) {
    .artwork-modal {
        padding: 10px;
        align-items: flex-start;
        padding-top: 5vh;
    }
    
    .artwork-modal .modal-content {
        margin: 0 auto;
        max-height: calc(90vh);
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
    }
    
    .modal-image {
        max-height: 40vh;
        min-height: 200px;
        width: 100%;
        object-fit: contain;
        border-radius: 15px;
        flex-shrink: 0;
    }
    
    .modal-info {
        padding: 1rem 0.5rem;
        text-align: center;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .modal-info h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .modal-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.4;
    }
    
    .modal-actions {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
        width: 100%;
        box-sizing: border-box;
        padding: 0 0.5rem;
    }
    
    .modal-actions .action-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
        max-width: 140px;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        box-sizing: border-box;
        white-space: nowrap;
    }
    
    /* Modal share buttons supprimés car non utilisés */
    
    /* Amélioration de la modal sur mobile */
    .modal {
        padding: 0.5rem;
        margin: 0.5rem;
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        box-sizing: border-box;
    }
    
    .modal-header {
        padding: 0.8rem 0.8rem 0.3rem 0.8rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    /* Modal share buttons supprimés car non utilisés */
    
    /* Réduction des espacements dans les détails de l'œuvre */
    .artwork-details {
        margin-bottom: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .detail-item {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        margin-bottom: 0.4rem;
    }
    
    .detail-item i {
        font-size: 0.8rem;
        margin-right: 0.4rem;
        min-width: 15px;
    }
    
    .detail-item span {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    /* Modal share button styles supprimés car non utilisés */
}

/* Modal de partage supprimée car non utilisée */

/* Notifications de partage supprimées car non utilisées */

/* Smooth scrolling pour les liens de navigation */
html {
    scroll-padding-top: 80px;
}

/* Bouton de retour en haut */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.back-to-top-btn i {
    transition: transform 0.3s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Panneau de filtres avancés */
.advanced-filters-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.advanced-filters-panel.active {
    display: block;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.close-filters-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.close-filters-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.filters-content {
    padding: 1.5rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.filter-select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: var(--text-color);
    transition: var(--transition);
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.category-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.9rem;
}

.checkbox-label:hover {
    background: #f8f9fa;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.filter-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.filter-actions .btn-modern {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    min-width: 120px;
}

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

/* Message d'absence de favoris */
.empty-favorites-message {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.empty-message-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-message-content i {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.empty-message-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-message-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-message-content .btn-modern {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 50px;
}

/* Responsive pour le message d'absence de favoris */
@media (max-width: 768px) {
    .empty-favorites-message {
        padding: 3rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .empty-message-content i {
        font-size: 2.5rem;
        opacity: 0.7;
    }
    
    .empty-message-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .empty-message-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .empty-message-content .btn-modern {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 50px;
    }
}

@media (max-width: 480px) {
    .empty-favorites-message {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .empty-message-content i {
        font-size: 2.5rem;
    }
    
    .empty-message-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .empty-message-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .empty-message-content .btn-modern {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 50px;
    }
}


