body,
html {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background: #f2f2f2;
    scroll-behavior: smooth;
}

:root {
    --color_1: #ff6900;
    --color_2: #1d1d1d;
    --color_3: #283346;
}

h1,
h2 {
    font-weight: 900;
    font-size: 30px;
    text-transform: uppercase;
    color: var(--color_3);
}

p {
    line-height: 35px;
}

a {
    text-decoration: none;
}

#occasion,
#atelier,
#infos {
    scroll-margin-top: 25px;
}

.container {
    max-width: 1320px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    padding: 0 25px;
    background: var(--color_1);
    color: white;
    border: none;
    border-radius: 5px;
    height: 40px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    width: fit-content;
    cursor: pointer;
}

.navigation {
    background: var(--color_2);
    height: 154px;
    border-bottom: 7px solid var(--color_1);
    position: relative;
}

.navigation-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.navigation-content ul {
    display: flex;
    gap: 45px;
    list-style: none;
}

.navigation-content ul li > a {
    color: white;
    text-decoration: none;
}

.navigation-content-list li a:hover {
    text-decoration: underline #ff6900 2px;
}

.navigation-content-logo {
    position: absolute;
    left: 60px;
    display: flex;
    flex-direction: column;
}

.hd-logo {
    height: 100px;
    object-fit: cover;
}

.phone-number {
    color: var(--color_1);
}

.social-nav-icon,
.social-mobile-icon {
    position: absolute;
    right: 60px;
    display: flex;
    gap: 20px;
}

.social-nav-icon img,
.social-mobile-icon img {
    width: 30px;
}

.social-mobile-icon {
    display: none;
}

#mobile-menu {
    background: var(--color_2);
    display: none;
    position: absolute;
    right: 0;
    top: 70px;
    padding: 18px;
    flex-direction: column;
    gap: 20px;
}

#mobile-menu a {
    color: white;
}

@media (max-width: 1300px) {
    .social-nav-icon,
    .navigation-content-list,
    .phone-number {
        display: none !important;
    }

    .navigation {
        height: 70px !important;
    }

    .hd-logo {
        width: 150px;
        height: auto !important;
    }

    .navigation-content {
        margin: 0 10px;
        justify-content: space-between !important;
    }

    .navigation-content-logo {
        position: relative !important;
        left: 0 !important;
    }

    .social-mobile-icon {
        cursor: pointer;
        right: 20px !important;
        display: block !important;
    }

    #mobile-menu {
        display: none;
    }
}

.banner {
    background-image: url("../img/banner.jpg");
    background-repeat: no-repeat;
    height: 470px;
    width: 100%;
    background-position-y: -100px;
    background-size: cover;
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator .line {
    flex: 1;
    height: 1px;
    background: var(--color_3);
}

.separator .title {
    margin: 47px 20px;
}

.card-image-text {
    background: white;
    display: flex;
    margin-bottom: 75px;
}

.card-image-text p {
    padding: 40px;
    line-height: 35px;
}

.card-image-text img {
    object-fit: cover;
}

@media (max-width: 1000px) {
    .card-image-text img {
        display: none;
    }

    .banner {
        height: 320px;
    }
}

@media (max-width: 750px) {
    .banner {
        height: 150px;
        background-position-y: -20px;
    }
}

.subtitle-line {
    width: 54px;
    height: 3px;
    background: var(--color_1);
}

.card-title {
    margin: 0;
}

.card-title-text-image {
    margin: 77px 0;
}

.card-title-text-image .card-title {
    color: white;
    background: var(--color_1);
    font-size: 25px;
    font-weight: 900;
    display: flex;
    justify-content: center;
    padding: 10px;
}

.card-title-text-image .card-content {
    background: white;
    padding: 48px;
}

.card-title-text-image .card-content div {
    text-align: center;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
}

.card-title-text-image img {
    width: 100%;
    object-fit: cover;
}

.card-contact {
    background: white;
    padding: 65px;
    display: flex;
    margin-bottom: 77px;
}

.card-contact p {
    margin: 0;
    line-height: 25px;
}

.card-contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card-contact-right {
    flex: 1;
    margin-bottom: 20px;
}

.contact-subtitle {
    font-weight: 700;
    font-size: 18px;
    color: #abafc2;
}

.contact-link {
    display: block;
    text-decoration: none;
    color: #1d1d1d;
}

.social-icon {
    width: 40px;
    margin-right: 15px;
}

@media (max-width: 1000px) {
    .card-contact {
        flex-direction: column-reverse;
        padding: 21px;
    }

    .card-title-text-image .card-content,
    .card-image-text {
        padding: 21px;
    }

    .card-image-text p {
        padding: 0;
    }
}

.legal {
    margin: 25px 0;
}

.legal a {
    text-decoration: underline;
    color: var(--color_2);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.modal {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cancel-btn {
    color: gray;
    border: none;
    cursor: pointer;
    background: none;
}
