:root {
    --primary-green: #2d5a43;
    --bg-cream: #f7f6f0;
    --text-dark: #2d5a43;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ========================
   Navbar
======================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--bg-cream);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo {
    font-weight: 500;
    font-size: 1.9rem;
    color: #666;
}

.nav-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
    display: inline-block;
}

.btn:hover {
    opacity: 0.85;
}

.btn-phone {
    background-color: var(--primary-green);
    color: white;
}

.btn-menu {
    background-color: var(--primary-green);
    color: white;
}

/* ========================
   Overlay Menu
======================== */
.menu-overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    background-color: #2d5a43;
    overflow-x: hidden;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-content {
    text-align: center;
    width: 100%;
}

.overlay-content a {
    padding: 15px;
    text-decoration: none;
    font-size: 3rem;
    color: #f7f6f0;
    display: block;
    transition: opacity 0.3s;
    font-weight: 500;
}

.overlay-content a:hover {
    opacity: 0.7;
}

.overlay-content a.active {
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
}

.close-btn {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #f7f6f0;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-open {
    width: 100%;
}

/* ========================
   Hero Section
======================== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    min-height: 90vh;
}

.hero-content {
    padding: 60px 0 60px 10%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 380px;
}

.btn-cta {
    background-color: var(--primary-green);
    color: white;
    margin-bottom: 50px;
    text-decoration: none;
}

.content-image img {
    width: 80%;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Right side visual */
.hero-visual {
    position: relative;
    height: 100%;
}

.main-visual-bg {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bg-pipes {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-image {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    width: 50%;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.2);
}

.floating-image img {
    width: 100%;
    display: block;
}

/* ========================
   About Section
======================== */
.about-section {
    padding: 100px 5%;
    text-align: center;
    background-color: var(--bg-cream);
}

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

.section-title {
    font-size: 4rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 600;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
    padding: 0 20px;
}

.about-section .btn-cta {
    display: inline-block;
}

/* ========================
   Banner
======================== */
.service-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================
   Services Section
======================== */
.services-section {
    padding: 80px 5%;
    background-color: var(--bg-cream);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-header {
    margin-bottom: 50px;
}

/* Fixed: 3 equal columns, no broken grid-column tricks */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.service-item {
    padding-top: 30px;
}

.service-divider {
    border: 0;
    border-top: 1px solid #999;
    width: 100%;
    margin-bottom: 30px;
}

.service-title {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.service-tagline {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* ========================
   Footer
======================== */
.main-footer {
    background-color: var(--bg-cream);
    padding: 80px 10% 40px;
    color: var(--primary-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.footer-brand-title {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.contact-details,
.location-details,
.legal-links {
    margin-bottom: 30px;
    line-height: 1.6;
}

.legal-links a {
    display: block;
    color: var(--primary-green);
    text-decoration: underline;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-highlights h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-item {
    margin-bottom: 40px;
}

.highlight-line {
    border: 0;
    border-top: 1px solid var(--primary-green);
    width: 60px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

.footer-copyright {
    margin-top: 60px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(45, 90, 67, 0.1);
    padding-top: 20px;
}

/* ========================
   Responsive — Tablet (max 1024px)
======================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* ========================
   Responsive — Mobile (max 768px)
======================== */
@media (max-width: 768px) {
    /* Navbar */
    .logo {
        font-size: 0.8rem;
        max-width: 150px;
    }

    .btn-phone {
        display: none; /* Hide phone button on small screens — it's in the overlay */
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 50px 6% 40px;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-image {
        width: 100%;
    }

    .content-image img {
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        height: 420px;
    }

    .floating-image {
        width: 55%;
    }

    /* About */
    .about-section {
        padding: 70px 6%;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .about-text {
        font-size: 1rem;
        padding: 0;
    }

    /* Banner */
    .service-banner {
        height: 280px;
    }

    /* Services */
    .services-section {
        padding: 60px 6%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-title {
        font-size: 1.8rem;
    }

    /* Footer */
    .main-footer {
        padding: 60px 6% 40px;
    }

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

    .footer-brand-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    /* Overlay menu links smaller on mobile */
    .overlay-content a {
        font-size: 2.2rem;
        padding: 12px;
    }
}

/* ========================
   Responsive — Small mobile (max 480px)
======================== */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.6rem;
    }

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

    .hero-visual {
        height: 320px;
    }

    .btn {
        padding: 9px 18px;
        font-size: 0.85rem;
    }
}
