/* Style de base pour Martin Paysage - Version modernisée */

/* Variables CSS pour les couleurs et la typographie */
:root {
    /* Palette de couleurs modernisée - adaptée au logo Martin Paysage */
    --color-white: #FFFFFF;
    --color-green: #2E6E32; /* Vert foncé adapté au logo */
    --color-light-green: #4CAF50;
    --color-dark-green: #1B5E20;
    --color-gray: #F5F5F5;
    --color-dark-gray: #2D3436;
    --color-text: #212529;
    --color-very-light-green: #E8F5E9;
    --color-accent: #81C784;
    
    /* Typographie */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Dimensions */
    --header-height: 80px;
    --section-padding: 100px 0;
    --container-padding: 0 15px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-very-light-green);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--color-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-dark-green);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--color-green);
    color: var(--color-white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn:hover {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn:hover:before {
    left: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-green);
    color: var(--color-green);
}

.btn-outline:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

section {
    padding: 120px 0;
    position: relative;
    
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    text-transform: uppercase;
    color: var(--color-dark-gray);
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--color-green);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Header et Navigation - Modernisée */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-small);
    transition: all 0.4s ease;
}

.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-medium);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--color-dark-gray);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1.5px;
    position: relative;
    transition: all 0.3s ease;
}

.logo h1:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    bottom: -3px;
    left: 0;
    transition: width 0.4s ease;
}

.logo a:hover h1:after {
    width: 100%;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav ul li a {
    display: block;
        font-size: 1.1rem;
        padding: 8px 0;
}

.main-nav ul li a:hover {
    color: var(--color-green);
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-dark-gray);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section - Modernisée */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
}

/* Overlay gradient */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 132, 73, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.5;
    z-index: 1;
}

/* Animated geometric shapes for a modern look */
.hero-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: rotate 30s infinite linear;
    z-index: 2;
}

.hero-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    bottom: -100px;
    left: -100px;
    animation: rotate 20s infinite linear reverse;
    z-index: 2;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animated background elements */
.hero-graphics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-graphic-item {
    position: absolute;
    opacity: 0.07;
    z-index: 1;
}

.hero-graphic-item:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M17,8C8,10,5.9,16.17,3.82,21.34L5.71,22l1-2.3C9,14,14,8.39,21,7.32V1L17,5V8z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatAnimation 15s infinite ease-in-out;
}

.hero-graphic-item:nth-child(2) {
    top: 20%;
    right: 15%;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12,3c0,0-6.186,5.34-9.643,8.232C2.154,11.416,2,11.684,2,12c0,0.553,0.447,1,1,1h2v7c0,0.553,0.447,1,1,1h3c0.553,0,1-0.447,1-1v-4h4v4c0,0.553,0.447,1,1,1h3c0.553,0,1-0.447,1-1v-7h2c0.553,0,1-0.447,1-1c0-0.316-0.154-0.584-0.383-0.768C18.184,8.34,12,3,12,3z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatAnimation 20s infinite ease-in-out reverse;
}

.hero-graphic-item:nth-child(3) {
    bottom: 15%;
    left: 20%;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 22c4.56 0 8.33-3.4 8.92-7.8.09-.64-.48-1.21-1.12-1.12-4.4.59-7.8 4.36-7.8 8.92 0 .64-.57 1.21-1.21 1.12-4.4-.58-7.79-4.35-7.79-8.91 0-4.56 3.39-8.33 7.79-8.92.64-.09 1.21.48 1.21 1.12 0 4.56 3.4 8.33 7.8 8.92.64.09 1.21-.48 1.12-1.12C20.33 7.4 16.56 4 12 4c-4.97 0-9 4.03-9 9s4.03 9 9 9z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatAnimation 25s infinite ease-in-out;
}

.hero-graphic-item:nth-child(4) {
    bottom: 25%;
    right: 10%;
    width: 70px;
    height: 70px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M6,2C4.89,2 4,2.89 4,4V20A2,2 0 0,0 6,22H10V20.09L12.09,18H6V16H14.09L16.09,14H6V12H18.09L20,10.09V8L14,2H6M13,3.5L18.5,9H13V3.5M20.15,13C20,13 19.86,13.05 19.75,13.16L18.73,14.18L20.82,16.26L21.84,15.25C22.05,15.03 22.05,14.67 21.84,14.46L20.54,13.16C20.43,13.05 20.29,13 20.15,13M18.14,14.77L12,20.92V23H14.08L20.23,16.85L18.14,14.77Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: floatAnimation 18s infinite ease-in-out reverse;
}

@keyframes floatAnimation {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, -15px) rotate(5deg); }
    50% { transform: translate(15px, 10px) rotate(0deg); }
    75% { transform: translate(-5px, -10px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.hero-buttons .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-green);
}

.hero-stats {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 50px;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 0 10px;
}

.stat-item:not(:last-child):after {
    content: '';
    position: absolute;
    width: 1px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.3);
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-white);
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Scroll down indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-down span {
    font-size: 0.8rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    font-weight: 300;
}

.scroll-down .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.scroll-down .mouse:before {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background-color: var(--color-white);
    border-radius: 2px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* À Propos Section - Modernisée */
.about-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    padding-bottom: 10px;
    color: var(--color-dark-green);
}

.about-text h3:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: var(--color-green);
    bottom: 0;
    left: 0;
    transition: width 0.4s ease;
}

.about-text:hover h3:after {
    width: 100%;
}

.about-image {
    flex: 1;
    min-width: 300px;
    background-image: url('../images/beautiful-green-park.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    min-height: 450px;
    box-shadow: var(--shadow-large);
    position: relative;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.6s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(46, 125, 50, 0.2), rgba(0, 0, 0, 0.4));
    opacity: 0;
    transition: all 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.values-list {
    margin-top: 30px;
    list-style: none;
    padding-left: 0;
}

.values-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.values-list li:hover {
    transform: translateX(10px);
}

.values-list li i {
    color: var(--color-green);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
    margin-top: 3px;
    transition: all 0.3s ease;
}

.values-list li:hover i {
    transform: scale(1.2);
}

.values-list li strong {
    margin-right: 5px;
    color: var(--color-dark-green);
}

/* Services Section - Modernisée */
.services-section {
    background-color: var(--color-gray);
    position: relative;
    overflow: hidden;
}

.services-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 0;
}

.services-section:after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-large);
}

.service-card:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: var(--color-green);
    top: 0;
    left: 0;
    transition: height 0.4s ease;
    z-index: -1;
}

.service-card:hover:before {
    height: 10px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-green);
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--color-dark-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--color-green);
}

.service-card p {
    color: var(--color-dark-gray);
    margin-bottom: 0;
}

/* Portfolio Section - Modernisée */
.portfolio-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.5s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-large);
}

.portfolio-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    transition: all 0.6s ease;
    position: relative;
    background-color: #f0f0f0; /* Placeholder color */
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(65, 130, 67, 0.8), rgba(0, 0, 0, 0.6));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    z-index: 1;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 0.8;
}

.portfolio-link {
    width: 60px;
    height: 60px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    font-size: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info {
    padding: 25px;
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-info h3 {
    color: var(--color-green);
}

.portfolio-info .location,
.portfolio-info .service {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
}

.portfolio-info .location i,
.portfolio-info .service i {
    color: var(--color-green);
    font-size: 0.8rem;
}

/* Témoignages Section - Modernisée */
.testimonials-section {
    background-color: var(--color-gray);
    position: relative;
    overflow: hidden;
}

.testimonials-section:before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    position: relative;
}

.testimonial-item {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    transition: all 0.5s ease;
}

.testimonial-content {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-medium);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-item:hover .testimonial-content {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--color-green);
    opacity: 0.2;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.testimonial-item:hover .quote-icon {
    transform: scale(1.2);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.client-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--color-dark-gray);
    transition: all 0.3s ease;
}

.testimonial-item:hover .client-info h4 {
    color: var(--color-green);
}

.client-info p {
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    margin-bottom: 15px;
}

.rating {
    color: #FFD700;
}

/* Testimonial navigation buttons */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border: none;
    border-radius: 50%;
    color: var(--color-green);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.testimonial-nav:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Contact Section - Modernisée */
.contact-section {
    background-color: var(--color-white);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/testimonial-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    flex: 1;
    min-width: 320px;
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.contact-info h3 {
    margin-bottom: 35px;
    color: var(--color-dark-green);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--color-green);
    bottom: 0;
    left: 0;
    transition: width 0.4s ease;
}

.contact-info:hover h3:after {
    width: 100px;
}

.contact-info ul {
    margin-bottom: 35px;
}

.contact-info ul li {
    display: flex;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-info ul li:hover {
    transform: translateX(10px);
}

.contact-info ul li i {
    color: var(--color-green);
    font-size: 1.3rem;
    margin-right: 20px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.contact-info ul li:hover i {
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
}

.social-links a:hover {
    background-color: var(--color-dark-green);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

.contact-form {
    flex: 1;
    min-width: 320px;
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s ease;
}

.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-green);
    outline: none;
    box-shadow: 0 0 10px rgba(46, 125, 50, 0.15);
    background-color: #fff;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 15px;
    transition: all 0.5s ease;
}

.form-success-message {
    position: absolute;
    bottom: -80px;
    left: 0;
    width: 100%;
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    animation: slideUp 0.5s forwards;
}

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

/* Footer - Modernisé */
#footer {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

#footer:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(46, 125, 50, 0.05);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.footer-logo h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--color-green);
    bottom: 0;
    left: 0;
    transition: width 0.4s ease;
}

.footer-logo:hover h3:after {
    width: 100%;
}

.footer-links, .footer-services {
    flex: 1;
    min-width: 200px;
}

.footer-links h4, .footer-services h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.footer-links h4:after, .footer-services h4:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--color-green);
    bottom: 0;
    left: 0;
    transition: width 0.4s ease;
}

.footer-links:hover h4:after, .footer-services:hover h4:after {
    width: 80px;
}

.footer-links ul li, .footer-services ul li {
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li:before, .footer-services ul li:before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-green);
    border-radius: 50%;
    left: 0;
    top: 10px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li:hover, .footer-services ul li:hover {
    transform: translateX(10px);
}

.footer-links ul li:hover:before, .footer-services ul li:hover:before {
    opacity: 1;
}

.footer-links ul li a {
    color: #ddd;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--color-light-green);
}

.footer-services ul li {
    color: #ddd;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    position: relative;
}

.creator {
    color: var(--color-light-green);
    transition: all 0.3s ease;
}

.creator:hover {
    letter-spacing: 1px;
}

/* Portfolio items images */
#portfolio-item-1 .portfolio-image {
    background-image: url('../images/ClassicalGarden.jpg');
    background-size: cover;
    background-position: center;
}

#portfolio-item-2 .portfolio-image {
    background-image: url('../images/ContemporaryTerrace.jpg');
    background-size: cover;
    background-position: center;
}

#portfolio-item-3 .portfolio-image {
    background-image: url('../images/ZenGarden.jpg');
    background-size: cover;
    background-position: center;
}

#portfolio-item-4 .portfolio-image {
    background-image: url('../images/OrnamentalVegetableGarden.jpg');
    background-size: cover;
    background-position: center;
}

/* Animations - Assurez-vous que ces classes sont appliquées correctement */
.animate__animated {
    visibility: visible !important;
}

/* Media Queries pour Responsive Design */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    /* S'assurer que le menu hamburger est visible */
    .mobile-menu-btn {
        display: flex;
    }
    
    /* Amélioration de la navigation mobile */
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        box-shadow: var(--shadow-medium);
        transition: all 0.4s ease;
        z-index: 1000;
        display: block;
        overflow-y: auto; /* Pour permettre le défilement si le menu est long */
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 30px;
        gap: 25px;
    }
    
    .main-nav ul li {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    .main-nav ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 8px 0;
    }
    
    /* Amélioration des proportions sur mobile */
    .hero-section {
        height: auto;
        min-height: 600px;
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .service-card {
        width: 100%;
        margin-bottom: 20px;
    }
    /* Ajouter plus de contenu visuel pour éviter le design vide */
    .service-card, .portfolio-item, .testimonial-item, .contact-info, .contact-form {
        margin-bottom: 25px;
        padding: 25px;
        border-radius: 10px;
        border-left: 4px solid var(--color-green);
    }
    
    /* Amélioration des stats sur mobile */
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 20px);
        background-color: rgba(255, 255, 255, 0.15);
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 15px;
    }
    
    /* Amélioration des boutons hero pour mobile */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 30px auto;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px 20px;
        text-align: center;
    }
    
    /* Amélioration des sections sur mobile */
    section {
        padding: 60px 15px;
    }
    
    /* Amélioration de la galerie portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .portfolio-image {
        height: 220px;
    }
    
    .portfolio-image {
        position: relative;
        overflow: hidden;
    }

    .portfolio-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
        transform: skewX(-25deg);
        animation: shine 3s infinite;
    }
}
@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}
@media (max-width: 576px) {
    section {
        padding: 80px 0;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .testimonial-item {
        min-width: 100%;
    }
    
    .contact-info, .contact-form {
        min-width: 100%;
    }
}
@media (min-width: 480px) and (max-width: 768px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        width: 100%;
        max-width: 400px; /* Limiter la largeur sur tablette */
    }
}
@media (max-width: 479px) {
    .services-grid {
        display: flex;
        flex-direction: column;
    }
    
    .service-card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Ajustement de la taille des icônes et du texte pour les petits écrans */
    .service-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}