body {
    font-family: 'Playfair Display', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 20px; /* Increased height */
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    text-decoration: none;
    margin: 0 20px; /* Space between logos */
}

.navbar img {
    height: 40px;
}

/* Header Section */
.header {
    position: relative;
    text-align: center;
    color: white;
}

.header img {
    width: 100%;
    height: 650px; /* Reduced height */
    object-fit: cover; /* Ensures proper cropping */
    filter: grayscale(100%);
}

.header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.header h1 {
    font-size: 5rem;
    margin: 0;
}

.header p {
    font-size: 1.5rem;
    margin-top: 10px;
}

/*Content*/
.content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.content-wrapper .text {
    flex: 1;
    max-width: 500px;
    padding-right: 20px;
}

.content-wrapper h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    padding-bottom: 10px;
}

.content-wrapper p {
    font-size: 1.2rem;
    margin-bottom: 10px;
} 


.content-wrapper img {
    flex: 1;
    max-width: 50%; /* Réduit la taille à 50% de la largeur disponible */
    height: auto;
}

/*What is INSPIRATIONS*/
.content {
    text-align: center;
    padding: 40px 20px;
    max-width: 850px;
    margin: auto;
    margin-bottom: 50px;
}

.content h2 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.content ul {
    list-style-type: disc;
    margin: 20px 0;
    padding: 0;
    text-align: left;
    display: inline-block;
}

.content ul li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Buyers Exhibitors */
.content-be {
    background-color: #F5F5F5;
}

.section {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 150px;
}

.section:nth-child(even) {
    flex-direction: row-reverse;
}

.section img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
}

.text {
    flex: 1;
    margin: 0 20px;
}

.text h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.text ul {
    margin: 10px 0;
    padding-left: 20px;
    margin-bottom: 30px;
}

.text ul li {
    font-size: 1rem;
    margin-bottom: 8px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFFF;
    border: 1px solid #333;
    color: #333;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 25px;
    margin-top: 10px;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.btn:hover {
    background-color: #333;
    color: #F5F5F5;
}

/* Meet the Team Section */
.team-section {
    text-align: center;
    padding: 40px 20px;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.team-carousel {
    display: flex;
    overflow-x: scroll; /* Ajoute la possibilité de défiler horizontalement */
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory; /* Scroll fluide pour centrer les éléments */
    margin-left: 100px;
    margin-right: 100px;
}

.profile {
    flex: 0 0 28%; /* Chaque profil occupe 30% de la largeur du conteneur */
    text-align: center;
    scroll-snap-align: start; /* Centre chaque élément au scroll */
}

.profile img {
    width: 70%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.profile img:hover {
    filter: grayscale(0);
}

/* Footer */
.footer {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer a.email {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.footer a.email:hover {
    background-color: #333;
    color: #fff;
}

.footer .logos {
    margin-top: 30px;
}

.footer .logos img {
    height: 50px;
    margin: 0 10px;
   
}
