/**
 * Evangiz Restaurant - Base Stylesheet & Design Tokens
 */

/* 1. Design System Tokens */
:root {
    /* Color Palette */
    --color-primary: #0b1325;
    --color-primary-light: #16223f;
    --color-accent: #e7562a;
    --color-accent-hover: #cf431a;
    --color-secondary: #d4a34b;
    --color-bg-warm: #fcf9f5;
    --color-bg-cream: #ffffff;
    --color-text-dark: #2c323f;
    --color-text-light: #f5f6f8;
    --color-text-muted: #6e7a8e;
    --color-border: #ebdcd0;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-white: #ffffff;
    --color-blue: #0084f7;
    
    /* Typography Font Families */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 7rem;
    
    /* Layout Properties */
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 32px;
    --radius-round: 9999px;
    
    /* Transitions & Micro-Interactions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-medium: 0 8px 30px rgba(11, 19, 37, 0.06);
    --shadow-premium: 0 20px 50px rgba(11, 19, 37, 0.12);
}

/* 2. Global Resets */
*, *::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: 1rem;
    line-height: 1.65;
    color: var(--color-text-dark);
    background-color: var(--color-bg-warm);
    overflow-x: hidden;
}

body.nav-drawer-open {
    overflow: hidden;
}

/* 3. Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.25;
    
}
.hidden{
    display: none!important;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: var(--space-sm);
}

h3 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.15rem;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* 4. Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-serif, .font-serif { font-family: var(--font-serif); }
.text-muted { color: var(--color-text-muted); }

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spacing + display utilities (replace former inline style="" attributes;
   !important mirrors the strength inline styles had over component rules). */
.mt-xs { margin-top: var(--space-xs) !important; }
.mt-sm { margin-top: var(--space-sm) !important; }
.mt-md { margin-top: var(--space-md) !important; }
.mt-lg { margin-top: var(--space-lg) !important; }
.mt-xl { margin-top: var(--space-xl) !important; }
.mb-sm { margin-bottom: var(--space-sm) !important; }
.mb-md { margin-bottom: var(--space-md) !important; }
.mb-lg { margin-bottom: var(--space-lg) !important; }
.gap-x-md { gap: 0 var(--space-md) !important; }
.opacity-95 { opacity: 0.95 !important; }

/* Media fill: image/video covering its container */
.media-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge System */
.badge {
    display: inline-block;
    padding: 0.25em 0.85em;
    font-size: 0.625rem;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-round);
}

.badge-menu {
    background-color: rgba(229, 92, 52, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(229, 92, 52, 0.2);
}

.badge-status-pending { background-color: #fef3c7; color: #d97706; }
.badge-status-confirmed { background-color: #d1fae5; color: #059669; }
.badge-status-cancelled { background-color: #fee2e2; color: #dc2626; }



/* 5. Custom Shapes & Dividers */

.custom-shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.custom-shape-divider-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
}

.custom-shape-divider-bottom .shape-fill {
    fill: var(--color-bg-warm);
}
