/* ROOT/assets/css/Montserrat.css */
/* EatFree local font + brand foundation */

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat.ttf') format('truetype');
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Thin.ttf') format('truetype');
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-ExtraBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Black.ttf') format('truetype');
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Caprasimo';
    src: url('../fonts/Caprasimo.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Kaushan Script';
    src: url('../fonts/KaushanScript-Regular.otf') format('opentype'),
         url('../fonts/kaushanScript-Regular.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

/* Backwards compatibility for old EatFree files */
@font-face {
    font-family: 'Cooper Black Regular';
    src: url('../fonts/Caprasimo.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    --ef-green: #6db049;
    --ef-green-dark: #5a9a3d;
    --ef-yellow: #ebe954;
    --ef-black: #1a1a1a;
    --ef-dark-grey: #2f2f2f;
    --ef-page: #f8f9fa;
    --ef-card: #ffffff;
    --ef-border: #dee2e6;
    --ef-text: #212529;
    --ef-muted: #6c757d;
    --ef-shadow: 0 2px 8px rgba(0,0,0,0.05);
    --ef-radius: 14px;
}

/* Future dark/light foundation */
[data-ef-theme="light"] {
    --ef-shell-bg: #f8f9fa;
    --ef-surface: #ffffff;
    --ef-surface-soft: #f1f3f5;
    --ef-text-main: #212529;
    --ef-text-soft: #6c757d;
    --ef-sidebar-bg: #1a1a1a;
    --ef-sidebar-text: #ffffff;
}

[data-ef-theme="dark"] {
    --ef-shell-bg: #111111;
    --ef-surface: #1f1f1f;
    --ef-surface-soft: #2b2b2b;
    --ef-text-main: #f8f9fa;
    --ef-text-soft: #c7c7c7;
    --ef-sidebar-bg: #0f0f0f;
    --ef-sidebar-text: #ffffff;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
}

/* Official EatFree wordmark */
.eatfree-logo {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font-family: 'Caprasimo', serif !important;
    font-weight: 400 !important;
    line-height: 1;
    letter-spacing: -0.045em;
    text-decoration: none;
}

.eatfree-logo .eat,
.eatfree-logo .free {
    font-family: 'Caprasimo', serif !important;
    font-weight: 400 !important;
}
.eatfree-logo .eat {
    color: var(--ef-green);
}

.eatfree-logo .free {
    color: var(--ef-yellow);
}

.eatfree-logo.logo-white,
.eatfree-logo.logo-white .eat,
.eatfree-logo.logo-white .free {
    color: #ffffff;
}

.eatfree-logo.logo-dark,
.eatfree-logo.logo-dark .eat,
.eatfree-logo.logo-dark .free {
    color: var(--ef-dark-grey);
}

.eatfree-logo.logo-admin {
    font-size: 2rem;
}

.eatfree-logo.logo-header {
    font-size: 2rem;
}

.eatfree-logo.logo-footer {
    font-size: 1.7rem;
}

.eatfree-brand-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.eatfree-brand-label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.68rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.58);
}

.ef-script-accent {
    font-family: 'Kaushan Script', cursive;
}