/* =========================================================================
   Gaga Herbal — Global CSS Foundations
   ========================================================================= */

/* 1. Global CSS Variables */
:root {
    /* 1. Brand Palette */

    /* Primary — Plum */
    --primary: #6b2d5b;
    --primary-dark: #521f46;
    --primary-soft: #efeae7;
    --primary-20: rgba(107, 45, 91, 0.2);
    --primary-40: rgba(107, 45, 91, 0.4);

    /* Accent — Sage Green */
    --accent: #7a8b6f;
    --accent-dark: #5e6b54;
    --accent-soft: #f0f3ed;

    /* Warm — Rose Gold */
    --warm: #d4afab;
    --warm-light: #ebd6d4;

    /* 2. Surface & Background */
    --bg: #efeae7;
    --bg-plum-dark: #3a1530;
    --white: #ffffff;
    --card-bg: #ffffff;

    /* 3. Text */
    --text-dark: #2a2a2a;
    --text-muted: #6b5f68;

    /* 4. Borders */
    --border-color: #dde3d9;
    --border-light: #f0f4ef;

    /* 5. Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-accent: 'Mrs Saint Delafield', cursive;
    --font-ui: 'Montserrat', sans-serif;

    /* 6. UI Tokens */
    --radius-sm: 4px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(107, 45, 91, 0.08);
    --shadow-md: 0 6px 24px rgba(107, 45, 91, 0.12);
    --shadow-lg: 0 12px 40px rgba(107, 45, 91, 0.16);

    /* Transitions */
    --transition: 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* 3. Global Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.25rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

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

ul,
ol {
    list-style: none;
}

/* 4. Global Shell Components & Utilities */
.container {
    width: 100%;
    max-width: 1365px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-block;
}

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

/* 5. Mobile Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}
