/* 
   Kingdom Expansion - Global Styles 
   Colors:
   - Primary: #321B15
   - Accent: #F58634
   - Background: #ECE5D8
   - White: #FEFEFE
*/

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --color-primary: #321B15;
    --color-accent: #F58634;
    --color-bg: #ECE5D8;
    --color-white: #FEFEFE;
    --color-text-main: #321B15;
    --color-text-muted: #6b5b57;
    --color-border: rgba(50, 27, 21, 0.1);

    /* Fonts */
    --font-heading: 'Playfair Display', serif; /* Simulating Gristela */
    --font-body: 'Jost', sans-serif; /* Simulating Futura */

    /* Spacing */
    --spacing-xs: 0.5rem;   /* 8px */
    --spacing-sm: 1rem;     /* 16px */
    --spacing-md: 1.5rem;   /* 24px */
    --spacing-lg: 2rem;     /* 32px */
    --spacing-xl: 3rem;     /* 48px */

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(50, 27, 21, 0.05);
    --shadow-md: 0 8px 24px rgba(50, 27, 21, 0.08);
    --shadow-lg: 0 16px 48px rgba(50, 27, 21, 0.12);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-xs);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px; /* Standard desktop max-width */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* App Container */
#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}
