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

:root {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --accent-gold: #c9a96e;
    --accent-blue: #4a90e2;
    --accent-red: #e74c3c;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #c9a96e 0%, #d4b87a 100%);
    --gradient-secondary: linear-gradient(135deg, #4a90e2 0%, #5ba0f2 100%);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
    --shadow-medium: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 1px 5px rgba(0, 0, 0, 0.2);
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* Base */
body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2rem;
}

.logo .subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 300;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

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

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    z-index: 100;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: var(--bg-secondary);
    color: var(--accent-gold);
}

/* Sous-dropdown */
.dropdown-item {
    position: relative;
}

.sub-dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    z-index: 101;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-item:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown-menu li {
    border-bottom: 1px solid var(--border-color);
}

.sub-dropdown-menu li:last-child {
    border-bottom: none;
}

.sub-dropdown-link {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sub-dropdown-link:hover {
    background: var(--bg-secondary);
    color: var(--accent-gold);
}

/* Indicateur de sous-menu */
.dropdown-item .dropdown-link::after {
    content: '›';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.dropdown-item:hover .dropdown-link::after {
    color: var(--accent-gold);
}

/* Navigation mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Main content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-image {
    position: relative;
    overflow: visible;
    border-radius: 12px;
    box-shadow: var(--shadow-dark);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hero-image:hover .hero-img {
    transform: scale(1.05);
}

.hero-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Sections communes */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* News Section */
.news-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.news-item {
    background: var(--bg-card);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
    box-shadow: var(--shadow-light);
}

.news-date {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-item p {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* News Link */
.news-link {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.news-link:hover {
    transform: translateY(-2px);
}

.news-link:hover .news-item {
    box-shadow: var(--shadow-medium);
    border-left-color: var(--accent-blue);
}

.news-link:hover .news-date {
    color: var(--accent-blue);
}

.news-link:hover .news-item p {
    color: var(--text-primary);
}

/* Artworks Grid */
.artworks-grid {
    padding: 4rem 0;
}

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

.tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tag:hover,
.tag.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.artwork-item {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.artwork-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-dark);
}

.artwork-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.artwork-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.artwork-item:hover .artwork-overlay {
    transform: translateY(0);
}

.artwork-overlay h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.artwork-year {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-secondary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

/* Social Section */
.social-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link.facebook:hover {
    background: #3b5998;
    color: white;
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.footer-links,
.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-links a,
.footer-social a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--accent-gold);
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

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

    .nav-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-secondary);
        margin-top: 1rem;
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .artworks-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-links,
    .footer-social {
        justify-content: center;
    }

    .filter-tags {
        justify-content: center;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Sous-menus en mobile */
    .sub-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--bg-primary);
        margin-left: 1rem;
        margin-top: 0.5rem;
        border-radius: 0;
        border: none;
        box-shadow: none;
        min-width: auto;
    }

    .dropdown-item .dropdown-link::after {
        display: none;
    }

    .sub-dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-left: 2px solid var(--border-color);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

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

    .artworks-container {
        grid-template-columns: 1fr;
    }

    .artwork-item img {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artwork-item {
    animation: fadeInUp 0.6s ease-out;
}

.artwork-item:nth-child(1) { animation-delay: 0.1s; }
.artwork-item:nth-child(2) { animation-delay: 0.2s; }
.artwork-item:nth-child(3) { animation-delay: 0.3s; }
.artwork-item:nth-child(4) { animation-delay: 0.4s; }
.artwork-item:nth-child(5) { animation-delay: 0.5s; }
.artwork-item:nth-child(6) { animation-delay: 0.6s; }

/* Styles pour la page Bio */
.bio-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.bio-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

.bio-content {
    padding: 3rem 0;
}

.bio-section {
    background: var(--bg-card);
    margin-bottom: 3rem;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.bio-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.bio-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.bio-item .year,
.bio-item .location {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-right: 1.5rem;
    min-width: 80px;
    text-align: center;
    font-size: 0.9rem;
}

.bio-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.address-block {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--accent-gold);
}

.address-block h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.address-block p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.address-block a {
    color: var(--accent-blue);
    text-decoration: none;
}

.address-block a:hover {
    color: var(--accent-gold);
}

.exhibitions-timeline {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

.exhibition-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 3px solid var(--accent-blue);
}

.exhibition-item .year {
    background: var(--accent-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    margin-right: 1.5rem;
    min-width: 60px;
    text-align: center;
    font-size: 0.8rem;
}

.exhibition-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.association-list {
    display: grid;
    gap: 1.5rem;
}

.association-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.association-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.association-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.visit-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-medium);
}

.visit-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.visit-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-buttons {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
}

/* Styles pour la page Contact */
.contact-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* Styles pour l'œuvre sélectionnée */
.selected-artwork {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-medium);
    border-left: 4px solid var(--accent-gold);
}

.selected-artwork h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    text-align: center;
}

.artwork-preview {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.artwork-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.artwork-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-thumbnail:hover img {
    transform: scale(1.05);
}

.artwork-details {
    flex: 1;
    min-width: 200px;
}

.artwork-details h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.artwork-year,
.artwork-medium,
.artwork-size {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.artwork-year {
    font-weight: 500;
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    .artwork-preview {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .artwork-thumbnail {
        width: 100px;
        height: 100px;
    }
    
    .artwork-details h4 {
        font-size: 1.2rem;
    }
}

.contact-content {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info,
.contact-form-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.contact-info h3,
.contact-form-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.contact-item h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem;
    border-radius: 6px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: var(--bg-primary);
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

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

.btn-submit {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

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

.visit-info,
.social-contact,
.map-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
}

.visit-info h3,
.social-contact h3,
.map-section h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

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

.visit-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.visit-item h4 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.visit-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-3px);
}

.map-container {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border: 2px dashed var(--border-color);
}

.map-placeholder p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.map-placeholder em {
    color: var(--accent-gold);
    font-style: normal;
    font-weight: 500;
}

/* Styles pour la page Œuvres */
.oeuvres-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.oeuvres-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.filters-section {
    padding: 2rem 0;
    background: var(--bg-card);
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

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

.category-btn {
    padding: 0.8rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Barre de filtres (tags + tri) */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0;
    background: none;
    border: none;
    position: relative;
}

.filters-bar::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-bar.has-active-filters::after {
    opacity: 1;
}

.tags-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 0;
    width: 100%;
}

/* Styles pour les catégories de tags */
.tags-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 1.2rem;
    width: 100%;
    gap: 1.2rem;
    padding: 0.7rem 0 0.7rem 0.7rem;
    border-radius: 10px;
}

.category-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-width: fit-content;
    padding: 0.3rem 1.2rem 0.3rem 0;
    margin: 0;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

/* Style spécial pour les années - affichage en ligne */
.tags-category.years-category .category-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) transparent;
    padding-bottom: 0.5rem;
}

.tags-category.years-category .category-tags::-webkit-scrollbar {
    height: 6px;
}

.tags-category.years-category .category-tags::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.tags-category.years-category .category-tags::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.tags-category.years-category .category-tags::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Sélecteur de plage de dates */
.date-range-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.date-range-selector label {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.date-inputs {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.date-inputs input {
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 80px;
    text-align: center;
}

.date-inputs input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.date-inputs span {
    color: var(--text-secondary);
    font-weight: 500;
}

.date-range-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-date-range {
    padding: 0.4rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.btn-date-range:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.btn-date-range.active {
    background: var(--accent-gold);
    color: white;
    border-color: var(--accent-gold);
}

@media (max-width: 768px) {
    .date-range-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .date-inputs {
        justify-content: center;
    }
    
    .date-range-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Responsive pour les catégories */
@media (max-width: 768px) {
    .tags-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0.7rem 0.7rem;
    }
    
    .category-title {
        font-size: 0.9rem;
        width: 100%;
        padding: 0.3rem 0 0.3rem 0;
    }
    
    .category-tags {
        gap: 0.5rem;
        width: 100%;
    }
}

.tag-btn {
    padding: 0.6rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-btn:hover {
    background: var(--accent-blue);
    color: var(--bg-primary);
    border-color: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.tag-btn.active {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.tag-count {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.tag-btn:hover .tag-count,
.tag-btn.active .tag-count {
    opacity: 1;
}

.sort-options {
    margin: 0;
    padding: 0;
}

.sort-options select {
    padding: 0.8rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sort-options select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

.artworks-gallery {
    padding: 3rem 0;
}

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

.artwork-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

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

.artwork-card.fade-out {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.artwork-card.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.artwork-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.artwork-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artwork-card:hover .artwork-image img {
    transform: scale(1.05);
}

.artwork-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: white;
}

.artwork-card:hover .artwork-overlay {
    transform: translateY(0);
}

.artwork-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
}

.artwork-year,
.artwork-medium,
.artwork-size {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.artwork-medium {
    color: var(--text-secondary);
}

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

.btn-view,
.btn-contact,
.btn-instagram {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-view {
    background: var(--gradient-secondary);
    color: white;
}

.btn-contact {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-instagram {
    background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-instagram svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.btn-view:hover,
.btn-contact:hover,
.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.artwork-info {
    padding: 1.5rem;
}

.artwork-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.artwork-tags .tag {
    color: var(--text-secondary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

.lightbox-info {
    padding: 2rem;
    background: var(--bg-card);
}

.lightbox-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.lightbox-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Boutons de navigation de la lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2002;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Responsive pour les boutons de navigation */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* Responsive pour Bio, Contact et Œuvres */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .visit-details {
        grid-template-columns: 1fr;
    }
    
    .bio-item {
        flex-direction: column;
        text-align: center;
    }
    
    .bio-item .year,
    .bio-item .location {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .exhibition-item {
        flex-direction: column;
        text-align: center;
    }
    
    .exhibition-item .year {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .artworks-grid-page {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .category-filters {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .category-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .artwork-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-info {
        padding: 1.5rem;
    }
}

/* Styles pour la page Mentions légales */
.legal-header {
    text-align: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.legal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.legal-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background: var(--bg-card);
    margin-bottom: 2rem;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

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

.legal-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-info ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-info li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.legal-info li::before {
    content: '•';
    color: var(--accent-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.legal-info a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: var(--accent-gold);
}

.legal-footer {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
}

.legal-footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.legal-footer a:hover {
    color: var(--accent-gold);
}

/* Responsive pour Mentions légales */
@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 0;
    }
    
    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
}

/* Utilitaires */
.hidden {
    display: none !important;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Section "Voir plus" */
.see-more-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent-gold);
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.btn-see-more:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
    color: var(--bg-dark);
    text-decoration: none;
}

.btn-see-more svg {
    transition: transform 0.3s ease;
}

.btn-see-more:hover svg {
    transform: translateX(4px);
}

/* Responsive pour le bouton "Voir plus" */
@media (max-width: 768px) {
    .see-more-section {
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    
    .btn-see-more {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Message d'erreur quand aucun résultat */
.no-results-message {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.no-results-message p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-clear-filters {
    padding: 0.8rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Styles pour les alertes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 4px solid;
    box-shadow: var(--shadow-light);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-left-color: #22c55e;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-left-color: #ef4444;
} 