/* ============================================================
   Luscombe Herbals — Main Stylesheet
   Warm cream / deep olive palette
   Font: Inter (Google Fonts)
   ============================================================ */

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-cream: #f7f2e9;
    --color-cream-dark: #ede5d6;
    --color-olive: #3c6e47;
    --color-olive-light: #5a8a64;
    --color-olive-dark: #2a4f33;
    --color-text: #2c2c2c;
    --color-text-light: #555;
    --color-white: #ffffff;
    --color-border: #d9d0c0;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    --radius: 8px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-cream);
}

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

a {
    color: var(--color-olive);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover,
a:focus {
    color: var(--color-olive-dark);
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.8rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.3rem;
}

/* ----- Skip link ----- */
.skip-link {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--color-olive);
    color: #fff;
    border-radius: var(--radius);
    transform: translateY(-200%);
    transition: transform 0.2s ease;
}
.skip-link:focus {
    transform: translateY(0);
}

/* ----- Container ----- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none !important;
}

.btn-primary {
    background: var(--color-olive);
    color: #fff;
    border-color: var(--color-olive);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--color-olive-dark);
    border-color: var(--color-olive-dark);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-olive);
    border-color: var(--color-olive);
}
.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--color-olive);
    color: #fff;
}

/* ----- Header ----- */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-olive-dark);
    text-decoration: none !important;
}
.brand .logo {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}
.nav a {
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none !important;
}
.nav a:hover,
.nav a:focus {
    color: var(--color-olive);
}

.nav-cart {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}
.cart-count {
    display: inline-block;
    background: var(--color-olive);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: 0.2s ease;
}

/* ----- Hero ----- */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: var(--color-olive-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-xl) 0;
}
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
}
.hero-content .subheading {
    font-size: 1.3rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}
.hero-buttons .btn-secondary {
    border-color: #fff;
    color: #fff;
}
.hero-buttons .btn-secondary:hover {
    background: #fff;
    color: var(--color-olive-dark);
}

/* ----- Sections ----- */
.section {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid var(--color-border);
}
.section:last-of-type {
    border-bottom: none;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-olive-dark);
}

/* Intro */
.intro-text {
    font-size: 1.2rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-light);
}

/* Approach snippet */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}
.approach-item {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.approach-item h3 {
    color: var(--color-olive);
    margin-bottom: var(--spacing-sm);
}
.approach-cta {
    text-align: center;
}

/* Gumby feature */
.gumby-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}
.gumby-feature-image img {
    border-radius: var(--radius);
    background: var(--color-cream-dark);
}
.gumby-feature-text p {
    margin-bottom: var(--spacing-md);
}
.gumby-feature-text .btn {
    margin-top: var(--spacing-sm);
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.product-card-image {
    background: var(--color-cream-dark);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-body {
    padding: var(--spacing-md);
}
.product-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--color-olive-dark);
}
.product-card-body .price {
    font-weight: 600;
    color: var(--color-olive);
    margin-bottom: var(--spacing-sm);
}
.product-card-body .pack {
    font-size: 0.9rem;
    color: var(--color-text-light);
}
.product-card-body .ingredients {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: var(--spacing-sm) 0;
}
.product-card-body .latin {
    font-style: italic;
}
.product-card-body .btn {
    margin-top: var(--spacing-sm);
    width: 100%;
    text-align: center;
}

.product-card .btn-outline {
    background: transparent;
    color: var(--color-olive);
    border: 1px solid var(--color-olive);
}
.product-card .btn-outline:hover {
    background: var(--color-olive);
    color: #fff;
}

.product-card .btn-enquiry {
    background: var(--color-cream-dark);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.product-card .btn-enquiry:hover {
    background: var(--color-border);
}

/* Journal grid */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.journal-card {
    background: var(--color-white);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.journal-card-image {
    background: var(--color-cream-dark);
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.journal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.journal-card-body {
    padding: var(--spacing-md);
}
.journal-card-body .date {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.journal-card-body h3 {
    font-size: 1.1rem;
    margin: var(--spacing-xs) 0;
}
.journal-card-body .excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.products-cta,
.journal-cta {
    text-align: center;
}

/* ----- Footer ----- */
.site-footer {
    background: var(--color-olive-dark);
    color: var(--color-cream);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-top: 4px solid var(--color-olive-light);
}
.site-footer a {
    color: var(--color-cream);
    opacity: 0.8;
    text-decoration: none !important;
}
.site-footer a:hover,
.site-footer a:focus {
    opacity: 1;
    text-decoration: underline !important;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.footer-brand .footer-logo {
    width: 32px;
    height: 32px;
}
.footer-brand span {
    font-weight: 700;
    font-size: 1.1rem;
}
.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 2px;
}

.footer-nav,
.footer-legal,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-nav a,
.footer-legal a {
    font-size: 0.95rem;
}
.footer-contact span {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}
.footer-bottom .disclaimer-small {
    max-width: 700px;
    margin: var(--spacing-sm) auto 0;
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
    .gumby-feature-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    .gumby-feature-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        width: 100%;
        padding: var(--spacing-md) 0;
        border-top: 1px solid var(--color-border);
        margin-top: var(--spacing-md);
    }
    .nav.is-open {
        display: flex;
    }
    .nav a {
        padding: 8px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content .subheading {
        font-size: 1rem;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    .journal-grid {
        grid-template-columns: 1fr;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}