/* ============================================
   BASE.CSS - Bretzel Haus
   Design Tokens & Reset
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
    /* Colors - Elegant Brown Theme */
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-cream: #faf6f1;
    --color-warm: #f5efe8;

    /* Brown palette */
    --color-brown-dark: #4a3728;
    --color-brown: #6b4c3a;
    --color-brown-light: #8b6b52;
    --color-caramel: #c49a6c;
    --color-gold: #d4a853;

    /* Accent */
    --color-olive: #5c6b4a;

    /* Grays */
    --color-gray-100: #f8f7f6;
    --color-gray-200: #e8e4e0;
    --color-gray-300: #d4cfc8;
    --color-gray-400: #a69d94;
    --color-gray-500: #7a7168;
    --color-gray-600: #5a524a;
    --color-gray-700: #3d3632;

    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(74, 55, 40, 0.05);
    --shadow-base: 0 2px 4px rgba(74, 55, 40, 0.08);
    --shadow-md: 0 4px 12px rgba(74, 55, 40, 0.1);
    --shadow-lg: 0 8px 24px rgba(74, 55, 40, 0.12);
    --shadow-xl: 0 16px 48px rgba(74, 55, 40, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-black);
    background-color: var(--color-cream);
}

/* Remove default list styles */
ul, ol {
    list-style: none;
}

/* Remove default anchor styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Remove default button styles */
button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Form elements */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   BASE TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-brown { color: var(--color-brown); }
.text-caramel { color: var(--color-caramel); }
.text-gold { color: var(--color-gold); }

.bg-cream { background-color: var(--color-cream); }
.bg-warm { background-color: var(--color-warm); }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }