/* R&B Gardening — shared styles */
:root {
    --cream: #f7f3ea;
    --paper: #fffdf8;
    --moss: #2f4a34;
    --moss-dark: #1f3324;
    --leaf: #6b8f5e;
    --clay: #b8643c;
    --ink: #2a2a25;
    --muted: #6b6a60;
    --line: #e4ddcc;
    --radius: 14px;
    --serif: "Fraunces", Georgia, serif;
    --sans: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--moss); }
a:hover { color: var(--clay); }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--moss-dark);
    margin: 0 0 .5em;
}

.wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--moss-dark);
}
.brand img { width: 64px; height: auto; }
.brand span {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    white-space: nowrap;
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
    text-decoration: none;
    color: var(--ink);
    padding: 6px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
}
.nav a:hover { background: var(--cream); color: var(--moss); }
.nav a.active { background: var(--moss); color: #fff; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    background: var(--clay);
    color: #fff;
    transition: transform .15s ease, background .15s ease;
}
.button:hover { background: #9f532f; color: #fff; transform: translateY(-1px); }
.button.ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.8);
}
.button.ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: var(--moss-dark) url("../media/large/IMG_3111.jpeg") center / cover no-repeat;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,35,24,.15) 0%, rgba(20,35,24,.75) 100%);
}
.hero .wrap { position: relative; padding-top: 80px; padding-bottom: 64px; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.3rem, 6vw, 4rem);
    max-width: 14ch;
}
.hero p { font-size: 1.2rem; max-width: 36rem; margin: 0 0 1.5rem; opacity: .95; }
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    color: #e9c9a6;
    margin-bottom: .8rem;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-title p { color: var(--muted); max-width: 38rem; margin: 0 auto; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.intro {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.intro img {
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -20px rgba(31,51,36,.45);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}
.intro h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }

.stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.stat strong {
    display: block;
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--clay);
    line-height: 1;
}
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Service tiles ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.service {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    transition: border-color .15s ease, transform .15s ease;
}
.alt .service { background: var(--cream); }
.service:hover { border-color: var(--leaf); transform: translateY(-2px); }
.service .icon {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e5ecdf;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
}

/* ---------- Photo strip ---------- */
.photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.photos img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
}
.center { text-align: center; margin-top: 32px; }

/* ---------- Contact band ---------- */
.contact {
    background: var(--moss);
    color: #fff;
    text-align: center;
}
.contact h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact p { opacity: .9; max-width: 34rem; margin: 0 auto 1.6rem; }
.contact .btn-row { justify-content: center; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 56px 0 24px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }
.page-head p { color: var(--muted); max-width: 40rem; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--moss-dark);
    color: rgba(255,255,255,.75);
    font-size: .9rem;
    padding: 28px 0;
}
.site-footer .wrap {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.site-footer a { color: #fff; }

/* ---------- Gallery (lightGallery list) ---------- */
#media {
    list-style: none;
    padding: 0;
    margin: 0 0 72px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
#media li { margin: 0; }
#media a { display: block; border-radius: 10px; overflow: hidden; }
#media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform .3s ease;
}
#media a:hover img { transform: scale(1.05); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
    section { padding: 52px 0; }
    .intro { grid-template-columns: 1fr; gap: 28px; }
    .photos { grid-template-columns: repeat(2, 1fr); }
    .brand span { display: none; }
    .brand img { width: 52px; }
    .hero { min-height: 64vh; }
}
