﻿/* Styles GÃ©nÃ©raux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #f5f5f5;
    --bg-secondary: #fff;
    --bg-card: #fff;
    --text-primary: #333;
    --text-secondary: #666;
    --accent-color: #3A892E;
    --border-color: #ddd;
    --overlay-bg: rgba(58, 137, 46, 0.7);
}

body.dark-mode {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-card: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --accent-color: #4CAF50;
    --border-color: #444;
    --overlay-bg: rgba(76, 175, 80, 0.7);
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--text-primary);
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Google Reviews Section */
.reviews-section {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

.reviews-grid {
    display: grid;
    /* Force 3 columns on large screens to fit on one line */
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}


.review-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: none;
}

.review-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 1rem;
}

.review-stars {
    color: #FFB800;
    font-size: 0.9rem;
    margin-top: 5px;
}

.review-text {
    color: #d5d5d5;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
}

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

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message {
    text-align: center;
    color: #e74c3c;
}

.contact-map {
    grid-column: 1 / -1;
    margin-top: 10px;
}

/* Header */
.header {
    background-color: #2D2D2D;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0; /* Changed from 1 to 0 to fit content */
    min-width: 0;
}

.logo-img {
    height: 80px; /* Reduced from 100px for better proportion */
    width: auto;
    border-radius: 5px;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto; /* Push navbar to the right */
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--accent-color);
    padding: 8px 15px;
    z-index: 101;
    transition: all 0.3s ease;
}

.navbar-toggle:hover {
    background: var(--accent-color);
    color: #fff;
}

#navList {
    list-style: none;
    display: flex;
    gap: 30px;
}

#navList a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

#navList a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding: 0;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    will-change: transform;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.6);
}

.slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--hero-bg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 137, 46, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    z-index: 3;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #3A892E;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(58, 137, 46, 0.3);
}

.btn-primary:hover {
    background-color: #2a6921;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(58, 137, 46, 0.4);
}

/* Trust Section */
.trust-section {
    background: var(--bg-secondary);
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    padding: 20px;
}

.trust-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

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

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

.service-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    border-color: #3A892E;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(58, 137, 46, 0.2);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.15);
}

.video-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    pointer-events: none;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(58, 137, 46, 0.95) 0%, rgba(58, 137, 46, 0.5) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: var(--bg-primary);
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--accent-color);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}

.contact-header h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #e8f5e9;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #3A892E;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.contact-item a {
    display: block;
    color: #b0b0b0;
    text-decoration: none;
    margin-top: 5px;
    transition: color 0.3s;
    word-break: break-word;
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-item p {
    margin: 5px 0 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(58, 137, 46, 0.1);
}

.contact-form input.invalid,
.contact-form textarea.invalid,
.contact-form select.invalid {
    border-color: #e74c3c;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 0.9rem;
}

.file-upload-label:hover {
    border-color: #3A892E;
    background: #f9f9f9;
}

.file-upload-label svg {
    color: #3A892E;
}

#photos {
    display: none;
}

.file-list {
    margin-top: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 5px;
}

.file-item button {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 25px;
    height: 25px;
}

.form-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #3A892E;
}

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-icon {
    font-size: 1.5rem;
    color: #3A892E;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-question {
    background: #e8f5e9;
    color: #3A892E;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f9f9f9;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    color: #b0b0b0;
    line-height: 1.6;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    margin: 10px 0;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #5ab84a;
    text-decoration: underline;
}

.footer-social {
    margin: 20px 0;
}

.facebook-widget {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1877f2;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-widget:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.facebook-widget svg {
    width: 24px;
    height: 24px;
}

.facebook-widget span {
    font-size: 1rem;
}



.footer-avis {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ffd700;
}

/* Animations */
@keyframes floatPulseGreen {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
}

@keyframes floatPulseBlue {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Header background adaptatif pour mobile */

    .navbar-toggle {
        display: block;
        position: absolute;
        top: 20px; /* Better alignment */
        right: 0px;
    }

    .logo {
        max-width: calc(100% - 60px);
    }

    .logo-img {
        height: 60px; /* Slightly smaller for mobile */
    }

    /* .logo-text h1 and .tagline removed globally */

    .navbar {
        position: static;
        width: 100%; /* Ensure navbar takes full width when expanded */
    }

    #navList {
        display: none;
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    #navList.active {
        display: flex;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badges {
        flex-direction: column;
        gap: 10px;
    }

    h2 {
        font-size: 2rem;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .trust-number {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        margin-bottom: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .logo-img {
        height: 50px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #3A892E;
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 25px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.lightbox-nav:hover {
    background: rgba(58, 137, 46, 0.8);
}

.lightbox-prev {
    left: 80px;
}

.lightbox-next {
    right: 80px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floating Social Buttons */
.floating-social {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.whatsapp-float,
.facebook-float {
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    overflow: hidden;
    position: fixed;
    pointer-events: auto;
}

.facebook-float {
    background: linear-gradient(135deg, #1877f2 0%, #0e5dc8 100%);
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    bottom: 105px;
    right: 30px;
}

.whatsapp-float {
    bottom: 30px;
    right: 30px;
}

.whatsapp-float:not(:hover) {
    animation: floatPulseGreen 3s ease-in-out infinite;
}

.facebook-float:not(:hover) {
    animation: floatPulseBlue 3s ease-in-out infinite 0.5s;
}

.whatsapp-float:hover,
.facebook-float:hover {
    width: 170px;
    border-radius: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(-10px);
}

.whatsapp-float:hover {
    background: #128C7E;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.facebook-float:hover {
    background: linear-gradient(135deg, #0e5dc8 0%, #1877f2 100%);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.6);
}

.whatsapp-float svg,
.facebook-float svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.whatsapp-float:hover svg,
.facebook-float:hover svg {
    transform: rotate(360deg) scale(1.1);
}

.whatsapp-float span,
.facebook-float span {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    transition: all 0.4s ease;
}

.whatsapp-float:hover span,
.facebook-float:hover span {
    opacity: 1;
    max-width: 110px;
}

.facebook-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.facebook-float:hover::before {
    left: 100%;
}

@keyframes floatPulseGreen {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    }
}

@keyframes floatPulseBlue {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 25px rgba(24, 119, 242, 0.6);
    }
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    top: 100px;
    right: -250px;
    background: linear-gradient(135deg, #3A892E 0%, #2d6b23 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px 0 0 30px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: -5px 5px 20px rgba(58, 137, 46, 0.4);
    z-index: 999;
    transition: right 0.4s ease;
}

.fixed-cta.visible {
    right: 0;
}

.fixed-cta:hover {
    background: linear-gradient(135deg, #2d6b23 0%, #3A892E 100%);
    box-shadow: -5px 5px 25px rgba(58, 137, 46, 0.6);
}



/* Dark mode adjustments */
body.dark-mode .service-card,
body.dark-mode .gallery-item,
body.dark-mode .contact-form,
body.dark-mode .contact-info-card,
body.dark-mode .review-card,
body.dark-mode .faq-item {
    background: var(--bg-card);
    border-color: var(--border-color);
}

body.dark-mode .contact-item {
    background: var(--bg-primary);
}

body.dark-mode .contact-item:hover {
    background: rgba(76, 175, 80, 0.1);
}

body.dark-mode .faq-question {
    background: var(--bg-card);
    color: var(--text-primary);
}

body.dark-mode .faq-question:hover {
    background: var(--bg-primary);
}

body.dark-mode .faq-item.active .faq-question {
    background: rgba(76, 175, 80, 0.2);
    color: var(--accent-color);
}

body.dark-mode .faq-answer {
    background: var(--bg-primary);
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background: var(--bg-primary);
    color: #b0b0b0;
    border-color: var(--border-color);
}

body.dark-mode option {
    background-color: var(--bg-primary);
    color: #b0b0b0;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: var(--text-secondary);
}

body.dark-mode .file-upload-label {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

body.dark-mode .file-item {
    background: var(--bg-primary);
}

body.dark-mode .footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}


body.dark-mode #navList {
    background: var(--bg-secondary);
}

body.dark-mode .service-card:hover {
    border-color: var(--accent-color);
}

body.dark-mode .faq-item:hover {
    border-color: var(--accent-color);
}

body.dark-mode .file-upload-label:hover {
    border-color: var(--accent-color);
    background: var(--bg-card);
}

/* Google Badge Styles */
.google-badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.google-summary-card {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s;
}

.google-summary-card:hover {
    transform: scale(1.02);
}

.g-logo-section svg {
    width: 38px;
    height: 38px;
}

.g-info {
    display: flex;
    flex-direction: column;
}

.g-rating-score {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.g-stars-list {
    color: #FFB800;
    font-size: 1rem;
}

.g-reviews-count {
    font-size: 0.85rem;
    color: #777;
    margin-top: 2px;
}

/* Hero Google Badge */
#heroBadgeContainer {
    z-index: 10;
    margin: 0;
}

/* Mobile: Centered below button */
@media (max-width: 899px) {
    #heroBadgeContainer {
        position: relative;
        margin-top: 25px;
        display: flex;
        justify-content: center;
        width: 100%;
        animation: fadeInUp 1s ease-out 0.5s backwards; /* Slight delay to appear after button */
    }
}

/* Desktop: Bottom Right Corner */
@media (min-width: 900px) {
    #heroBadgeContainer {
        position: absolute;
        bottom: 30px;
        right: 30px;
    }
}

#heroBadgeContainer .google-summary-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 6px 14px;
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

#heroBadgeContainer .g-logo-section svg {
    width: 24px;
    height: 24px;
}

#heroBadgeContainer .g-rating-score {
    font-size: 0.95rem;
    gap: 5px;
}

#heroBadgeContainer .g-stars-list {
    font-size: 0.8rem;
    letter-spacing: -1px;
}

/* Dark Mode Support for Badge */
body.dark-mode .google-summary-card {
    background: var(--bg-card);
    border-color: var(--border-color);
}

/* Scrolling Cities Banner */
.scrolling-banner {
    background-color: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 5;
}

.banner-label {
    background-color: var(--accent-color);
    padding: 12px 20px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.scrolling-text-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    padding: 12px 0;
}

.scrolling-text-inner {
    display: inline-block;
    white-space: nowrap;
    animation: autoScroll 60s linear infinite;
}

.scrolling-text-inner span {
    margin: 0 15px;
    font-weight: 500;
}

@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .scrolling-banner {
        flex-direction: column;
        align-items: stretch;
    }
    .banner-label {
        text-align: center;
        width: 100%;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 10px;
        font-size: 0.8rem;
    }
    .scrolling-text-container {
        padding: 10px 0;
        background-color: rgba(0,0,0,0.05); /* Slightly darker to distinguish */
    }
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--bg-primary);
    text-align: center;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 10000;
    padding: 20px;
    border-top: 4px solid var(--accent-color);
    animation: slideUp 0.5s ease-out;
}

body.dark-mode .cookie-banner {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept, .btn-cookie-reject {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: inherit;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-cookie-accept {
    background-color: var(--accent-color);
    color: white;
}

.btn-cookie-reject {
    background-color: transparent;
    border: 2px solid #999;
    color: #666;
}

body.dark-mode .btn-cookie-reject {
    color: #aaa;
    border-color: #666;
}

.btn-cookie-accept:hover, .btn-cookie-reject:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    .btn-cookie-accept, .btn-cookie-reject {
        flex: 1;
    }
}
