/* ===================================
   KG BAUSERVICE - Main Stylesheet
   =================================== */

:root {
    --green:       #7cb900;
    --green-dark:  #5e8e00;
    --green-light: #a3d83c;
    --dark:        #1e1e1e;
    --dark2:       #2d2d2d;
    --grey:        #555555;
    --light-grey:  #f5f6f7;
    --white:       #ffffff;
    --shadow:      0 4px 20px rgba(0,0,0,0.12);
    --radius:      8px;
    --transition:  0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1, h2, h3, h4 {
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: .5rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    color: var(--grey);
    max-width: 640px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

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

/* ── CONTAINER ──────────────────────────────────────── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* ── BUTTON ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(124,185,0,.4);
    color: var(--white);
}

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

.btn-dark {
    background: var(--dark2);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--green);
    transform: translateY(-2px);
    color: var(--white);
}

/* ── TOPBAR ─────────────────────────────────────────── */
.topbar {
    background: var(--dark2);
    color: #ccc;
    font-size: .82rem;
    padding: .45rem 0;
    border-bottom: 2px solid var(--green);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
}
.topbar a { color: #ccc; }
.topbar a:hover { color: var(--green); }
.topbar-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-contact span { display: flex; align-items: center; gap: .35rem; }

/* ── HEADER / NAV ────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1rem;
}

.logo img {
    height: 56px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: .25rem;
    align-items: center;
}
.nav-links a {
    padding: .5rem .9rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: .93rem;
    color: var(--dark);
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--green);
    background: rgba(124,185,0,.08);
}

.nav-cta {
    background: var(--green);
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: .45rem 1.1rem !important;
}
.nav-cta:hover {
    background: var(--green-dark) !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .3s;
}

/* ── HERO ────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,.82) 0%, rgba(30,30,30,.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 680px;
    padding: 60px 0;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green);
    color: var(--white);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}
.hero-content h1 {
    margin-bottom: 1rem;
}
.hero-content h1 span {
    color: var(--green-light);
}
.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    margin-bottom: 2rem;
    max-width: 560px;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}
.stat {
    text-align: left;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-light);
    line-height: 1;
}
.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: .25rem;
}

/* ── 24H EMERGENCY ─────────────────────────────────── */
.emergency {
    background: linear-gradient(180deg, #fff 0%, #f7faef 100%);
}
.emergency-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.emergency-text p {
    color: var(--grey);
    margin-bottom: .9rem;
}
.emergency-list {
    list-style: none;
    margin: 1.2rem 0 1.6rem;
}
.emergency-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark2);
    margin-bottom: .55rem;
}
.emergency-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.emergency-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}
.emergency-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .9rem;
}
.emergency-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 230px;
}
.emergency-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── ABOUT ───────────────────────────────────────────── */
.about {
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.about-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.about-badge .num {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.about-badge .lbl {
    font-size: .75rem;
    opacity: .9;
}
.about-text .checkmarks {
    list-style: none;
    margin: 1.5rem 0;
}
.about-text .checkmarks li {
    padding: .35rem 0;
    padding-left: 1.6rem;
    position: relative;
    color: var(--grey);
}
.about-text .checkmarks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ── SERVICES ────────────────────────────────────────── */
.services {
    background: var(--light-grey);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: all var(--transition);
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    border-top-color: var(--green);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(124,185,0,.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    transition: background var(--transition);
}
.service-card:hover .service-icon {
    background: var(--green);
}
.service-card:hover .service-icon svg {
    fill: var(--white);
}
.service-card h3 {
    margin-bottom: .6rem;
    font-size: 1.1rem;
}
.service-card p {
    color: var(--grey);
    font-size: .92rem;
    line-height: 1.6;
}
.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1rem;
    color: var(--green);
    font-weight: 600;
    font-size: .88rem;
}
.service-card .service-link:hover {
    color: var(--green-dark);
}

/* ── GARDEN SERVICES ─────────────────────────────────── */
.garden {
    background: var(--white);
}
.garden-inner {
    background: linear-gradient(135deg, #1e3a0f 0%, #2e5a18 100%);
    border-radius: 16px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.garden-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: rgba(124,185,0,.15);
    border-radius: 50%;
}
.garden-text {
    color: var(--white);
    position: relative;
    z-index: 1;
}
.garden-text .section-label { color: var(--green-light); }
.garden-text h2 { color: var(--white); margin-bottom: 1rem; }
.garden-text p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; }
.garden-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    position: relative;
    z-index: 1;
}
.garden-list li {
    color: rgba(255,255,255,.9);
    font-size: .93rem;
    display: flex;
    align-items: flex-start;
    gap: .4rem;
    line-height: 1.4;
}
.garden-list li::before {
    content: '✅';
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── WHY US ──────────────────────────────────────────── */
.why-us {
    background: var(--light-grey);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}
.why-card {
    text-align: center;
    padding: 2rem 1.2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform var(--transition);
}
.why-card:hover {
    transform: translateY(-4px);
}
.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.why-card h4 {
    margin-bottom: .4rem;
    font-size: 1rem;
}
.why-card p {
    color: var(--grey);
    font-size: .88rem;
}

/* ── CONTACT ─────────────────────────────────────────── */
.contact {
    background: var(--white);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--grey); margin-bottom: 2rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-item-icon {
    width: 46px;
    height: 46px;
    background: rgba(124,185,0,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--green);
}
.contact-item-text strong {
    display: block;
    margin-bottom: .2rem;
    font-size: .9rem;
}
.contact-item-text a:hover { color: var(--green); }

.contact-form {
    background: var(--light-grey);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: .4rem;
    color: var(--dark);
}
.form-control {
    width: 100%;
    padding: .7rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: .95rem;
    font-family: inherit;
    background: var(--white);
    color: var(--dark);
    transition: border-color var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(124,185,0,.15);
}
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ── FOOTER ──────────────────────────────────────────── */
footer {
    background: var(--dark2);
    color: rgba(255,255,255,.75);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
    height: 52px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    font-size: .9rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-col h4 {
    color: var(--white);
    font-size: .95rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: .5rem;
}
.footer-col ul li a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.footer-col ul li a:hover { color: var(--green); }
.footer-col ul li a::before { content: '›'; color: var(--green); }

.footer-contact-item {
    display: flex;
    gap: .7rem;
    margin-bottom: .8rem;
    font-size: .88rem;
    align-items: flex-start;
}
.footer-contact-item span:first-child {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-item a { color: rgba(255,255,255,.7); }
.footer-contact-item a:hover { color: var(--green); }

.footer-bottom {
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom-links { display: flex; gap: 1.5rem; }

/* ── INNER PAGE HERO ─────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--dark2) 0%, #3a3a3a 100%);
    padding: 60px 0;
    color: var(--white);
    border-bottom: 3px solid var(--green);
}
.page-hero h1 { font-size: 2rem; margin-bottom: .5rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .88rem;
    color: rgba(255,255,255,.6);
    margin-top: .5rem;
}
.breadcrumb a { color: var(--green); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── INNER PAGE CONTENT ───────────────────────────────── */
.page-content {
    padding: 60px 0;
    max-width: 860px;
    margin: 0 auto;
}
.page-content h2 {
    font-size: 1.4rem;
    color: var(--green-dark);
    margin: 2rem 0 .8rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid rgba(124,185,0,.2);
}
.page-content h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 .5rem;
}
.page-content p {
    color: var(--grey);
    margin-bottom: 1rem;
}
.page-content a { color: var(--green); }
.page-content a:hover { text-decoration: underline; }
.page-content ul {
    margin: .5rem 0 1rem 1.5rem;
    color: var(--grey);
}
.page-content ul li { margin-bottom: .4rem; }

/* ── BACK TO TOP ─────────────────────────────────────── */
#back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 900;
}
#back-top.visible {
    opacity: 1;
    pointer-events: auto;
}
#back-top:hover { transform: translateY(-3px); }

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 992px) {
    .emergency-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-img-wrap { max-height: 360px; }
    .about-img-wrap img { height: 360px; }
    .garden-inner { grid-template-columns: 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 55px 0; }

    .topbar .container { justify-content: center; text-align: center; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
        gap: .1rem;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: .7rem 1rem; }

    .hamburger { display: flex; }

    .hero { min-height: 520px; }
    .hero-stats { gap: 1.5rem; }
    .emergency-images { grid-template-columns: 1fr; }

    .services-grid { grid-template-columns: 1fr 1fr; }
    .garden-list { grid-template-columns: 1fr; }
    .garden-inner { padding: 2rem 1.5rem; }
    .why-grid { grid-template-columns: 1fr 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
}
