/* ====================================================================
   Lunovia Groups — Design System & Custom Properties
   Artistic • Editorial • Minimal • Cinematic • Calm • High-End
   ==================================================================== */

/* Syne - latin-ext (Turkish: Ğ, ğ, İ, ı, Ş, ş, etc.) */
@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/syne-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Syne - latin */
@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/syne-latin.woff2') format('woff2'), url('../fonts/syne-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Inter - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter - latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2'), url('../fonts/inter-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans - latin-ext */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/dm-sans-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* DM Sans - latin */
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/dm-sans-latin.woff2') format('woff2'), url('../fonts/dm-sans-normal-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    /* Spacing scale */
    --space-2xs: 0.25rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Max Widths */
    --container-max: 1560px;
    --container-editorial: 1280px;
    --container-narrow: 880px;

    /* Radii */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    /* Optical Blur Scale */
    --blur-subtle: 6px;
    --blur-glass: 16px;
    --blur-heavy: 28px;
    --blur-cinematic: 48px;

    /* Timings & Transitions */
    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-gentle: cubic-bezier(0.25, 0.1, 0.25, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 750ms;
    --duration-cinematic: 1200ms;

    /* Z-Index Hierarchy */
    --z-base: 1;
    --z-sticky: 100;
    --z-overlay: 200;
    --z-modal: 500;
    --z-opening: 1000;

    /* Typography Font Stacks */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Syne', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-editorial: 'Syne', var(--font-sans);
    --font-heading: 'Syne', var(--font-sans);
    --font-body: 'DM Sans', var(--font-sans);
    --font-sub: 'DM Sans', var(--font-sans);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    /* Brand Signature Celestial Accents (Default: Lunovia Violet) */
    --brand-accent: #9d4edd;
    --brand-accent-glow: rgba(157, 78, 221, 0.22);
    --brand-accent-subtle: rgba(157, 78, 221, 0.12);
    --brand-accent-strong: rgba(157, 78, 221, 0.45);
    --nova: #9d4edd;
    --moon: #cfd3ff;
    --brand-gold: var(--brand-accent);
    --brand-gold-glow: var(--brand-accent-glow);
}

/* ====================================================================
   DARK THEME (Default Cinematic Celestial Obsidian)
   Deep celestial obsidian space, luminous starlight purple glows
   ==================================================================== */
[data-theme="dark"] {
    --bg-base: #07070d;
    --bg-surface: #0f1019;
    --bg-elevated: #161824;
    --bg-subtle: #1e2030;
    --bg-glass: rgba(7, 7, 13, 0.85);

    --text-primary: #f2f2f8;
    --text-secondary: #a0a4b4;
    --text-muted: #6e7284;
    --text-accent: #ffffff;

    --border-subtle: rgba(157, 78, 221, 0.14);
    --border-medium: rgba(157, 78, 221, 0.25);
    --border-strong: rgba(157, 78, 221, 0.48);

    --accent-glow: rgba(157, 78, 221, 0.12);
    --selection-bg: var(--brand-accent);
    --selection-text: #ffffff;

    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.55), 0 0 20px rgba(157, 78, 221, 0.04);
    --card-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.75), 0 0 30px rgba(157, 78, 221, 0.12);
    --card-hover: rgba(157, 78, 221, 0.05);

    --image-overlay: linear-gradient(180deg, rgba(7, 7, 13, 0.08) 0%, rgba(7, 7, 13, 0.55) 55%, rgba(7, 7, 13, 0.95) 100%);
    --hero-scrim: linear-gradient(180deg, rgba(7, 7, 13, 0.4) 0%, rgba(7, 7, 13, 0.8) 55%, #07070d 100%);
    --curtain-bg: #07070d;
}

/* ====================================================================
   LIGHT THEME (Starlight Porcelain & Deep Carbon Ink)
   Crisp pure white surfaces, high-contrast typography, celestial accents
   ==================================================================== */
[data-theme="light"] {
    --bg-base: #f7f8fc;
    --bg-surface: #ffffff;
    --bg-elevated: #f0f2fa;
    --bg-subtle: #e5e8f4;
    --bg-glass: rgba(247, 248, 252, 0.88);

    --text-primary: #0a0b12;
    --text-secondary: #3d414e;
    --text-muted: #676d7d;
    --text-accent: #050508;

    --border-subtle: rgba(15, 20, 35, 0.08);
    --border-medium: rgba(15, 20, 35, 0.16);
    --border-strong: rgba(15, 20, 35, 0.35);

    --accent-glow: rgba(157, 78, 221, 0.08);
    --selection-bg: var(--brand-accent);
    --selection-text: #ffffff;

    --card-shadow: 0 4px 20px rgba(10, 15, 30, 0.06), 0 1px 3px rgba(10, 15, 30, 0.04);
    --card-shadow-hover: 0 16px 40px rgba(10, 15, 30, 0.1), 0 2px 8px rgba(10, 15, 30, 0.06);
    --card-hover: rgba(157, 78, 221, 0.03);

    --image-overlay: linear-gradient(180deg, rgba(7, 7, 13, 0.1) 0%, rgba(7, 7, 13, 0.6) 55%, rgba(7, 7, 13, 0.94) 100%);
    --hero-scrim: linear-gradient(180deg, rgba(247, 248, 252, 0.55) 0%, rgba(247, 248, 252, 0.88) 55%, #f7f8fc 100%);
    --curtain-bg: #f7f8fc;
}
