@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap');


html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: 'Merriweather', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a {
    text-decoration: none;
    color: black;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 24px;
}

a:hover {
    color: #bda486;
}

main {
    margin: 0;
    padding: 0;
}

.notfound {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    padding-bottom: 5rem;
}

.btn-home {
    color: #065363;
    text-decoration: underline;
}

/*HEADER*/
header {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding-left: 5%;
    text-align: end;
    width: 100%;
    height: 500px;
}

.logo-a {
    display: flex;
    gap: 10px;
    align-items: start;
    margin: 30px;
    height: fit-content;
}

.logo {
    height: 50px;
    z-index: 2;
}

h1 {
    font-family: 'Merriweather Sans', sans-serif;
    line-height: 0.8;
    margin: 0;
    color: white;
}

h1:hover {
    color: #bda486;
}


.subtitle {
    font-size: 20px;
}

nav {
    display: flex;
    align-items: start;
    width: 60%;
    justify-content: end;
    border-bottom: 1px solid black;
    padding-right: 50px;
    margin-right: 10%;
    height: fit-content;
}

ul {
    margin: 0;
    display: flex;
    text-decoration: none;
    gap: 20px;
    list-style-type: none;
    justify-content: end;
    align-items: center;
    padding: 20px;
    padding-top: 40px;
}

ul a {
    color: white;
}

.quote {
    font-family: 'Merriweather Sans', sans-serif;
    text-align: end;
    font-size: 30px;
    margin-right: 10%;
    line-height: 1.5;
}

.line1 {
    display: flex;
    position: absolute;
    top: 30px;
    right: 7%;
    height: 700px;
    border-right: 1px black solid;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    z-index: -1;
    object-position: 0% 80%;
    object-fit: cover;
}

@media screen and (max-width: 730px) {

    h1 {
        font-size: 20px;
    }

    .subtitle {
        font-size: 12px;
    }


    .line1 {
        height: 750px;
    }


    nav {
        display: flex;
        justify-content: right;
        border-bottom: none;
        margin-right: auto;
        padding: 2%;
        padding-left: 10%;
        padding-right: 10%;
    }

    ul {
        flex-direction: column;
        gap: 15px;
        padding-top: 30px;
        padding-right: 0px;

    }

    ul a {
        font-size: 16px;
        padding: 10px;
    }

    .quote {
        display: flex;
        justify-content: right;
        margin-right: auto;
        margin-top: 18px;
        padding: 2%;
        padding-left: 10%;
        padding-right: 10%;
        font-size: 16px;
    }

    header {
        width: 100%;
        height: 230px;
        background-position: 10% 50%;
        padding-left: 0;
    }

    video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 230px;
        z-index: -1;
        object-position: 50% 80%;
        object-fit: cover;
    }

}

@media screen and (max-width: 488px) {


    h1 {
        font-size: 20px;
    }


    .quote {
        justify-content: center;
    }

    nav {
        padding-left: 0%;
    }

    .line1 {
        top: 40px;
        height: 330px;
    }

}

/*SERVICE*/


h2 {
    font-family: 'Merriweather Sans', sans-serif;
}

p {
    margin-top: 50px;
}

.services {
    margin: 5%;
    margin-right: 10%;
    margin-left: 10%;
}

article {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
}

.article1,
.article2 {
    opacity: 0;
    transition: opacity 1s, transform 3s;
}

.slide-left {
    transform: translateX(-5%);
}

.slide-right {
    transform: translateX(5%);
}

.fade-in-article {
    opacity: 1;
}

.service-img {
    height: auto;
    width: 40rem;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    margin-top: 2%;
    margin-bottom: 2%;
}

.service-txt {
    text-align: justify;
}

.btn-contact {
    display: flex;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: x-large;
    text-decoration: underline 1px #065363;
    text-underline-offset: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

@media screen and (max-width: 1250px) {
    .service-img {
        width: 30rem;
    }
}

@media screen and (max-width: 1100px) {
    .service-img {
        height: auto;
        width: 20rem;
        margin-right: 2%;
        margin-left: 2%;
    }

    .slide-left {
        transform: translateX(-1%);
    }

    .slide-right {
        transform: translateX(1%);
    }
}

@media screen and (max-width: 750px) {
    article {
        flex-direction: column;
    }

    .article2 {
        flex-direction: column-reverse;
    }

    .service-txt h2 {
        font-size: 16px;
    }


    .service-txt p {
        font-size: 14px;
        margin-top: 10px;
    }

    .service-img {
        height: auto;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .slide-left {
        transform: translateX(-0%);
    }

    .slide-right {
        transform: translateX(0%);
    }
}


/*MISSION*/

h3 {
    font-family: 'Merriweather Sans', sans-serif;
}

.mission-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f5f5f5;
    padding-bottom: 40px;
}

.mission-div {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 40px;
    margin-bottom: 40px;
}

.mission-txt {
    width: 50%;
    padding: 2%;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: center;
}

.mission-txt1 {
    border-right: 2px solid black;
}

.mission-list {
    list-style: square;
    justify-content: center;
    padding-top: 0;
    flex-wrap: wrap;
}

@media screen and (max-width: 480px) {
    .mission-txt {
        font-size: 10px;
    }

    .mission-txt h2 {
        font-size: 14px;
    }

    .mission-txt h3 {
        font-size: 12px;
    }

    .mission-list {
        font-size: 14px;
    }
}

/*TEAM*/

.team-section {
    margin: 10%;
    background-image: url(./gallery/basalt-Team.webp);
    background-size: cover;
    background-position: 50% 50%;
    height: 500px;
    display: flex;
    align-items: center;
    padding: 20px;
    opacity: 0;
    /* Initially hide the section */
    transition: opacity 1s, transform 1s;
    /* Add transition effect for opacity and transform */
    transform: translateY(50px);
    /* Initially position the section below the viewport */
}


.fade-in {
    opacity: 1;
    transform: translateY(0);
    /* Move the section to its original position */
}

.team-txt {
    width: 75%;
    padding: 2%;
    color: white;
    background-color: rgba(0, 0, 0, 0.42);
}



.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #065363;
}

.map-img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}



@media screen and (max-width: 750px) {


    .team-section {
        margin: 10%;
        background-position: 70% 50%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .team-txt {
        width: 100%;
    }


    .team-txt h2 {
        font-size: 16px;
        text-align: center;
    }

    .team-txt p {
        font-size: 12px;
        margin: 10px;
        text-align: center;
    }

    .team-section {
        margin: 10%;
        background-position: 80% 50%;
        height: auto;
    }

    .map-img {
        width: auto;
        position: relative;
        height: 250px;
        left: -150px;
        margin: 0;
        padding: 0;
    }
}

/*Offer / SERVICES LIST */
.offer-section {
    padding-top: 50px;
   
}

.offer-ul {
    display: flex;
    flex-direction: column;
    list-style: square;
    justify-content: end;
    align-items: start;
    padding: 20px;
    padding: 40px;

}

.offer-a {
    display: inline-block;
    /* Ensures it respects dimensions */
    padding: 0px;
    /* Adjust padding as needed for spacing around text */
    margin: 20px;
    /* Adjust margin as needed */
    text-decoration: none;
    /* Remove underline if not needed */
    border-radius: 8px;
    /* Optional: Rounded corners for aesthetics */
}

.offer-btn {
    background-color: #065363;
    padding: 10px;
    border: black solid 1px;
    color: white;
    border-radius: 8px;
    font-size: 18px;
}

.offer-btn:hover {
    background-color: #bda486;
    border: #bda486 solid 1px;
    cursor: pointer;
}

.icoca-section {

    display: flex;
    flex-direction: row;
    height: 120px;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    padding-bottom: 50px;
}

.icoca {
    display: flex;
    position: relative;
    height: 120px;
    margin-right:20%;
}

.hr-icoca {
    margin:0;
    width: 50%;
}
/* Carrousel Clients */

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    margin-left: 5%;
    margin-right: 5%;
}

.logo-title {
    padding: 10px;
    width: 150px;
    font-size: 24px;
}

@keyframes slides {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.logos {
    z-index: 0;
    overflow: hidden;
    padding: 30px 0px;
    white-space: nowrap;
    position: relative;
    margin-left: 5%;

}

.logos:before,
.logos:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;

}

.logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.logo_items {
    display: inline-block;
    animation: 35s slides infinite linear;
}

.logos:hover .logo_items {
    animation-play-state: paused;
}

.logo_items img {
    height: 120px;
    margin-top: 10px;
    margin-left: 80px;
}

@media screen and (max-width: 480px) {

    .logos:before,
    .logos:after {
        position: absolute;
        top: 0;
        content: '';
        width: 20px;
        height: 100%;
        z-index: 2;

    }
}

/*footer*/
footer {
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding-right: 5%;
    padding-left: 5%;
    text-align: center;
    flex-direction: column;
    gap: 40px;
    border-top: 1px solid black;

}


.section-footer {
    display: flex;
    justify-content: space-between;
    text-align: end;
    align-items: start;
    gap: 40px;
}

.icone-footer {
    height: 60px;
}

.footer-logo {
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 50px;
    line-height: 0.8;
    font-weight: bold;
    margin: 0;
}

.footer-icoca {

    display: flex;
    flex-direction: row;
    height: 50px;
    justify-content: center;
    align-items: center;
}

.footer-hr-icoca {
    margin:0;
    width: 70%;
}
.footer-icone-icoca {
    display: flex;
    position: relative;
    height: 40px;
   
}

.contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 150px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-phone {
    margin: 1%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    line-height: 1.5;
    white-space: nowrap;
   
}

.footer-mail {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 24px;
}

.icone-mail {
    position: relative;
    width: 44px;
    height: 44px;
}

.mail {
    font-size: 18px;
    white-space: nowrap;

}

.legal-section {
    font-size: 16px;
    border-top: 1px solid #bda486;
}


.line2 {
    display: flex;
    position: absolute;
    top: 4000px;
    left: 3%;
    height: 500px;
    border-right: 1px black solid;
}

@media screen and (max-width: 1250px) {
    .section-footer {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .line2 {
        top: 3100px;
    }
}

@media screen and (max-width: 915px) {
    .footer-contact {
        flex-direction: column;
    }


}

@media screen and (max-width: 750px) {

    .footer-logo {
        text-align: end;
    }

    .footer-mail {
        margin-top: 20px;
    }

    .line2 {
        top: 3150px;
    }
}

@media screen and (max-width: 480px) {
    .footer-mail {
        font-size: 14px;
    }

    .legal-section {
        font-size: 14px;
    }

    .line2 {
        display: none;
    }

}

/*LEGALS*/

.mentions {
    margin: 10%;
}

.hr-mention {
    margin-top: 100px;
}

.mention-img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    width: 100%;
    height: 500px;
    gap: 10px;
}

.mentions-picture {
    width: auto;
    height: 500px;
}

.map-mentions {
    margin-top: 200px;
    margin-bottom: 200px;
}

a.cky-banner-element {
    padding: 8px 30px;
    background: #F8F9FA;
    color: #858A8F;
    border: 1px solid #DEE2E6;
    box-sizing: border-box;
    border-radius: 2px;
    cursor: pointer;
}

@media screen and (max-width: 800px) {
    .mention-img {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .mentions-picture {
        width: 100%;
        height: auto;
    }

}

@supports not (background-image: url(./gallery/basalt-Team.webp)) {


    .team-section {
        margin: 10%;
        background-image: url(./gallery/basalt-Team.png);
    }
}