/* ============================================
   GLOBAL STYLES — Chobham Pharmacy
   Shared reset, typography, buttons, utilities
============================================ */

:root {
    --green: #013D1F;
    --green-deep: #012B15;
    --green-light: #E8F5EE;
    --green-50: #F2FAF6;
    --gold: #C5A248;
    --gold-light: #D4B65E;
    --gold-pale: #F8F2E0;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --cream: #F7F6F2;
    --gray-100: #F0EFEB;
    --gray-200: #E4E3DF;
    --gray-300: #C8C7C3;
    --gray-500: #8A8985;
    --gray-600: #6B6A66;
    --gray-700: #4A4944;
    --gray-800: #2D2C28;
    --gray-900: #1A1918;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Libre Franklin', system-ui, sans-serif;

    --container: 1320px;
    --gutter: 32px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-soft: 0 2px 20px rgba(0,0,0,0.04);
    --shadow-card: 0 4px 32px rgba(0,0,0,0.06);
    --shadow-elevated: 0 16px 64px rgba(0,0,0,0.08);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--off-white);
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---- Ambient green glow ---- */
.glow {
    position: fixed;
    top: 0; left: 0;
    width: 70vw; height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,245,238,0.7) 0%, rgba(232,245,238,0.3) 40%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-20%, -30%);
    will-change: transform;
}

/* ---- Skip link ---- */
.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 10000;
    padding: 12px 24px; background: var(--green); color: var(--white);
    font-weight: 600; font-size: 14px; border-radius: var(--radius);
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================
   TYPOGRAPHY
============================================ */
.eyebrow {
    font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
    display: flex; align-items: center; gap: 12px;
}
.eyebrow--white { color: var(--gold-light); }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--gray-900); line-height: 1.1; }

/* ============================================
   BUTTONS
============================================ */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.02em;
    height: 40px; padding: 0 24px; border-radius: 100px;
    border: 1.5px solid var(--green);
    background: var(--green); color: var(--white);
    text-decoration: none; cursor: pointer;
    transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; color: var(--gold); transition: all 0.3s var(--ease); }
.btn:hover { background: transparent; color: var(--green); border-color: var(--gold); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(197,162,72,0.15); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary { background: var(--white); color: var(--green); }

.btn--gold {
    background: var(--gold); color: var(--white); border-color: var(--gold);
}
.btn--gold:hover {
    background: #b8953d; border-color: #b8953d; color: var(--white);
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,162,72,0.3);
}

.btn--white { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.2); }
.btn--white:hover { background: rgba(255,255,255,0.2); color: var(--white); border-color: rgba(255,255,255,0.4); }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.2); }
.btn--outline-white:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-white svg { color: var(--gold); }

.btn--sm { height: 34px; padding: 0 18px; font-size: 0.78rem; }

/* ============================================
   GSAP INITIAL STATES
============================================ */
.gsap-up { opacity: 0; transform: translateY(40px); }
.gsap-left { opacity: 0; transform: translateX(-50px); }
.gsap-right { opacity: 0; transform: translateX(50px); }
.gsap-fade { opacity: 0; }

/* ============================================
   RESPONSIVE — Global
============================================ */
@media (max-width: 640px) {
    .btn { width: 100%; justify-content: center; }
}
