@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Parisienne&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    --black-background: #000000;
    --color-background: #f8f8f8;
    --color-text: #333333;
    --color-primary: #e30613;
    --color-secondary: #8B0000;
    --color-tertiary: #bfbfbf;

    /*========== Font and Typography ==========*/
    --title-font: 'Oswald', sans-serif;
    --text-font: 'Roboto', sans-serif;
    --decoration-font: 'Parisienne', cursive;

    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --h4-font-size: 1.25rem;
    --size-normal: 1rem;
}


html {
    font-size: clamp(14px, 1.2vw, 18px);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--black);
    font-weight: 400;
}

p,
body,
a {
    font-family: 'Roboto', serif;
}

body {
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* Text decoration au dessus des <h1> et <h2> */
.decorative-text {
    font-family: var(--decoration-font);
    font-size: 1.5rem;
    color: var(--color-primary );
}

.block-text {
    padding: 0 1rem;
}

.text-content {
    font-size: 1rem;
    color: var(--black);
    line-height: 1.6;
    margin-bottom: 20px;
}


/*---- Header start ----*/

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.pushundernavbar {
    margin-top: 105px;
}

.call-burger {
    display: none;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: var(--black-background);
    color: var(--white);
    padding: 20px;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 80px;
}

/* ---------- NAVBAR LIST & ITEMS ---------- */
.nav-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    white-space: nowrap;
    flex-wrap: wrap;
    overflow: visible;
    /* important pour ne pas couper les dropdown */
    transition: all 0.3s ease;
}

.nav-item {
    position: relative;
    width: fit-content;
}

.nav-item a {
    font-size: 1rem;
    border-radius: 5px;
    color: var(--white);
    padding: 10px 30px;
    display: block;
    transition: all 0.3s ease;
}

.nav-item a:hover,
.nav-item.active>a {
    background: var(--white);
    color: var(--black);
}

.nav-item:last-child {
    display: none;
}

.nav-item:last-child a {
    background: var(--black);
    color: var(--color-primary );
}

/* ---------- DROPDOWN (DESKTOP) ---------- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    border-radius: 5px;
    z-index: 100;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    list-style: none;
    padding: 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.nav-item:nth-child(2) .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.dropdown-menu a {
    color: var(--black);
    padding: 10px 50px;
    display: block;
}

.dropdown-menu a:hover {
    background: var(--black);
    color: var(--white);
}

/* Hover = visible (desktop) */
.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

/* ---------- SOCIALS ---------- */
.social-media {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-media2 a,
.social-media a {
    color: var(--color-primary );
    font-size: 2.2rem;
    transition: all 0.3s ease;
}

.social-media2 a:hover,
.social-media a:hover {
    color: var(--white);
}


@media screen and (max-width: 1114px) {

    .nav-list {
        position: absolute;
        background-color: rgba(0, 0, 0, 0.873);
        top: 105px;
        right: 100%;
        width: 100%;
        padding: 30px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        transition: all 0.5s ease;
        overflow: hidden;
        /* ici on coupe pour l’animation du menu mobile */
    }

    .nav-list.open {
        right: 0;
    }

    .nav-item {
        width: 300px;
    }

    .nav-item a {
        text-align: center;
    }

    .nav-item:last-child {
        display: block;
    }

    .social-media2 {
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .social-media2 img {
        width: 70px;
    }

    .social-media2 a {
        padding: 10px;
    }

    /* ---------- DROPDOWN (MOBILE) ---------- */
    .dropdown-menu {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin: 0;
        max-height: 0;
        /* fermé par défaut */
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-item:nth-child(2) .dropdown-menu {
        grid-template-columns: 1fr;
    }

    /* Ouverture via la classe .open */
    .nav-item.open .dropdown-menu {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
    }

    /* Hover = visible (desktop) */
    .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(0);
    }



    /* Call - burger */
    .call-burger {
        width: fit-content;
        display: block;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .call-btn {
        color: var(--black);
        background-color: var(--color-primary );
        font-size: 1.3rem;
        border-radius: 50%;
        padding: 15px;
        transition: all 0.3s ease;
    }

    .call-btn:hover {
        background-color: var(--white);
        color: var(--color-primary );
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    .call-btn:focus {
        outline: none;
        background-color: var(--color-primary );
        color: var(--black);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* burger */
    .burger {
        color: var(--color-primary );
        border: none;
        background-color: var(--black-background);
        width: 20px;
        font-size: 2.2rem;
    }

    .social-media {
        display: none;
    }
}

/*---- Main ----*/

/* Section de présentation */
.section {
    width: 100%;
    padding: 50px 0;
}

.slide-content {
    padding: 2rem;
}

.title-container {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.section-title.white {
    color: var(--white);
}

.span-title,
.span-title-hero {
    color: var(--color-primary );
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--decoration-font);
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: stretch;
    /* Force les éléments à prendre la hauteur complète */
    padding: 0 50px;
}

.text-container {
    flex: 1;
    width: 50%;
}

.image-container {
    flex: 1;
    width: 50%;
    background-image: url('../images/ferronnerie-letouque-garde-corps-fer-forge-saint-jean-cap-ferrat.webp');
    background-size: cover;
    background-position: center;
    display: block;
    border-radius: 5px;
    position: relative;
    /* Assurer l'affichage */
    min-height: 400px;
}


.float-container {
    width: 200px;
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: var(--color-primary );
    border-radius: 0 40px 0 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 25px 10px;
}

.float {
    width: fit-content;
}

.float-title {
    font-size: 2.5rem;
    color: var(--white);
    font-family: var(--title-font);
    margin-left: -12px;
}

.float-text {
    color: var(--white);
    font-family: var(--text-font);
    width: fit-content;
}

.text-container p {
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--color-text);
}

@media screen and (max-width: 1000px) {
    .wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .text-container,
    .image-container {
        width: 100%;
        height: 500px;
    }
}


#realisation {
    background-color: rgb(8, 1, 29);
    color: var(--white);
    padding: 50px 0;
}

#realisation h2 {
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}




/*---- Gallery2  ----*/
#gallery {
    background-color: var(--black-background);
    color: var(--white);
    padding: 50px 0;
}

.section-gallery {
    text-align: center;
}

.gallery2-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    overflow: hidden;
}

.gallery2-item {
    width: 25vw;
    height: auto;
    overflow: hidden;
    padding: 0 10px;
}


@media (max-width: 900px) {
    .gallery2-item {
        width: 50vw;
    }
}

@media (max-width: 600px) {
    .gallery2-item {
        width: 80vw;
    }
}

/* Style des items */
.gallery2-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery2-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Texte en bas de l'image */
.gallery2-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1rem;
    transition: opacity 0.3s ease-in-out;
}

.gallery2-text h3 a {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: inherit;
}

.gallery2-item:hover .gallery2-text {
    opacity: 0;
}



.galllery2-overlay h3 a {
    color: var(--white);
    font-size: 1.2rem;
}

.galllery2-overlay p {
    color: var(--white);
    font-size: 0.8rem;
    text-align: center;
}

.galllery2-overlay {
    position: absolute;
    width: 80%;
    height: 80%;
    padding: 5px;
    border-radius: 5px;
    background-color: rgba(255, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: opacity 0.3s ease-in-out, clip-path 0.4s ease-in-out;
}

.gallery2-item:hover .galllery2-overlay {
    opacity: 1;
    clip-path: circle(75% at 50% 50%);
}

/* ==============================
   Galerie Produits avec MixItUp
   ============================== */
.wrap {
    overflow: hidden;
    padding: 1rem;
}

.twelve {
    height: fit-content;
}

.filter_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-btn {
    border: none;
    width: fit-content !important;
    padding: 8px 15px;
    background-color: #dfdfdf;
    transition: all .4s ease;
}

.filter-btn:hover {
    background-color: var(--color-primary );
    color: white;
    cursor: pointer;
}

.filter-btn.active {
    background-color: var(--color-primary );
    color: white;
}

.filter_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    height: fit-content;
    list-style: none;
}

.mix-target {
    height: fit-content;
}


.filter_link:hover {
    background: #99cfe0;
}

.courses .mix-target {
    display: none;
}

.filter_item {
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .filter_item {
        width: 40vw;
    }
}

@media (max-width: 600px) {
    .filter_item {
        width: 80vw;
    }
}

.filter_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ✅ Overlay centré */
.filter_overlay {
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(251, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* ✅ centré verticalement */
    text-align: center;
    opacity: 0;
    clip-path: circle(0% at 50% 50%);
    transition: opacity 0.6s ease, clip-path 0.8s ease;
}

.filter_item:hover .filter_overlay {
    opacity: 1;
    clip-path: circle(150% at 50% 50%);
}

.filter_overlay h3 a {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.filter_overlay p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ✅ Titre en bas par défaut (quand pas hover) */
.filter_text {
    width: 100%;
    min-height: 30%;
    background-color: #3f3f3f00;
    padding: 5px 10px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    transition: opacity 0.3s ease;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter_text a {
    color: inherit;
    text-decoration: none;
    font-size: 1rem;
}


.filter_item:hover .filter_text {
    opacity: 0;
}

/* Dropdown2 */
.dropdown2 {
    position: relative;
}

.dropdown2-toggle {
    border: none;
    padding: 8px 15px;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.3s;
}

.dropdown2-toggle:hover {
    background-color: var(--color-primary );
    color: #fff;
}

/* Menu caché par défaut */
.dropdown2-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--white);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    margin: 0;
    min-width: 180px;
    /* largeur mini du menu */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.dropdown2-menu li {
    width: 100%;
}

.dropdown2-menu button {
    display: block;
    width: 100% !important;
    text-align: left;
    padding: 10px 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.dropdown-menu button:hover {
    background-color: var(--color-primary );
}


/* ----- STYLE 2eme Partie ----- */


/* Point actif */
.dot.active {
    background: rgba(255, 255, 255, 1);
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-primary );
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}


.cta-button:hover {
    background-color: var(--black-background);
    transform: translateY(-2px);
}

/* scroll to top */
.scroll-top {
    display: none;
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    left: 20px;
    background-color: var(--color-primary );
    color: var(--white);
    padding: 10px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 1 1 5px var(--color-primary );
    animation: pulse 2s infinite;
}

.scroll-top:hover {
    background-color: var(--black-background);
    color: var(--white);
    scale: 1.1;
}

.scroll-top.visible {
    display: block;
}

/* btn-call en position fixe en bas à gauche */
.btn-call {
    display: block;
    background-color: var(--color-primary );
    color: var(--white);
    padding: 11px 11px;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: fixed;
    bottom: 20px;
    right: 20px;
    box-shadow: 0 1px 5px var(--black);
    z-index: 1000;
    animation: pulse 2s infinite;
}

/* 
      *Animations 
  */

/* Animation de carrousel (uniquement vers la gauche) */
@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Animation de pulse */
@keyframes pulse {
    0% {
        /* transform: scale(1); */
        box-shadow: 0 0 0px var(--black);
    }

    50% {
        /* transform: scale(1.1); */
        box-shadow: 0 0 10px var(--black);
        ;
    }

    100% {
        /* transform: scale(1); */
        box-shadow: 0 0 0px var(--black);
    }
}


/* media queries moins de 768px */
@media (max-width: 768px) {

    /* Toggle Button */
    .menu-toggle {
        display: block;
    }
}

.landscaper-intro {
    padding: 80px 0;
    background-color: #fff;
}

.intro-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.intro-images {
    position: relative;
}

.main-image {
    width: 100%;
    max-width: 500px;
}

.portrait {
    width: 100%;
    height: auto;
}

.garden-images {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 50%;
    z-index: 2;
}

.garden {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 4px;
}

.quote-box {
    position: absolute;
    bottom: 10%;
    right: -5%;
    background-color: var(--secondary-color);
    color: white;
    padding: 30px;
    width: 80%;
    border-radius: 4px;
}

.quote-box p {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.4;
}

.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 20px;
}

.intro-content {
    padding-top: 40px;
}

.subtitle {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.title {
    color: var(--color-primary );
    font-size: 1rem;
    margin-bottom: 30px;
}


.content p {
    margin-bottom: 20px;
    line-height: 1.4;
    color: #333;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 15px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary );
    text-transform: uppercase;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    text-transform: uppercase;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .intro-container {
        gap: 40px;
    }

    .garden-images {
        right: -5%;
    }

    .quote-box {
        right: 0;
    }
}

@media (max-width: 992px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .intro-images {
        max-width: 600px;
        margin: 0 auto;
    }

    .garden-images {
        position: relative;
        top: -30%;
        right: -30%;
        width: 60%;
    }

    .quote-box {
        position: relative;
        width: 90%;
        margin-top: -20%;
    }
}

@media (max-width: 768px) {
    .landscaper-intro {
        padding: 40px 0;
    }

    .intro-container {
        padding: 0 20px;
    }

    .garden-images {
        right: -20%;
        width: 70%;
    }

    .title {
        font-size: 2rem;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .garden-images {
        right: -10%;
        width: 80%;
    }

    .quote-box {
        width: 100%;
        padding: 20px;
    }
}

.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.services-title {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 10px;
}

.services-subtitle {
    color: var(--color-primary );
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    grid-auto-rows: 300px;
}

.service-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.service-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.service-content h4 {
    font-size: 24px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Grid Layout */
.terrasses {
    grid-column: span 4;
    background: url('terrasse.jpg') center/cover no-repeat;
}

.amenagements {
    grid-column: span 8;
    background: url('amenagement.jpg') center/cover no-repeat;
}

.gazons {
    grid-column: span 4;
    background: url('gazon.jpg') center/cover no-repeat;
}

.jardins {
    grid-column: span 4;
    background: url('jardin.jpg') center/cover no-repeat;
}

.allees {
    grid-column: span 4;
    background: url('allee.jpg') center/cover no-repeat;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .terrasses,
    .amenagements {
        grid-column: span 8;
    }

    .gazons,
    .jardins,
    .allees {
        grid-column: span 4;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 40px 0;
    }

    .services-container {
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 250px;
    }

    .terrasses,
    .amenagements,
    .gazons,
    .jardins,
    .allees {
        grid-column: span 4;
    }

    .services-subtitle {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .service-content h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-auto-rows: 200px;
    }

    .service-content {
        bottom: 20px;
        left: 20px;
    }
}

.promise {
    padding: 80px 0;
    background-color: var(--color-primary );
    color: white;
}

.promise-center {
    text-align: center;
    justify-content: center;
}

.promise-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.promise-title {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.promise-heading {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.promise-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.promise-cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 60px;
}

.promise-cta:hover {
    background-color: var(--secondary-color);
    color: white;
}

.promise-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promise-card {
    background-color: #F5F2EA;
    border-radius: 8px;
    padding: 30px;
    color: #333;
    position: relative;
}

.card-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-content h4 {
    color: var(--color-primary );
    font-size: 20px;
    margin-bottom: 20px;
    padding-right: 60px;
}

.card-content p {
    font-size: 14px;
    line-height: 1.6;
}

/* ------------------------------- Page contact ------------------------------- */
.contacts-info {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;
    background-color: #f9f9f9;
}

.contact-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 80%;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-box a {
    color: var(--color-primary );
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.contact-box span {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-box h3 {
    font-size: 1.2rem;
    color: var(--color-primary );
    margin-bottom: 10px;
}

.contact-box a:last-child {
    font-size: 1rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .contacts-info {
        flex-direction: column;
        align-items: center;
    }

    .contact-box {
        width: 80%;
        margin-bottom: 20px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .promise-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .promise {
        padding: 40px 0;
    }

    .promise-container {
        padding: 0 20px;
    }

    .promise-heading {
        font-size: 32px;
    }

    .promise-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .promise-heading {
        font-size: 32px;
    }

    .promise-card {
        padding: 20px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        top: 20px;
        right: 20px;
    }
}

.gardeners {
    padding: 80px 0;
    background-color: #fff;
}

.gardeners-container {
    max-width: 1400px;
    margin: 0 auto 100px auto;
    padding: 0 50px;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



.gardeners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 60px;
    margin-bottom: 50px;

}

.gardeners-content:last-child {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
    /* Inverse la direction du contenu */
    margin-bottom: 0;
}

.gardeners-content:last-child>* {
    direction: ltr;
    /* Réinitialise la direction pour le texte */
}


.gardeners-text {
    padding-right: 40px;
}

.gardeners-text p {
    margin-bottom: 25px;
    line-height: 1.4;
    color: #333;
}

.highlight {
    color: var(--color-primary );
    font-weight: 600;
}

.gardeners-images {
    position: relative;
    height: 500px;
}

.tools-image {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    top: 0;
    right: 50%;
    transform: translateX(20%) !important;
    z-index: 1;
}

.path-image {
    position: absolute;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    bottom: 0;
    left: 50%;
    transform: translateX(-20%) !important;
    z-index: 2;
}

@media (max-width: 1024px) {
    .gardeners-content {
        gap: 40px;
    }


    .gardeners-text {
        padding-right: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 1000px) {
    .gardeners {
        padding: 40px 0;
    }


    .gardeners-container {
        padding: 0 20px;
    }

    .gardeners-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gardeners-content:last-child {
        grid-template-columns: 1fr;
        direction: rtl;
        /* Inverse la direction du contenu */
        margin-bottom: 0;
    }

    .gardeners-content:last-child>* {
        direction: ltr;
        /* Réinitialise la direction pour le texte */
    }

    .gardeners-text {
        padding-right: 0;
    }

    .gardeners-images {
        height: 400px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gardeners-images {
        height: 300px;
    }

    .tools-image,
    .path-image {
        width: 248px;
        height: 248px;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 380px) {

    .tools-image,
    .path-image {
        width: 200px;
        height: 200px;
    }

}


.garden-care {
    padding: 80px 0;
    background-color: #fff;
}

.garden-care-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.garden-care-title {
    color: var(--color-primary );
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.garden-care-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.garden-care-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.garden-care-text {
    padding-right: 20px;
}

.garden-care-text p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.garden-care-list {
    list-style: none;
    margin: 10px 0px 20px 0px;
}

.garden-care-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
    padding-left: 20px;
    position: relative;
}

.garden-care-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 20px;
}

.eco-list {
    list-style: none;
    margin: 10px 0px 20px 0px;
}

.eco-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: white;
    padding-left: 20px;
    position: relative;
}

.eco-list li::before {
    content: "•";
    color: white;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .garden-care {
        padding: 40px 0;
    }

    .garden-care-container {
        padding: 0 20px;
    }

    .garden-care-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .garden-care-text {
        padding-right: 0;
        order: 1;
    }

    .garden-care-image {
        order: 2;
    }

    .garden-care-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .cta-button {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .garden-care-title {
        font-size: 32px;
    }

    .garden-care-list li {
        font-size: 15px;
    }
}

.professional-landscaping {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.landscaping-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.landscaping-title {
    color: var(--color-primary );
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.landscaping-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.landscaping-text {
    padding-right: 40px;
}

.landscaping-text p {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
}

.landscaping-list {
    list-style: none;
    margin: 30px 0;
}

.landscaping-list li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
}

.landscaping-list li::before {
    content: "•";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 20px;
}

.landscaping-image {
    position: relative;
    height: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .landscaping-title {
        font-size: 36px;
    }

    .landscaping-content {
        gap: 40px;
    }

    .landscaping-text {
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .professional-landscaping {
        padding: 40px 0;
    }

    .landscaping-container {
        padding: 0 20px;
    }

    .landscaping-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .landscaping-text {
        padding-right: 0;
    }

    .landscaping-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .landscaping-title {
        font-size: 32px;
    }

    .landscaping-list li {
        font-size: 15px;
    }
}

.ecological-maintenance {
    padding: 80px 0;
    background-color: var(--color-primary );
    color: white;
}

.eco-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.eco-header {
    margin-bottom: 60px;
}

.eco-subtitle {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.eco-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
}

.eco-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* align-items: center; */
}

.eco-text {
    padding-right: 40px;
}

.eco-text p {
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 16px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

.eco-cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.eco-cta:hover {
    background-color: white;
    color: var(--color-primary );
    transform: translateY(-2px);
}

.eco-images {
    position: relative;
    height: 500px;
}

.eco-image-1 {
    position: absolute;
    width: 60%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    top: 0;
    left: 0;
    z-index: 1;
}

.eco-image-2 {
    position: absolute;
    width: 60%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    bottom: 0;
    right: 0;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .eco-title {
        font-size: 36px;
    }

    .eco-content {
        gap: 40px;
    }

    .eco-text {
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .ecological-maintenance {
        padding: 40px 0;
    }

    .eco-container {
        padding: 0 20px;
    }

    .eco-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .eco-text {
        padding-right: 0;
    }

    .eco-images {
        height: 400px;
    }

    .eco-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .eco-images {
        height: 300px;
    }

    .eco-image-1,
    .eco-image-2 {
        height: 250px;
    }

    .eco-title {
        font-size: 32px;
    }
}

.lighting-showroom {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.lighting-side {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.lighting-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.lighting-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.lighting-content h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 40px;
}

.lighting-text {
    font-size: 16px;
    line-height: 1.8;
}

.lighting-text p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.showroom-side {
    width: 450px;
    background-color: rgba(181, 168, 140, 0.9);
    padding: 60px 40px;
    display: flex;
    align-items: center;
}

.showroom-content {
    color: white;
}

.showroom-content h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 30px;
    font-weight: 500;
}

.showroom-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}


@media (max-width: 1200px) {
    .lighting-content h2 {
        font-size: 36px;
    }

    .showroom-side {
        width: 400px;
    }
}

@media (max-width: 992px) {
    .lighting-showroom {
        flex-direction: column;
        min-height: auto;
    }

    .lighting-side {
        min-height: 500px;
        padding: 80px 40px;
    }

    .showroom-side {
        width: 100%;
    }

    .lighting-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .lighting-side {
        min-height: 400px;
        padding: 60px 20px;
    }

    .lighting-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .lighting-content h1 {
        font-size: 32px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }
}

.gallery {
    padding: 0;
    background-color: #fff;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-overlay {
        transform: translateY(0);
    }
}

.footer {
    background-color: var(--black-background);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--color-primary );
    font-size: var(--h4-font-size);
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-primary );
}

.company-info p {
    margin-bottom: 10px;
}

.contact-info {
    margin-top: 20px;
}

.contact-info a {
    display: flex;
    align-items: center;
    color: var(--white);
    gap: 10px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--color-primary );
}

.contact-info i {
    color: var(--color-primary );
}

.address {
    margin-left: 24px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary );
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--color-primary );
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-primary );
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }

    .social-links {
        justify-content: center;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #fff;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ------------------------------- Page Réalisation ------------------------------- */
.realizations {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    /* Centre la grille horizontalement */
}

.realizations .grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    row-gap: 100px;
    column-gap: 20px;
    max-width: 1200px;
    /* Définit une largeur max pour éviter que la grille s'étende trop */
    width: 100%;
    /* S'assure que la grille ne dépasse pas son conteneur */
}

.realizations .card {
    position: relative;
    overflow: hidden;
    min-width: 300px;
    min-height: 300px;
}

.realizations .image-container {
    position: relative;
}

.realizations .image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.realizations .overlay {
    position: absolute;
    padding: 10px;
    text-align: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.533);
    border-radius: 8px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}

.realizations .overlay a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.realizations .card h2 {
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
    color: var(--color-primary );
}

@media (max-width: 600px) {
    .realizations .grid-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}