@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    /* Colors */
    --color-bg: #f7f1e3;
    --color-primary: #2A3073;
    --color-primary-light: #5056A3;
    --color-secondary: #017BA3;
    --color-secondary-light: #03A9C6;
    --color-dark: #333;
    --color-text: #444;
    --color-white: #fff;

    /* Gradients */
    --gradient-primary: linear-gradient(45deg,
            var(--color-primary),
            var(--color-primary-light));
    --gradient-secondary: linear-gradient(45deg,
            var(--color-secondary),
            var(--color-secondary-light));
    --gradient-heading: linear-gradient(45deg,
            var(--color-dark),
            var(--color-primary));
    --gradient-bg: linear-gradient(135deg, var(--color-bg) 0%, #f5e7d3 100%);

    /* Spacing */
    --space-xs: 5px;
    --space-sm: 10px;
    --space-md: 15px;
    --space-lg: 20px;
    --space-xl: 30px;
    --space-xxl: 40px;

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-btn: 0 8px 20px rgba(42, 48, 115, 0.3);
    --shadow-btn-hover: 0 12px 30px rgba(42, 48, 115, 0.4);

    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}
a{
    text-decoration: none !important;
    color: var(--color-dark) !important;
}

body {
    background: var(--gradient-bg);
    color: var(--color-text);
    overflow-x: hidden;
    position: relative;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.4;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite alternate;
}

.bg-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #88d3ce, #6e45e2);
    bottom: 100px;
    left: -50px;
    animation: float 15s ease-in-out infinite alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(40px, 40px) rotate(10deg);
    }
}

/* header */
header {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    transition: transform var(--transition-normal);
}

.navbar-brand img {
    width: 140px;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 90px;
    }
}

label {
    display: none;
}

.navbar-brand:hover {
    transform: scale(1.1);
}

.navbar-nav .nav-item .nav-link {
    position: relative;
    padding-bottom: 5px;
}

.navbar-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.navbar-nav .nav-item .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-item .nav-link:hover {
    color: var(--color-primary);
}

.navbar-nav {
    display: flex;
    justify-content: center;
    --bs-navbar-padding-y: 0;
    width: 100%;
}

.btn {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: 15px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: var(--shadow-btn);
}

.btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
    color: var(--color-white);
}

.navbar-collapse.show {
    display: flex;
}

.navbar-nav .nav-item .btn {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: 15px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: var(--shadow-btn);
}

#contact-btn {
    display: none;
}

@media (max-width: 992px) {
    #contact-btn {
        display: block;
    }

    .navbar-nav .nav-item .btn.d-lg-none {
        display: block;
    }

    .icons {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        color: var(--color-primary);
        width: 35px;
        font-size: 40px;
        cursor: pointer;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        height: 100vh;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.9);
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        z-index: 9;
    }

    .navbar-collapse.show {
        display: flex;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;

    }

    .navbar-nav .nav-item {
        display: flex;
        justify-content: center;
        width: 100%;
        padding-bottom: 20px;
    }

    .navbar-nav .nav-item .nav-link {
        padding: 12px 20px;
        font-size: 1.1rem;
    }

    .navbar-nav .nav-item .nav-link:hover::after {
        width: 100%;
    }
}



/* Section- a propos */
section {
    min-height: 100vh;
    margin: 0;
    width: 100%;
    padding: 0;
}

.row1 {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 20px auto 0;
}

.localisation {
    background: var(--color-secondary-light);
    color: var(--color-dark);
    font-family: 14px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    display: inline-block;
    padding: 6px 30px;
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
    position: relative;
}

.localisation a {
    text-decoration: none;
    color: var(--color-dark);
    font-family: 14px;
    font-weight: 600;
}

.localisation::before {
    content: "📌";
    font-size: 16px;
    margin-right: 8px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.titre1 {
    font-size: 60px;
    font-weight: 1000;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto 10px;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.titre1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.titre2 {
    max-width: 600px;
    padding-top: 15px;
    margin: 0 auto 10px;
    font-size: 18px;
    line-height: 1.6;
}

.row2 {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    max-width: 2000px;
    position: relative;
    height: 200px;
}

.carrousel {
    display: flex;
    gap: 2rem;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.carrousel-wrapper {
    display: flex;
    gap: 2rem;
    animation: scrollCarousel 25s linear infinite;
    width: max-content;
}

.imgWood {
    flex: 0 0 auto;
    width: 160px;
    height: 160px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s linear infinite;
}

.imgWood:hover {
    transform: scale(1.1);
}

.imgWood img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollCarousel {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50% - 1rem), 0, 0);
    }
}

@media (max-width: 992px) {
    .row1 {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }

    .titre1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .row2 {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .row2 {
        margin-top: 30px;
        height: 250px;
    }

    .titre1 {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .titre2 {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (min-width: 1200px) {
    .row2 {
        height: 300px;
    }
}

/* Section Galerie */
.rowGalerie {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: var(--space-xxl);
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.card__section {
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: auto;

}

.card__section {
    display: grid;
    place-items: center;
    padding: 0;
    margin-inline: 1.5rem;
    padding-bottom: 5rem;
}

.card__container {
    display: grid;
    row-gap: 3.5rem;
}

.card__article {
    position: relative;
    overflow: hidden;
}

.card__img {
    width: 328px;
    border-radius: 1.5rem;
}

.card__data {
    width: 260px;
    background-color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    border-radius: 1rem;
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    opacity: 0;
    margin-inline: auto;
    transition: opacity 1s ease-in-out;
    text-align: center;
}

.card__description {
    display: block;
    font-size: 14px;
    margin-bottom: .5rem;
    color: #555;
    line-height: 1.4;
}

.card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: .75rem;
    color: #333;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card__article:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
}

.card__article:hover {
    animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
    animation: show-overflow 2s forwards;

}

.card__article:not(:hover) .card__data {
    animation: remove-data 1s forwards;

}

@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to {
        overflow: initial;
    }

}

@keyframes remove-data {
    0% {
        transform: translateY(-7rem);
    }

    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(5rem);
    }
}

@keyframes show-overflow {
    0% {
        overflow: initial;
        pointer-events: none;
    }

    50% {
        overflow: hidden;
    }
}

@media screen and (min-width: 340px) {
    .card__section {
        margin-inline: 1.5rem;
    }

    .card__data {
        width: 250px;
        padding: 1rem;
    }
}

@media screen and (min-width: 768px) {
    .card__container {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }
}

@media screen and (min-width: 1120px) {
    .card__section {
        height: 60vh;
    }

    .card__container {
        grid-template-columns: repeat(3, 1fr);

    }
}

.titreGalerie1 {
    font-size: 60px;
    font-weight: bold;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto 30px;
    font-family: 14px;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.titreGalerie1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.titreGalerie12 {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .rowGalerie {
        flex-direction: column;
        text-align: center;
    }

    .titreGalerie1 {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .titreGalerie2 {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 5px;
    }
}

@media (max-width: 576px) {

    .titreGalerie1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

}

.rowServices {
    display: flex;
    text-align: center;
    padding-top: var(--space-xxl);
    position: relative;
    overflow: hidden;
    justify-content: center;
    /* Centrer le contenu */
}

.titreServices1 {
    font-size: 3rem;
    font-weight: bold;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto 30px;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.titreServices1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.titreServices2 {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
}

.services-items {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 90%;
    max-width: 1200px;
    margin-top: 30px;
    margin-bottom: 50px;
    justify-content: center;
}

.card__services {
    min-height: 220px;
    width: 100%;
    max-width: 320px;
    padding: 30px;
    color: black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    margin: 10px auto;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card__services:hover {
    transform: scale(1.05);
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.3);
}

.card__services:hover h2 {
    font-weight: 600;
    color: black;
}

.card__services:hover p {
    color: #fff;
}

.card__services:nth-child(1):hover {
    background: linear-gradient(45deg, #2a30739c 0%, #03a9c684 100%),
        url('/public/vente.jpg');
    background-size: cover;
    color: black;
}

.card__services:nth-child(2):hover {
    background: linear-gradient(45deg, #2a30739c 0%, #03a9c684 100%),
        url('/public/decpouper.jpg');
    background-size: cover;
}

.card__services:nth-child(3):hover {
    background: linear-gradient(45deg, #2a30739c 0%, #03a9c684 100%),
        url('/public/placage.jpg');
    background-size: cover;
}

@media screen and (min-width: 768px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .titreServices1 {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .titreServices2 {
        font-size: 14px;
        margin-bottom: 30px;
        padding: 5px;
    }
}

@media screen and (min-width: 1024px) {
    .services {
        grid-template-columns: repeat(3, 1fr);
    }

    .titreServices1 {
        font-size: 40px;
    }
}

@media screen and (min-width: 1120px) {
    .services {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .titreServices1 {
        font-size: 3rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    .services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .titreServices1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
}

.contact {
    position: relative;
    min-height: 100vh;
    padding: 50px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(135deg, #edd59f, #f1e4c5, #edd498);
}

.titreContact {
    font-size: 3rem;
    font-weight: bold;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto 30px;
    background: var(--gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.titreContact::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.titreContact {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--space-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact .content p {
    text-align: center;
    max-width: 700px;
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    color: var(--color-dark);
}

.container_contact {
    width: 100%;
    display: flex;
    justify-content: center;
    align-self: center;
    margin-top: 30px;
}

.contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.boxContact {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.boxContact .icon {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
    color: var(--color-primary);

}

.boxContact .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: var(--color-text);
    flex-direction: column;
    font-weight: 300;
}

.boxContact .text h3 {
    font-weight: 500;
    color: var(--color-primary);
}

.contactForm {
    width: 40%;
    padding: 40px;
    background-color: #fff;
}

.contactForm h2 {
    font-size: 30px;
    color: var(--color-primary-light);
    font-weight: 500;
}

.inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.inputBox input,
.inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #333;
}

.inputBox input:focus~span,
.inputBox textarea:focus~span,
.inputBox input:valid~span,
.inputBox textarea:valid~span {
    transform: translateY(-20px);
    font-size: 12px;
    color: #017BA3;
}

.inputBox input[type="submit"] {
    width: 150px;
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-xl);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: 15px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: var(--shadow-btn);
}

.inputBox input[type="submit"]:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: var(--shadow-btn-hover);
    color: var(--color-white);
}

@media screen and (max-width: 991px) {
    .contact {
        padding: 50px;
    }

    .container_contact {
        flex-direction: column;
    }

    .contactInfo {
        margin-bottom: 40px;
    }

    .contactForm {
        width: 100%;
    }

}

@media screen and (max-width: 600px) {
    .titreContact {
        font-size: 22px;
    }

    .contact .content p {
        font-size: 1rem;
    }

    .contactForm h2 {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.middle-footer {
    margin-bottom: 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.footer-menu-item a {
    position: relative;
    padding-bottom: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-menu-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-normal);
}

.footer-menu-item a:hover::after {
    width: 100%;
}

.footer-menu-item a:hover {
    color: var(--color-primary);
}

.footer-menu-item {
    margin: 0 15px;
}

.bottom-footer {
    font-size: 0.9rem;
    text-align: center;
}

.bottom-footer p {
    margin: 0;
}

.bottom-footer a {
    color: #017BA3;
    text-decoration: none;
}

.bottom-footer a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 991px) {
    .footer-menu {
        flex-direction: column;
        align-items: center;
    }

    .footer-menu-item {
        margin: 10px 0;
    }

    .bottom-footer {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 600px) {
    footer {
        padding: 20px 10px;
    }

    .middle-footer {
        margin-bottom: 15px;
    }

    .footer-menu-item {
        margin: 8px 0;
    }

    .bottom-footer {
        font-size: 0.75rem;
    }
}

