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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #8b7355;
    --accent-color: #c9a86c;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Navigation */
nav {
    background-color: var(--dark-bg);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    letter-spacing: 2px;
}

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

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent-color);
}

/* Header / Hero */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
                url('images/painting-000.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .quote {
    font-size: 1.2rem;
    max-width: 600px;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Sections */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 1rem auto 0;
}

/* Page d'accueil - Profil */
.profile-section {
    background-color: white;
}

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

.profile-image {
    position: relative;
}

.profile-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    border-radius: 10px;
    z-index: -1;
}

.profile-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.profile-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Compétences */
.skills-section {
    background-color: var(--light-bg);
}

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

.skill-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Expositions */
.exhibitions-section {
    background: white;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--accent-color);
    margin-bottom: 1rem;
    background: var(--light-bg);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-item .year {
    font-weight: bold;
    color: var(--accent-color);
}

/* Page Peinture - Galerie */
.gallery-section {
    padding-top: 100px;
    min-height: 100vh;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.artwork-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artwork-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

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

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

.artwork-info {
    padding: 1.5rem;
}

.artwork-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.artwork-info .technique {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.artwork-info .description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Page Ecriture */
.writing-section {
    padding-top: 100px;
    min-height: 100vh;
}

.writing-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.writing-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.writing-card:hover {
    transform: translateY(-5px);
}

.writing-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.writing-card .genre {
    color: var(--accent-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.writing-card p {
    color: #666;
    line-height: 1.8;
}

.writing-card .status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem 0.8rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Contact */
.contact-section {
    background: var(--dark-bg);
    color: white;
    text-align: center;
}

.contact-section .section-title {
    color: white;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.contact-item a:hover {
    text-decoration: underline;
}

/* Teaser Exposition */
.teaser-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    text-align: center;
}

.teaser-section .section-title {
    color: white;
}

.teaser-text {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2.5rem;
    color: var(--accent-color);
}

.teaser-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 2.5rem;
}

.teaser-img {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.teaser-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.teaser-hint {
    font-size: 1.1rem;
    color: #ccc;
}

/* Footer */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .profile-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image::before {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .teaser-images {
        grid-template-columns: 1fr;
    }
}
