/* ============================================
   BASE.CSS - Natu Ice Cream
   Design Tokens & Reset
   ============================================ */

@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');

:root {
    /* Colors - Elegant White & Red Theme */
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-cream: #fdfcfb;
    --color-warm: #faf8f6;

    /* Red/Berry palette */
    --color-red-dark: #8b2942;
    --color-red: #c73e5c;
    --color-red-light: #e85a7a;
    --color-berry: #d64d6a;
    --color-rose: #f8e8eb;

    /* Accent colors from brand */
    --color-green: #6b9b7a;
    --color-orange: #e8a855;

    /* Grays */
    --color-gray-100: #f9f9f9;
    --color-gray-200: #ececec;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;

    /* 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(139, 41, 66, 0.05);
    --shadow-base: 0 2px 4px rgba(139, 41, 66, 0.08);
    --shadow-md: 0 4px 12px rgba(139, 41, 66, 0.1);
    --shadow-lg: 0 8px 24px rgba(139, 41, 66, 0.12);
    --shadow-xl: 0 16px 48px rgba(139, 41, 66, 0.15);

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

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

*, *::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-white);
}

ul, ol { list-style: none; }

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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-red { color: var(--color-red); }
.text-berry { color: var(--color-berry); }
.bg-cream { background-color: var(--color-cream); }
.bg-rose { background-color: var(--color-rose); }

.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; }