body {
    margin: 0;
    padding: 0;
}

header {
    z-index: 50;
}

main {
    z-index: 10;
    position: absolute;
    max-width: 100vw;
    height: 100vh;
    background-image: url("../img/DSC_0035.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

header h2, header a {
    color: #fff !important;
}

.current-page-div {
    display: none !important;
}

.current-page-div-front {
    position: absolute;
    top: 0;
    left: 0;
    background: #000000d7;
}

#contact-container {
    display: flex;
    flex-direction: row;
    width: max-content;
    margin: auto;
}

.calendly-inline-widget {
    min-width: 500px !important;
    margin-left: 100px;
    max-height: 500px;
    margin-top: 40px;
}

h1 {
    font-size: 3rem;
    color: #fff;
    position: absolute;
    bottom: -100px;
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
    font-family: 'DIN Next Rounded LT W01 Light';
}

.menu-toggle span {
    background: #fff;
}

.menu-toggle.active span {
    background: #222;
}

.show {
    transform: translateY(-200px);
    opacity: 1;
    bottom: 0;
}

.hamburger-menu ul li a {
    color: #333 !important;
}

.blank {
    min-height: 100vh;
    max-width: 100vw;
}

#some-pics {
    max-width: 100vw;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 105vh;
    opacity: 0;
    transform: translateY(50px);
    transition-delay: 0;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#some-pics.visible {
    opacity: 1;
    transform: translateY(0);
}

#some-pics.visible h2 {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

#some-pics.visible .reverse-button {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-container {
    width: 70%;
    margin: auto;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}
.carousel a {
    min-width: calc(100% / 3);
}
.carousel img {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.carousel img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}
.buttons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 20px;
    gap: 10px;
    height: 50px;
}
.buttons button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
}

#contact-container {
    display: flex;
    flex-direction: column;
}

#offers h1 {
    font-size: 2.5rem;
    color: #000;
    position: inherit;
    bottom: 0;
    opacity: 1; 
    transition: transform 1sease-out, opacity 1sease-out;
    text-align: center;
}

.bottom h4 {
    text-align: left;
}

#galerie-link {
    display: block;
    width: 200px;
    font-size: 20px;
    margin: auto;
    text-decoration: none;
    background-color: #E67E22;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.form-container {
    margin: auto;
}
main h2 {
    font-family: 'DIN Next Rounded LT W01 Light';
    font-weight: 300;
    font-size: 50px;
    margin: 0 30px;
}

section.visible {
    opacity: 1;
}

section {
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animation pour les sections au scroll */
section.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.two-cols-offer .right-section{
    background-color: #fff;
}

#offers {
    background-color: #fafafa;
}

.form-container {
    margin-top: 40px;
}

.offers img {
    border-radius: 15px 15px 0 0;
}

@media (max-width: 1350px) {

    main h2 {
        font-size: 2rem;
    }

    .carousel a {
        min-width: calc(100% / 2);
    }

    .menu {
        pointer-events: none;
    }

    .menu.active {
        pointer-events: all;
    }
    .carousel img {
        padding: 10px;
    }

    .form-container {
        width: 80%;
    }

    .calendly-inline-widget {
        min-width: 400px !important;
        margin: auto !important;
        padding-top: 70px;
        max-height: 500px;
    }

    #contact-container {
        display: flex;
        flex-direction: column;
        width: max-content;
        margin: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    main h1 {
        font-size: 1.6rem;
    }

    .calendly-inline-widget {
        min-width: 90% !important;
        margin-top: 40px;
    }

    main {
        background-position: 28%;
    }

    #footer a {
        background-color: #FD8B5A;
        padding: 0;
    }

    h1 {
        padding: 20px;
    }

    .form-container {
        width: 80% !important;
    }

    .carousel a {
        min-width: calc(100%);
    }

    #offers h2 {
        font-size: 38px;
        margin-bottom: 50px;
    }

    .form-container input, .form-container textarea { 
        max-width: 100%;
        box-sizing: border-box;
    }
}