/* ═══════════════════════════════════════════════════
   East Devon Gardener — Homepage Stylesheet
   eastdevongardener.co.uk
   ═══════════════════════════════════════════════════ */

:root {
    --forest:      #1E3A12;
    --forest-mid:  #2D5016;
    --leaf:        #4A7C24;
    --sage:        #8DB36B;
    --sage-light:  #B5D49A;
    --cream:       #FDFAF3;
    --sand:        #F0EBD8;
    --bark:        #5C4033;
    --earth:       #9B7B2F;
    --earth-dark:  #7A6124;
    --charcoal:    #1A1A1A;
    --text:        #333333;
    --muted:       #6B6B6B;
    --white:       #FFFFFF;
    --font-display:'Playfair Display', Georgia, serif;
    --font-body:   'Outfit', 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    font-size: 17px;
    margin: 0;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--forest); line-height: 1.15; }
h4, h5, h6 { font-family: var(--font-body); color: var(--forest); }

/* ═══════════ LOGO (inline SVG) ═══════════ */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}
.logo-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--forest);
    letter-spacing: -0.02em;
}
.logo-strapline {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--sage);
    margin-top: 5px;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.55rem 0;
    transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
.nav-link {
    font-weight: 600; font-size: 0.82rem; color: var(--text) !important;
    text-transform: uppercase; letter-spacing: 0.08em; padding: 0.5rem 0.9rem !important;
    transition: color 0.2s;
}
.nav-link:hover { color: var(--leaf) !important; }
.nav-cta {
    background: var(--earth); color: var(--white) !important; border-radius: 6px;
    padding: 0.5rem 1.1rem !important; font-size: 0.82rem; transition: background 0.2s;
}
.nav-cta:hover { background: var(--earth-dark); }

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--forest);
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1558618666-fcd25c85f82e?w=1600&q=80') center/cover no-repeat;
    opacity: 0.3;
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(30,58,18,0.92) 0%, rgba(45,80,22,0.7) 40%, rgba(30,58,18,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; }

.hero-strapline {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--sage-light);
    margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-strapline::before, .hero-strapline::after {
    content: ''; display: block; width: 28px; height: 1px; background: var(--sage);
}

.hero h1 {
    font-size: clamp(2.6rem, 5.8vw, 4.2rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.2rem;
    opacity: 0; animation: fadeUp 0.8s 0.35s forwards;
}
.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem; color: rgba(255,255,255,0.8);
    max-width: 520px; margin-bottom: 2.2rem; line-height: 1.7;
    font-weight: 300;
    opacity: 0; animation: fadeUp 0.8s 0.5s forwards;
}

.hero-btns {
    display: flex; flex-wrap: wrap; gap: 0.9rem;
    opacity: 0; animation: fadeUp 0.8s 0.65s forwards;
}

.hero-pillars {
    display: flex; flex-wrap: wrap; gap: 1.5rem;
    margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.hero-pillar {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: rgba(255,255,255,0.7); font-weight: 500;
}
.hero-pillar i { color: var(--sage); font-size: 1.1rem; }

.hero-towns {
    margin-top: 2rem; font-size: 0.8rem; color: rgba(255,255,255,0.4);
    opacity: 0; animation: fadeUp 0.8s 0.95s forwards;
}
.hero-towns strong { color: rgba(255,255,255,0.55); }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
    from { opacity: 0; transform: translateY(18px); }
}

/* ═══════════ BUTTONS ═══════════ */
.btn-gold {
    background: var(--earth); color: var(--white); border: none;
    padding: 0.9rem 2rem; font-weight: 700; font-size: 0.92rem;
    border-radius: 8px; text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.25s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-gold:hover { background: var(--earth-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

.btn-ghost {
    background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3);
    padding: 0.85rem 2rem; font-weight: 700; font-size: 0.92rem;
    border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.25s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: var(--white); }

.btn-dark {
    background: var(--forest); color: var(--white); border: none;
    padding: 0.85rem 2rem; font-weight: 700; font-size: 0.92rem;
    border-radius: 8px; text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.25s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-dark:hover { background: var(--charcoal); color: var(--white); transform: translateY(-2px); }

/* ═══════════ BRAND PILLARS SECTION ═══════════ */
.pillars-section {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
}
.pillar-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 14px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid transparent;
}
.pillar-card:hover {
    background: var(--cream);
    border-color: rgba(0,0,0,0.04);
    transform: translateY(-4px);
}
.pillar-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--forest), var(--leaf));
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 14px rgba(45,80,22,0.25);
}
.pillar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}
.pillar-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* ═══════════ SECTIONS COMMON ═══════════ */
section { padding: 5rem 0; }
.sec-label {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.2em; color: var(--sage); margin-bottom: 0.5rem;
    font-family: var(--font-body);
}
.sec-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.sec-intro { font-size: 1.05rem; color: var(--muted); max-width: 580px; line-height: 1.7; }

/* ═══════════ SERVICES ═══════════ */
.services-section { background: var(--cream); }
.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.service-img {
    width: 100%; height: 210px; object-fit: cover; display: block;
    transition: transform 0.6s;
}
.service-card:hover .service-img { transform: scale(1.04); }
.service-img-wrap { overflow: hidden; }
.service-body { padding: 1.5rem 1.5rem 1.8rem; }
.service-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-body p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ═══════════ ABOUT ═══════════ */
.about-section { background: var(--white); }
.about-img {
    border-radius: 14px; width: 100%; height: 480px; object-fit: cover;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.about-badge {
    position: absolute; bottom: -20px; left: 30px;
    background: var(--earth); color: var(--white);
    padding: 1rem 1.5rem; border-radius: 10px;
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 700;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    line-height: 1.1;
}
.about-badge span { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.about-feature {
    display: flex; gap: 1rem; margin-bottom: 1.4rem;
}
.about-icon {
    flex-shrink: 0; width: 44px; height: 44px;
    background: var(--cream); border: 1px solid rgba(0,0,0,0.06);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--leaf); font-size: 1.1rem;
}
.about-feature h4 { font-size: 0.98rem; margin-bottom: 0.2rem; font-weight: 700; }
.about-feature p { font-size: 0.88rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ═══════════ PRICING ═══════════ */
.pricing-section {
    background: var(--forest);
    position: relative;
    overflow: hidden;
}
.pricing-section::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04);
}
.pricing-section .sec-label { color: var(--sage-light); }
.pricing-section .sec-title { color: var(--white); }
.pricing-section .sec-intro { color: rgba(255,255,255,0.55); }
.price-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px; padding: 2.2rem; text-align: center;
    transition: all 0.3s; height: 100%;
}
.price-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.price-card.featured {
    border-color: var(--sage);
    background: rgba(255,255,255,0.08);
}
.price-tag {
    display: inline-block; background: var(--sage); color: var(--forest);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem; border-radius: 50px; margin-bottom: 1rem;
}
.price-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 0.8rem; }
.price-amount {
    font-family: var(--font-display); font-size: 3rem; color: var(--sage-light); line-height: 1;
}
.price-unit { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-bottom: 1.2rem; display: block; }
.price-features { list-style: none; padding: 0; margin: 0; text-align: left; }
.price-features li {
    padding: 0.45rem 0; font-size: 0.88rem; color: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: flex-start; gap: 0.5rem;
}
.price-features li:last-child { border: none; }
.price-features i { color: var(--sage); margin-top: 0.15rem; flex-shrink: 0; }

/* ═══════════ AREAS ═══════════ */
.areas-section { background: var(--cream); }
.area-tag {
    display: inline-block; background: var(--white); border: 1px solid rgba(0,0,0,0.06);
    padding: 0.55rem 1.3rem; border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; color: var(--forest);
    margin: 0.3rem; transition: all 0.2s; text-decoration: none;
}
.area-tag:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-section { background: var(--sand); }
.testimonial-card {
    background: var(--white); border-radius: 14px; padding: 2rem 2rem 1.8rem;
    height: 100%; box-shadow: 0 2px 14px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
}
.testimonial-card::before {
    content: '\201C'; position: absolute; top: 12px; left: 18px;
    font-family: var(--font-display); font-size: 4rem; color: var(--sage-light); line-height: 1; opacity: 0.5;
}
.testimonial-stars { color: var(--earth); margin-bottom: 0.7rem; font-size: 0.95rem; }
.testimonial-card blockquote {
    font-size: 0.95rem; color: var(--text); font-style: italic; line-height: 1.7; margin: 0 0 1rem; padding-left: 0;
    border: none;
}
.testimonial-card cite { font-style: normal; font-weight: 700; font-size: 0.88rem; color: var(--forest); }
.cite-loc { font-weight: 400; color: var(--muted); }

/* ═══════════ FAQ ═══════════ */
.faq-section { background: var(--white); }
.accordion-item {
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 10px !important;
    margin-bottom: 0.7rem; overflow: hidden; background: var(--cream);
}
.accordion-button {
    font-weight: 700; font-size: 0.98rem; color: var(--forest);
    background: var(--cream); padding: 1.15rem 1.4rem;
}
.accordion-button:not(.collapsed) { background: var(--sand); color: var(--forest); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: brightness(0.4); }
.accordion-body { font-size: 0.93rem; color: var(--muted); line-height: 1.75; padding: 0 1.4rem 1.2rem; }

/* ═══════════ CTA ═══════════ */
.cta-section {
    background: linear-gradient(135deg, var(--forest) 0%, var(--charcoal) 100%);
    padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; bottom: -40%; left: -10%; width: 500px; height: 500px;
    border-radius: 50%; border: 1px solid rgba(255,255,255,0.04);
}
.cta-section h2 { color: var(--white); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
.cta-section p { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-phone {
    font-family: var(--font-display); font-size: 2.2rem; color: var(--sage-light);
    text-decoration: none; display: block; margin-bottom: 1.8rem;
    transition: color 0.2s;
}
.cta-phone:hover { color: var(--white); }

/* ═══════════ FOOTER ═══════════ */
footer {
    background: var(--charcoal); color: rgba(255,255,255,0.45);
    padding: 3.5rem 0 1.5rem; font-size: 0.86rem;
}
footer h5 {
    font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.75); margin-bottom: 1rem;
}
footer a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--sage); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 0.4rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.78rem;
}
.footer-logo-text { font-family: var(--font-display); font-size: 1.1rem; color: rgba(255,255,255,0.7); margin-bottom: 0.3rem; }
.footer-strapline { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--sage); margin-bottom: 0.8rem; }

/* ═══════════ SCROLL REVEAL ═══════════ */
.reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 991px) {
    .hero { min-height: 80vh; }
    .about-img { height: 320px; margin-bottom: 2rem; }
    .about-badge { bottom: -16px; left: 20px; font-size: 1.3rem; padding: 0.8rem 1.2rem; }
}
@media (max-width: 575px) {
    section { padding: 3.5rem 0; }
    .hero-pillars { gap: 0.8rem; }
    .hero-towns { display: none; }
    .pillar-card { padding: 1.8rem 1rem; }
}
