:root {
    --primary-color: #d4af37;
    --secondary-color: #333;
    --background-color: #fff;
    --light-gray: #f9f9f9;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html, body {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden; /* Empêche le scroll horizontal et masque la barre blanche */
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--background-color);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info {
    display: none;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.hero-alimentation {
    height: 80vh;
    background-image: url('../images/hero/alimentation.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-architecture {
    height: 80vh;
    background-image: url('../images/hero/architecture.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
    padding-top: 90px;
}

.hero-interieur {
    height: 80vh;
    background-image: url('../images/hero/interieur.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-macro {
    height: 80vh;
    background-image: url('../images/hero/macro.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-masques {
    height: 80vh;
    background-image: url('../images/hero/masque.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-technique {
    height: 80vh;
    background-image: url('../images/hero/technique.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-unions {
    height: 80vh;
    background-image: url('../images/hero/union.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero-vin {
    height: 80vh;
    background-image: url('../images/hero/vin.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-color);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: var(--transition);
}

.btn:hover {
    background-color: #b8982b;
}

.section {
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}


.forfait {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}


.forfait-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
    text-align: center;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

footer {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 2rem;
    text-align: center;
}

.footer-links, .social-links {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-links li a, .social-links li a {
    color: var(--background-color);
    text-decoration: none;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: rgb(160, 160, 160);
    width: 80%;
    height: 90%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-image {
    max-width: 80%;
    max-height: 80%;
    display: block;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 30px;
    color: white;
}

.left-arrow {
    left: 30px;
}

.right-arrow {
    right: 30px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    font-size: 16px;
    color: #333;
}

@media (max-width: 768px) {
    .contact-info {
        display: block;
        text-align: center;
        margin-top: 1rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 1rem;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active ~ nav ul {
        display: flex;
    }

    .arrow {
    top: auto;
    bottom: 30px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    }    
}

.logo-desktop {
  display: inline;
}

.logo-mobile {
  display: none;
}

@media screen and (max-width: 700px) {
  .logo-desktop {
    display: none;
  }
  .logo-mobile {
    display: inline;
  }
}

/* evenementiel */

        .event-types, .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .event-types div, .gallery-item {
            background-color: var(--background-color);
            padding: 1.5rem;
            border-radius: 4px;
            box-shadow: var(--shadow);
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
        }

        .event-types div:hover, .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .gallery-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 4px;
        }

        .testimonials {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .testimonial {
            background-color: var(--light-gray);
            padding: 1.5rem;
            border-radius: 4px;
            box-shadow: var(--shadow);
        }