/* 
 * EnviroGreen - Styles pour la landing page
 * Palette de couleurs: vert, blanc et gris clair
 */

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #8BC34A;
    --accent-color: #00796B;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F5F5F5;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Typographie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
}

p {
    margin-bottom: 1rem;
}

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

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

ul {
    list-style-type: none;
    padding-left: 0;
}

/* Boutons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.2);
}

.cta-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}

/* Navigation */
nav {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.logo img.main-logo {
    height: 90px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9));
    transition: transform 0.3s ease;
    margin: 5px 0;
}

.logo img.main-logo:hover {
    transform: scale(1.05);
}

.nav-contact {
    display: flex;
    align-items: center;
}

.phone {
    margin-right: 20px;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone:hover {
    color: var(--primary-color);
}

.phone i {
    color: var(--primary-color);
    margin-right: 8px;
}

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    background-color: var(--primary-dark);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('https://images.pexels.com/photos/9875441/pexels-photo-9875441.jpeg');
    background-size: cover;
    background-position: center center;
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    padding: 80px 0 60px;
    background-color: var(--white);
}

/* Domains Section */
.domains {
    padding: 80px 0 60px;
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.domains::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(120deg, rgba(139, 195, 74, 0.05) 0%, rgba(56, 142, 60, 0.05) 100%);
    z-index: 1;
}

.domains .container {
    position: relative;
    z-index: 2;
}

.domains h2 {
    margin-bottom: 50px;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.domain-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.domain-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.domain-image {
    height: 220px;
    overflow: hidden;
}

.domain-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.domain-item:hover .domain-image img {
    transform: scale(1.1);
}

.domain-info {
    padding: 20px;
    text-align: center;
}

.domain-info h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.domain-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.domain-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.domain-link:hover::after {
    width: 100%;
}

.domain-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.domain-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-image {
        height: 180px;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-content::after {
    content: 'Interventions dans toute la France';
    display: block;
    margin-top: 30px;
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    max-width: 800px;
    text-align: center;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.benefits li {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.benefits i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

.service-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-item {
        flex-direction: row;
    }
    
    .service-item:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.service-info {
    padding: 30px;
    flex: 1;
}

.service-info ul {
    margin-top: 15px;
}

.service-info li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-info li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding: 10px;
}

.service-gallery img,
.service-gallery video,
.service-gallery .video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--white);
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    cursor: pointer;
}

.service-gallery img:hover,
.service-gallery video:hover,
.service-gallery .video-thumbnail:hover {
    transform: translateY(-5px);
    z-index: 5;
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .service-gallery {
        grid-template-columns: 1fr;
    }
    
    .service-gallery img,
    .service-gallery video,
    .service-gallery .video-thumbnail {
        height: 200px;
    }
    
    .service-item {
        flex-direction: column !important;
    }
    
    .phone-number {
        font-size: 1.6rem;
        padding: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        width: 100%;
    }
    
    .contact-info h3.text-center {
        font-size: 1.5rem;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .phone-cta {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
        border-radius: 0;
    }
    
    .contact-container {
        border-radius: 10px;
        overflow: hidden;
    }
}

/* Partnership Section */
.partnership .service-gallery img {
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(76, 175, 80, 0.05) 25%, transparent 25%, transparent 50%, rgba(76, 175, 80, 0.05) 50%, rgba(76, 175, 80, 0.05) 75%, transparent 75%);
    background-size: 60px 60px;
    opacity: 0.6;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact h2 {
    margin-bottom: 40px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background-color: var(--white);
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: left;
}

.contact-address,
.contact-email {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.1rem;
}

.contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.phone-cta {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
    border: none;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.phone-info {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    text-align: center;
}

.phone-info i {
    color: var(--primary-color);
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.phone-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 15px auto;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
    width: fit-content;
    max-width: 100%;
    padding: 10px 25px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    word-break: keep-all;
    white-space: nowrap;
}

.phone-number:hover {
    transform: scale(1.05);
    color: var(--primary-color);
}

.contact-message {
    margin: 20px 0;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.call-now-button,
.email-button {
    display: inline-block;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.call-now-button {
    background-color: var(--primary-color);
    color: white;
}

.email-button {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.call-now-button:hover,
.email-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.call-now-button:hover {
    background-color: var(--primary-dark);
}

.email-button:hover {
    background-color: #f8f8f8;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.business-hours {
    background-color: #f7f7f7;
    padding: 20px;
    border-radius: 10px;
}

.business-hours h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.business-hours h4 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.business-hours p {
    margin-bottom: 5px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.map {
    height: 100%;
    min-height: 400px;
    border-radius: 0 15px 15px 0;
    overflow: hidden;
}

@media (max-width: 991px) {
    .map {
        border-radius: 0 0 15px 15px;
        min-height: 350px;
    }
    
    .phone-number {
        font-size: 1.8rem;
        padding: 10px 15px;
        white-space: nowrap;
        width: auto;
    }
    
    .contact-info {
        padding: 30px 20px;
    }
    
    .phone-cta {
        padding: 20px 15px;
    }
    
    .call-now-button {
        width: 100%;
        text-align: center;
    }
}

.text-center {
    text-align: center;
}

.contact-info h3.text-center {
    text-align: center;
    letter-spacing: 0.5px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    display: inline-block;
    margin: 0 auto 30px;
}

.france-mention {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 5px;
    font-size: 0.9em;
}

.nationwide {
    display: block;
    color: var(--primary-light);
    font-weight: 500;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 5px;
    margin-left: 25px;
}

@media (max-width: 767px) {
    .contact-address,
    .contact-email {
        flex-direction: column;
        text-align: center;
    }

    .contact-address i,
    .contact-email i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .france-mention {
        display: block;
        margin-top: 5px;
        font-style: italic;
        font-size: 0.9rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* CEE Section */
.cee {
    padding: 60px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.cee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cee .container {
    position: relative;
    z-index: 2;
}

.cee-content {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 0;
}

.cee-icon {
    flex: 0 0 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    height: 100%;
    min-height: 100%;
    padding: 30px;
    position: relative;
}

.cee-icon::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 0 20px 20px;
    border-color: transparent transparent transparent var(--primary-color);
    transform: translateY(50%);
}

.cee-icon i {
    font-size: 80px;
    color: white;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.cee-text {
    flex: 1;
    padding: 40px;
}

.cee h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-bottom: 0;
}

.cee h2::after {
    left: 0;
    transform: none;
    width: 100px;
}

.cee-highlight {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 10px 10px 0;
    font-size: 1.2rem;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.25em;
}

.cee-description {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-light);
}

@media (max-width: 991px) {
    .cee-content {
        flex-direction: column;
    }
    
    .cee-icon {
        flex: 0 0 auto;
        width: 100%;
        padding: 20px;
        height: auto;
    }
    
    .cee-icon::after {
        display: none;
    }
    
    .cee-icon i {
        font-size: 60px;
    }
    
    .cee-text {
        padding: 30px 20px;
    }
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

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

.footer-logo img.footer-logo-img {
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    transition: transform 0.3s ease;
}

.footer-logo img.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-logo p {
    font-size: 0.9rem;
}

footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: var(--light-bg);
}

footer a:hover {
    color: var(--primary-light);
}

footer i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--border-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

@media (max-width: 767px) {
    .nav-contact {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
    }
    
    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .logo img.main-logo {
        height: 70px;
    }
    
    .benefits {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
    }
    
    .service-gallery {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 130px 0 60px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
