/* ======================= CSS VARIABLES & RESET ======================= */
:root {
    --color-primary: #1e88e5; /* Blue - Freshness, Water */
    --color-secondary: #4caf50; /* Green - Eco-Friendly, Clean */
    --color-dark: #333333;
    --color-light: #f4f4f4;
    --color-white: #ffffff;
    --color-text: #555;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --border-radius: 10px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden; /* Prevents horizontal scroll from transitions */
}

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

a:hover {
    color: var(--color-secondary);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 0.5em;
    text-align: center;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; margin-bottom: 1.5em;}
h3 { font-size: 1.5em; }

.section-padding {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--color-primary);
    transition: transform 0.3s;
}
.text-link:hover {
    transform: translateX(5px);
}

/* ======================= BUTTONS (CTAs) ======================= */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

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

.primary-cta:hover {
    background-color: #43a047; /* Slightly darker green */
    color: var(--color-white);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.secondary-cta:hover {
    background-color: #1565c0; /* Slightly darker blue */
    color: var(--color-white);
}


/* ======================= HEADER & NAVIGATION ======================= */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-primary);
    transition: color 0.3s;
}

.main-nav a {
    margin-left: 25px;
    color: var(--color-dark);
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
}

.main-nav .nav-cta {
    margin-left: 30px;
    padding: 8px 20px;
    font-size: 0.9em;
}

.menu-toggle {
    display: none; /* Hide on desktop */
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

/* ======================= HERO SECTION ======================= */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding: 80px 5%;
    background-color: var(--color-light);
    overflow: hidden;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
    text-align: left; /* Override h1 center alignment */
}

.hero-content h1 {
    font-size: 3.5em;
    line-height: 1.1;
    text-align: left;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.25em;
    margin-bottom: 30px;
    color: var(--color-text);
}

.hero-image-placeholder {
    width: 45%;
    min-height: 400px;
    background-color: #c8e6c9; /* Light green placeholder */
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    /* NOTE: Add a realistic image to make this section pop! */
}

/* ======================= BEFORE & AFTER GALLERY OVERVIEW ======================= */
#before-after {
    text-align: center;
}

.gallery-slider {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.slide {
    display: flex;
    flex-direction: column;
    width: 280px;
    box-shadow: var(--shadow-soft);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.bin-image {
    height: 200px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-weight: 700;
    text-transform: uppercase;
    background-size: cover;
    background-position: center;
}

.bin-image.before {
    background-color: #e57373; /* Dirty Red/Brown for before */
    color: var(--color-white);
}

.bin-image.after {
    background-color: var(--color-secondary); /* Clean Green for after */
    color: var(--color-white);
}


/* ======================= SERVICES OVERVIEW ======================= */
.services-overview {
    background-color: var(--color-light);
}

.service-cards-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s;
}

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

.service-card .icon {
    font-size: 3em;
    color: var(--color-primary);
    margin-bottom: 15px;
}


/* ======================= TESTIMONIALS SECTION ======================= */
.testimonials {
    background-color: var(--color-white);
}

.testimonial-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    padding: 25px;
    background-color: #e3f2fd; /* Very light blue background */
    border-left: 5px solid var(--color-primary);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow-soft);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--color-dark);
}

.testimonial-card footer {
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
    display: block;
}

/* ======================= CONTACT CALL-TO-ACTION ======================= */
.contact-cta {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 50px 5%;
    text-align: center;
}

.contact-cta h2, .contact-cta p {
    color: var(--color-white);
    margin: 0;
}

.contact-cta h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.contact-cta .secondary-cta {
    background-color: var(--color-white);
    color: var(--color-secondary);
    border-color: var(--color-white);
    margin-top: 25px;
}

.contact-cta .secondary-cta:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

/* ======================= FOOTER ======================= */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 40px 5%;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    text-align: center;
}

.footer-grid h4 {
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: center;
}

.footer-grid p {
    margin: 5px 0;
}

.footer-links a {
    display: block;
    color: var(--color-light);
    margin-bottom: 8px;
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
}

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

/* ======================= MEDIA QUERIES (RESPONSIVENESS) ======================= */

/* Tablet & Mobile Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-content h1, .hero-content p {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-image-placeholder {
        width: 100%;
        min-height: 300px;
    }

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

/* Mobile Styles */
@media (max-width: 768px) {
    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
    
    /* Mobile Navigation */
    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 15px 0;
        transition: transform 0.3s ease-in-out;
    }
    
    .main-nav.active {
        display: flex;
    }
    
    .main-nav a {
        margin: 10px 0;
        padding: 10px 5%;
        text-align: center;
        border-bottom: 1px solid var(--color-light);
    }
    
    .main-nav a:last-child {
        border-bottom: none;
    }
    
    .main-nav .nav-cta {
        margin: 10px auto;
        width: 80%;
    }
    
    .menu-toggle {
        display: block;
    }

    .gallery-slider, .testimonial-container, .service-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .slide, .service-card, .testimonial-card {
        max-width: 100%;
    }
}


/* ======================= ENHANCEMENTS FOR EXTRA FEATURES ======================= */

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Sticky Header - already sticky, add shadow when scrolling */
.main-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s ease;
}

/* Navigation Hover Underline Animation */
.main-nav a {
    position: relative;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.main-nav a:hover::after {
    width: 100%;
}

/* Scroll/Section Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Hover Effect (already has lift, now add subtle scale) */
.service-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Testimonial Carousel */
.testimonials {
    position: relative;
    overflow: hidden;
}
.testimonial-container {
    transition: transform 0.5s ease;
}

/* Floating Buttons */
.floating-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 15px 20px;
    border-radius: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: bold;
    box-shadow: var(--shadow-soft);
    z-index: 2000;
    transition: all 0.3s ease;
}
.floating-btn:hover {
    background-color: #1565c0;
    transform: scale(1.05);
}

/* WhatsApp Widget (optional) */
.whatsapp-widget {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2000;
}
.whatsapp-widget:hover {
    transform: scale(1.1);
}

/* Back-to-Top Button */
#backToTop {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease;
    z-index: 2000;
}
#backToTop.visible {
    opacity: 1;
    pointer-events: auto;
}
#backToTop:hover {
    transform: scale(1.1);
}

/* Gallery Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}
.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    animation: zoomIn 0.3s ease;
}
.lightbox:target {
    display: flex;
}
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}



