/* ---------------------------------------------
   BASE.CSS — Global resets, typography, colors
   Studaria — A Scholarly Atelier
----------------------------------------------*/

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SMOOTH TEXT */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ROOT VARIABLES — Light & Dark Mode */
:root {
    /* Light Mode Palette — Clean Girl Aesthetic */
    --bg: #f7f4ef;              /* soft ivory */
    --bg-soft: #f2eee8;         /* warm cream */
    --text: #2a2a2a;            /* espresso charcoal */
    --text-soft: #4a4a4a;       /* softer charcoal */

    /* Accents — NO GREEN */
    --accent: #d6c4b2;          /* warm almond */
    --accent-deep: #a68a6d;     /* deep almond / soft cocoa */
    --gold: #d8c08f;            /* champagne gold */
    --gold-deep: #b89d6d;       /* richer gold */

    /* Browns / Neutrals */
    --taupe: #c7b8a3;           /* warm taupe */
    --sand: #e8dfd4;            /* sand beige */
    --espresso: #3b3028;        /* deep brown */

    /* Typography */
    --serif: "Cormorant Garamond", serif;
    --sans: "Inter", sans-serif;

    /* Spacing Scale */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 72px;

    /* Max Widths */
    --max-width: 1200px;
}

/* DARK MODE — Gold + Espresso */
[data-theme="dark"] {
    --bg: #0f0f0f;
    --bg-soft: #1a1a1a;
    --text: #e8e8e8;
    --text-soft: #cfcfcf;

    --accent: #bfa98a;          /* warm brown-gold */
    --accent-deep: #a68f6f;     /* deeper warm accent */

    --gold: #e5c98a;
    --gold-deep: #d4b67a;

    --taupe: #a89a86;
    --sand: #b8a894;
    --espresso: #e8e0d8;
}

/* GLOBAL BODY */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    font-size: 18px;
}

/* HEADINGS */
h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

/* LINKS */
a {
    color: var(--olive-deep);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

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

/* SECTIONS */
.section {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

/* BUTTONS */
button, .cta-button {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--olive-deep);
    color: white;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

button:hover, .cta-button:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

/* LISTS */
ul {
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: var(--space-sm);
}

/* CONTAINERS */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}
