/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    text-align: justify;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0052a3;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    background-color: #1a1a1a;
    background-image: url('static/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

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

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background-color: #c8ff00;
    color: #000;
    border-color: #a8d800;
    box-shadow: 0 4px 15px rgba(200, 255, 0, 0.3);
}

.btn-primary:hover {
    background-color: #b8e600;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 255, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #c8ff00;
    border-style: dashed;
}

.btn-secondary:hover {
    background-color: rgba(200, 255, 0, 0.1);
}

.btn-submit {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.btn-submit:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
}

.section-subtitle {
    color: #0066cc;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================
   PRODIGE SECTION
   ============================================ */

.prodige-section {
    background-color: #fff;
}

.prodige-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.prodige-text {
    padding: 2rem;
}

.prodige-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.prodige-author {
    text-align: right;
    font-style: italic;
    color: #999;
    font-size: 0.95rem;
}

.prodige-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.prodige-image img:hover {
    transform: scale(1.02);
}

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

/* ============================================
   CONTRIBUTION SECTION
   ============================================ */

.contribution-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: white;
    padding: 4rem 0;
}

.contribution-content {
    text-align: center;
}

.contribution-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.separator {
    font-size: 1.5rem;
    margin: 2rem 0;
    letter-spacing: 0.5rem;
}

/* ============================================
   NAVIGATION SECTIONS
   ============================================ */

.navigation-sections {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.nav-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #555;
}

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

.nav-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

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

.nav-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px dashed #c8ff00;
    border-top: none;
}

/* ============================================
   BIOGRAPHIE SECTION
   ============================================ */

.biographie-section {
    background-color: #fff;
}

.biographie-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.biographie-text {
    padding: 1rem;
}

.biographie-text p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.biographie-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .biographie-content {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    border: 2px dashed #ff4444;
}

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

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

/* ============================================
   EXPOSITIONS LIST
   ============================================ */

.expositions-list {
    background-color: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.expositions-list h3 {
    margin-bottom: 1.5rem;
    color: #333;
}

.expositions-list ul {
    list-style: none;
    padding: 0;
}

.expositions-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
    color: #555;
}

.expositions-list li:last-child {
    border-bottom: none;
}

.expositions-list a {
    color: #0066cc;
    text-decoration: underline;
}

/* ============================================
   PERIODE SECTION
   ============================================ */

.periode-section {
    background-color: #fff;
}

.periode-section:nth-child(even) {
    background-color: #f9f9f9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 100%);
    color: white;
    padding: 4rem 0;
}

.contact-box {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-title {
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.file-label {
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.file-label:hover {
    background-color: #e0e0e0;
}

#file-upload {
    display: none;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #999;
    font-size: 0.85rem;
}

.form-group .btn {
    width: 100%;
    margin-top: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 1rem;
}

.social-link {
    display: inline-block;
    margin: 0 1rem;
    color: white;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #c8ff00;
}

.social-link svg {
    width: 32px;
    height: 32px;
}

.footer-credit {
    color: #999;
    font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .contact-box {
        padding: 2rem 1rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .nav-buttons {
        grid-template-columns: 1fr;
    }
}

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-subtitle {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
