body{
    background-color: #f9f5e8;
    
}

.container {
    max-width: 1080px; 
    margin: 0 auto; 
    padding: 0 15px; 
    box-sizing: border-box; 
}

nav {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    display: inline-block;
    padding: 12px 20px;
    color: #3b2a20;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d98c5a;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: #d98c5a;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: #d98c5a; 
    font-weight: bold; 
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a.active::after {
    width: 100%; 
}

#footer2 {
    
    color: #3b2a20; 
    text-align: center; 
    padding: 20px; 
    position: relative;
    bottom: 0; 
    width: 100%; 
    font-size: 0.9rem; 
    left: 350px;
    
}
footer {
    
    color: #3b2a20;
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-family: 'Playfair Display', serif;
    position: relative;
    
}

footer a {
    color: #3b2a20;
    text-decoration: none;
    
}

footer a:hover {
    color: #b37b45;
    text-decoration: underline;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f5e8;
}

.hero-image {
    
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    margin-top: 40px;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.image-gallery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    gap: 20px;
}

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

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#site-description {
    background-color: whitesmoke;
    border-radius: 10px;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 1080px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
    text-align: center;
}

#site-description h2 {
    color: #b37b45;
    font-size: 2rem;
    margin-bottom: 20px;
}

#site-description p {
    color: #3b2a20;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

#site-description ul {
    text-align: left;
    margin: 20px auto;
    padding: 0;
    list-style-type: disc;
    max-width: 800px;
}

#site-description ul li {
    margin-bottom: 10px;
    color: #3b2a20;
    font-size: 1.1rem;
}

table {
    max-width: 1080px;
    border-collapse: collapse;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Playfair Display', serif;
    background-color: #ffffff;
}

table th {
    background-color: #d98c5a;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px;
    text-align: center;
}

table td {
    color: #3b2a20;
    font-size: 1rem;
    padding: 15px;
    text-align: center;
    border: 1px solid #e4e6eb;
}

table tr:nth-child(even) {
    background-color: #f9f5f2;
}

table tr:nth-child(odd) {
    background-color: #ffffff;
}

table tr:hover {
    background-color: #ffe6d1;
    transition: background-color 0.3s ease;
}
.table-container {
    max-width: 1080px;
    margin: 0 auto;
}

body {
    background-color: #f9f5e8;
    font-family: 'Playfair Display', serif;
}


.form-container {
   
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 50%;
}


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


#en-tete {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}


#en-tete div {
    display: flex;
    flex-direction: column;
    flex: 1;
}


label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #3b2a20;
    margin-bottom: 5px;
}


label span {
    color: #d98c5a;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #b37b45;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 10px;
}


textarea {
    resize: none;
    height: 100px;
    
}

/* Bouton d'envoi */
input[type="submit"] {
    background-color: #d98c5a;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #b37b45;
}

form h2 { 
text-align:center;
margin-bottom:20px;
}
/* Styles modernes pour la page des crédits */
.credits-container {
    max-width: 1080px;
    margin: 40px auto;
    padding: 40px;
    background-color: whitesmoke;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    
}

.credits-container h1 {
    color: #d98c5a;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}
.credits-container p {
    color: #3b2a20;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
    
}
.credits-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.credits-container ul li {
    background-color: #f4f4f4;
    border-radius: 10px;

    border-bottom: 2px solid #d98c5a;
    padding: 20px;
    color: #3b2a20;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}
.credits-container ul li:hover {
    transform: translateY(-6px); 
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); 
    background-color: #f9f5e8; 
}
.credits-container ul li a {
    color: #3b2a20;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    
    border-bottom: 1px solid #3b2a20;
}
.container2 {
    max-width: 350px; 
    margin: 0 auto; 
    padding: 0; 
    margin-top: 40px;
}

/* Galerie d'images */
.galerie {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.galerie img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 5px;
    transition: filter 0.3s, transform 0.3s ease-in-out;
    filter: grayscale(0%);
}

.galerie img:hover {
    filter: grayscale(100%);
    transform: scale(1.1);
    object-position: center;
}



main h1 {
    color: #d98c5a; 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    font-family: 'Playfair Display', serif; 
}

.radio-group {
    display: flex;
    flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
    justify-content: space-between; 
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* page partenaire */

.bgimage {
    position: relative;
    width: 100%;
    height: 400px;
    background-image: url('../images/partenaires-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.part {
    width: 1080px;
    margin: -260px auto 0;
    position: relative;
}


.part ul {
    display: block;
    list-style-type: none;
    margin: 0;
    padding: 0;
}


.lienpart {
    display: block;
    margin-bottom: 40px;
}


.lienpart a {
    text-decoration: none;
    font-weight: 700;
    background-color: black;
    padding: 8px;
    color: white;
    border-radius: 10px;
    text-align: center;
    transition: all ease-in-out 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    width: 100%;
}

.lienpart a:hover {
    transform: translateY(-10%);
}

.des {
    text-align: center;
    width: 1080px;
    font-size: 15px;
    margin: 0 auto;
    color:#3b2a20;
    font-weight: 100;
    margin-bottom: 40px;
}

#membres {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 28px auto;
    width: 850px;
    margin-top: 215px;
}


.membre {
    background-color: white;
    flex: 0 0 calc(50% - 15px);
    box-sizing: border-box;
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.avatar-container {
    margin-right: 15px;
}


.avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
}


.logosite {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

h1 {
    text-align: center;
    color: #3b2a20;
    font-size: 2.5rem;
}
h2 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 10px 0 5px;
}


h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 17px;
    color: #3b2a20;
    margin: 5px 0;
}

.explications {
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    font-size: 13px;
    color: #3b2a20;
    text-align: justify;
    margin-top: 10px;
}
.pageep{
    font-family: 'Playfair Display', serif;
    font-weight: 200;
    font-size: 13px;
    color: #3b2a20;
    text-align: justify;
    margin-top: 10px;
}
#partenaire-title {
    color: #d98c5a; 
}
/* Style pour le logo dans le menu */
nav .logo {
    width: 40px; 
    height: auto;
    margin-right: 10px; 
}


nav ul li a {
    display: flex;
    align-items: center; 
    gap: 10px; 
}


