/* ============================================================
   Blue Sky Landscape Company — one-page site
   Clean & professional. White, whitespace, green accents.
   ============================================================ */

:root {
    --green:        #2f7d4f;
    --green-dark:   #1d5436;
    --green-deep:   #14352350;
    --sky:          #2f86c5;
    --ink:          #1a2421;
    --body:         #495651;
    --muted:        #7b8983;
    --line:         #e4eae6;
    --bg:           #ffffff;
    --bg-alt:       #f4f8f5;
    --radius:       14px;
    --shadow:       0 12px 34px rgba(20, 53, 35, 0.10);
    --shadow-sm:    0 4px 14px rgba(20, 53, 35, 0.08);
    --maxw:         1160px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    line-height: 1.15;
    font-weight: 700;
}

a { color: var(--green); text-decoration: none; }
img { max-width: 100%; display: block; }
section { scroll-margin-top: 80px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    border: 2px solid transparent;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; border-radius: 6px; }
.brand-name { font-size: 1.02rem; color: var(--green-dark); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--green); }
.nav-phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; color: var(--green-dark);
}
.nav-cta { margin-left: 4px; }
.nav-links a.nav-cta { color: #fff; font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: linear-gradient(180deg, rgba(15,40,28,.55), rgba(15,40,28,.65)), url('images/hero.jpg') center/cover no-repeat;
}
.hero-inner { max-width: 720px; padding: 60px 24px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 18px; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.92); margin-bottom: 30px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
    display: inline-block; margin-bottom: 20px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
    padding: 6px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600;
    letter-spacing: .04em;
}

/* ---------------- Trust strip ---------------- */
.trust { background: var(--green-dark); color: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 20px; padding: 26px 24px; text-align: center; }
.trust-item strong { font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: #fff; display: block; }
.trust-item span { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ---------------- Section base ---------------- */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { font-size: 1.06rem; color: var(--muted); }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-media .img-2 {
    position: absolute; right: -22px; bottom: -28px;
    width: 46%; border: 6px solid #fff;
}
.about-text p { margin-bottom: 18px; }
.about-text .lead { font-size: 1.16rem; color: var(--ink); font-weight: 500; }

/* ---------------- Services ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
    width: 52px; height: 52px; border-radius: 13px;
    background: var(--bg-alt); color: var(--green);
    display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.card p { font-size: .96rem; color: var(--muted); }

/* ---------------- Gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 6px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0; }
.info-row .ico { flex: 0 0 42px; height: 42px; border-radius: 11px; background: var(--bg-alt); color: var(--green); display: grid; place-items: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.info-row .val { font-size: 1.06rem; color: var(--ink); font-weight: 500; }
.info-row a.val:hover { color: var(--green); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px; font-size: .98rem; font-family: inherit;
    border: 1px solid var(--line); border-radius: 10px; background: #fcfdfc; color: var(--ink);
    transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,125,79,.15); }
.form-card .btn { width: 100%; border: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align: center; }
.alert-success { margin-top: 16px; padding: 14px; border-radius: 10px; background: #e3f4e9; color: var(--green-dark); text-align: center; font-weight: 600; }
.alert-error { margin-top: 16px; padding: 14px; border-radius: 10px; background: #fbe6e6; color: #9b2222; text-align: center; }
.hidden { display: none; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 50px 0 30px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 40px; border-radius: 6px; }
.footer-brand strong { font-family: 'Poppins', sans-serif; color: #fff; font-size: 1.05rem; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------- Services sky backdrop ---------------- */
#services {
    background:
        linear-gradient(180deg, rgba(11,34,71,.34), rgba(11,34,71,.52)),
        url('images/sky.jpg') center/cover no-repeat;
}
#services .section-head h2 { color: #fff; }
#services .section-head p { color: rgba(255,255,255,.92); }
#services .eyebrow { color: #bfe0ff; }

/* ---------------- Lightbox ---------------- */
.gallery a { cursor: zoom-in; }
.lightbox {
    position: fixed; inset: 0; z-index: 100; display: none;
    align-items: center; justify-content: center;
    background: rgba(10,22,16,.93); padding: 5vh 4vw;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1100px; text-align: center; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lb-btn {
    position: absolute; width: 48px; height: 48px; border-radius: 999px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
    color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
    display: grid; place-items: center; transition: background .15s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; letter-spacing: .04em; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
    .nav-links {
        position: fixed; inset: 72px 0 auto 0;
        flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 8px 0; box-shadow: var(--shadow);
        transform: translateY(-130%); transition: transform .25s ease;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links a { display: block; padding: 14px; }
    .nav-toggle { display: block; }
    .nav-phone-text { display: none; }

    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-media .img-2 { position: static; width: 60%; margin: 14px auto 0; }
    .cards { grid-template-columns: 1fr 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .section { padding: 64px 0; }
}
@media (max-width: 540px) {
    .cards, .gallery { grid-template-columns: 1fr; }
    .hero { min-height: 80vh; }
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
    .lb-btn { width: 42px; height: 42px; font-size: 1.4rem; }
}
