/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Koulen', sans-serif;
    background-color: #C9AAAA;
    color: #333;
}

/* Coquelicot Banner 
.coquelicot-banner img {
    width: 100%;
    height: 35px;
    object-fit: cover;
    display: block;
}*/
.coquelicot-banner {
    width: 100%;
    height: 35px; /* Hauteur de la bande fine */
    background: url('../images/coquelicot.webp') no-repeat center center;
    background-size: cover; /* Pour afficher sur toute la zone */
    display: block;
}

/* Header */
header {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-family: 'Koulen', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

header nav ul li a:hover {
    color: #bbc70b;
}

/* Hero Section */
#hero {
    position: relative;
    text-align: center;
    width: 100%;
    height: 600px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

#hero .hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

#hero h1 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    transform: none;
    margin: 0;
    font-size: 5em;
    color: black;
    font-weight: bold;
    text-shadow: 2px 2px 5px #E4EA97;
    z-index: 10;
    text-align: left;
    display: inline-block;
}


#hero .highlight {
    color: #E4EA97;
}

/* Main Section (Collections) */
#main {
    text-align: center;
    padding: 30px;
    margin-top: 20px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 30px;
}

.hero .highlight {
    color: #E4EA97;
}

.collection-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
}

.collection-item {
    background-color: #C9AAAA;
    text-align: center;
    width: 300px;
    padding: 10px;
    position: relative;
}

.collection-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    height: 100%;
    width: 2px;
    background-color: black;
}

.title-container {
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.collection-item h2 {
    font-size: 1.5em;
    color: #000;
    text-transform: uppercase;
    text-align: left;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.collection-item .arrow {
    font-size: 1.2em;
    color: #000;
}

.collection-item img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Collection Header (Pont) */
.collection-header {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-family: 'Koulen', sans-serif;
    font-size: 36px;
    font-weight: 400;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Tableaux Section */
.tableaux {
    display: flex;
    justify-content: center; /* centre horizontalement les images */
    align-items: center; /* aligne verticalement si besoin */
    gap: 40px; /* espace horizontal entre les images */
    background-color: #C9AAAA;
    padding: 20px 0;
}

.tableau {
    text-align: center;
    width: 300px; /* Largeur du conteneur (optionnel, pour ajuster) */
}

.tableau-image {
    width: 300px;   /* Largeur fixe */
    height: 300px;  /* Hauteur égale à la largeur, ce qui crée un carré */
    object-fit: cover; /* Ajuste l'image pour remplir le carré sans distorsion */
    display: block;
    margin: 0 auto;
    border: 2px solid #000;
    border-radius: 5px; /* optionnel, pour un léger arrondi */
}

.tableau-description {
    font-family: 'Kotta One', serif;
    font-size: 18px;
    margin-top: 10px;
    color: #000;
}


/* Galerie Section */
.bande-blanche {
    width: 100%;
    height: 10px;
    background-color: white;
}

.galerie-image-container {
    position: relative;
    width: 100%;       /* La largeur s'ajuste à 100% du parent, donc pas de limite stricte ici */
    height: 300px;     /* Ajustez cette valeur pour la hauteur souhaitée */
    overflow: hidden;  /* Cache la partie de l'image qui dépasse */
}

.galerie-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    display: block;
}



.galerie-title {
    position: absolute; 
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    font-family: 'Koulen', sans-serif; 
    font-size: 96px; 
    font-weight: 900; 
    color: black;
}

/* A PROPOS CLAUDE MONET */
.text-section {
    width: 100%;
    background-color: #C9AAAA;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.text-content {
    max-width: 800px;
    text-align: center;
    font-family: 'Koulen', sans-serif;
    color: #333;
}

.section-title {
    font-size: 3em;
    margin: 0;
    color: #000;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.5em;
    margin: 10px 0 20px;
    color: #666;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: #333; /* Couleur du trait */
    border: none;
    margin: 20px auto;
}

.section-text {
    font-size: 1.2em;
    line-height: 1.6;
    margin-top: 20px;
    text-align: justify;
    color: #000; /* Couleur du texte principal */
}



/* CONTAINER POUR LA GALERIE */
.image-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image Claude Monet */
.monet-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.monet-image-container {
    position: relative;
    width: 100%;
    height: 500px; /* Pour jouer avec la portion dsirée de l'image */
    overflow: hidden; /* Cache le reste de l'image qui dépasse */
}

.monet-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le conteneur en gardant le ratio */
    object-position: center;/* Centre l'image */
    display: block;
}

.monet-text {
    position: absolute;
    top: 50%;  /* Pour jouer sur la haute du texte - pour le déplacer vers le haut ou le bas */
    /*left: 10%; /* Pour jouer avec le texte de gauche à droite */
    transform: translateY(-50%);
    color: #fff; /* Couleur du texte, à modifier si pas bon */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    font-family: 'Koulen', sans-serif; /* Même pour que partout ailleurs*/
}

.monet-title {
    margin: 0;
    font-size: 3em;
    line-height: 1.2;
}

.monet-subtitle {
    font-size: 1.5em; /* Taille plus petite pour les dates */
    margin-top: 10px;
    margin-bottom: 0;
    color: #fff; /* même couleur ou autre */
}

.highlight {
    color: #bbc70b;
}

/* FIN CLAUDE MONET */


/* Footer */
.top-bar {
    width: 100%;
    height: 15px;
    background: #D9D9D9;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.left-section,
.right-section {
    flex: 1;
    padding: 20px;
}

.left-section {
    background: #DCD0DD;
    text-align: left;
}

.left-section h1 {
    font-size: 16px;
    margin: 0 0 10px 10px;
}

.left-section ul {
    list-style: none;
    padding: 0 0 0 10px;
    font-size: 14px;
    margin: 0;
}

.right-section {
    background: #95ACBD;
    text-align: center;
}

.right-section h2 {
    font-size: 16px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-icons a {
    color: #000;
    font-size: 24px;
    text-decoration: none;
}

.right-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Formulaire */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
}

.form-input {
    width: 90%;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    width: 150px;
    height: 48px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-button:hover,
.submit-button:focus {
    background-color: #007BFF;
    color: white;
    outline: none;
    border: 2px solid #0056b3;
}

/* Footer final */
.main-footer {
    background-color: #000; 
    color: #fff; 
    text-align: center; 
    padding: 10px 0; 
    width: 100%;
}

.main-footer p {
    margin: 0; 
    font-family: 'Koulen', sans-serif; 
    font-size: 16px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li {
        text-align: center;
    }

    .collection-list {
        flex-direction: column;
        gap: 20px;
    }

    .collection-item {
        width: 100%;
        margin: 0 auto;
    }

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

    .tableau {
        width: 80%;
        margin-bottom: 20px;
    }

    .image-container img {
        max-width: 90%;
        border-radius: 4px;
    }

    body {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    nav ul li a {
        font-size: 18px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .collection-item img {
        height: auto;
    }

    .header-title h1 {
        font-size: 2em;
    }

    .tableau-image {
        max-width: 90%;
        margin: 0 auto;
    }

    .image-container img {
        max-width: 100%;
        border-radius: 3px;
    }

    body {
        padding: 10px;
    }

    footer {
        font-size: 0.8em;
    }
}
