:root {
    --primary-color: #1a237e;
    --secondary-color: #534bae;
    --text-color: #333;
    --background-color: #fff;
}

.eb-garamond-1 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 55px;
  line-height: 60px;
  margin-bottom: 2rem;
}

@media (max-width: 352px) {
    .eb-garamond-1 {
        font-size: 45px;
        line-height: 50px;
    }
}

.eb-garamond-2 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 40px;
}

.eb-garamond-3 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

nav {
    width: 100%;
    padding: 1rem 0rem;
    background: var(--background-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .container {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.text {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

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

header {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('header-bg.jpg');
    background-size: cover;
    color: white;
    background-image: url('./img/PHOTO-2025-01-14-23-12-14.jpg');
}

.equipe-header {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./img/PHOTO-2025-01-14-23-12-14.jpg');
    background-size: 150%;
    background-position: 100% 80%;
    color: white;
    background-repeat: no-repeat;
}

section {
    padding: 5rem 0rem;
    max-width: 1000px;
    margin: 0 auto;
}

.divider {
    width: 100%;
    height: 0.5px;
    margin: 4rem 0rem;
    background-color: var(--primary-color);
}

.concept-grid, .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.concept-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.concept-item h3 {
    margin-bottom: 10px;
}

.concept-grid.bullet-points {
    margin-bottom: 2rem;
}

.concept-grid.bullet-points p {
    max-width: 240px
}

.concept-icon {
    width: 40px;
    height: 40px;
    padding: 5px 5px  ;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, select, textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

header a {
    text-decoration: none;
}

header button {
    margin-top: 2rem;
    font-size: 1.2rem;
    text-decoration: none;
}

button:hover {
    background: var(--secondary-color);
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    background: #ddd;
    border-radius: 50%;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (max-width: 1020px) {
    nav .container {
        margin: 0 20px; 
    }
    section {
        margin: 0 20px;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    nav ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--background-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Animation du burger */
    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
} 

section#contact { 
    padding-top: 0rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 4px;
    color: white;
    transform: translateX(150%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}

.notification.success {
    background-color: #4CAF50;
    transform: translateX(0);
}

.notification.error {
    background-color: #f44336;
    transform: translateX(0);
}

/* Loader */
.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Style pour le bouton pendant le chargement */
button.loading .button-text {
    opacity: 0.5;
}

button.loading .loader {
    display: inline-block;
}

.form-footer {
    display: flex;
    justify-content: flex-end;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
}