/* brand.css - Ratskeller Wiesbaden Configuration */

/* 1. TYPOGRAPHY IMPORT - */

/* cinzel-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/cinzel-v26-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* cinzel-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/cinzel-v26-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/eb-garamond-v32-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-italic - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('assets/fonts/eb-garamond-v32-latin_latin-ext-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/eb-garamond-v32-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* eb-garamond-700 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/eb-garamond-v32-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-300 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('assets/fonts/montserrat-v31-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-regular - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/montserrat-v31-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-500 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('assets/fonts/montserrat-v31-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - latin_latin-ext */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('assets/fonts/montserrat-v31-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    /* --- COLOR PALETTE --- */

    /* PRIMARY ACCENT: Rheingau Gold */
    --store-primary: #A38043; 

    /* SECONDARY ACCENT: Ratskeller Deep Blue */
    --store-secondary: #140858; 

    /* BACKGROUNDS */
    /* The "Gastronomic Harmony" Deep Merlot */
    --store-bg-dark: #4A0E18; 
     
    /* The Official Brand Cream */
    --store-bg-light: #FFF7CD; 

    /* TEXT COLORS */
    --store-text: #140858;
     
    /* Cream text on Dark backgrounds */
    --store-text-contrast: #FFF7CD;

    /* The Gastronomic Text Color (Merlot) for visual hierarchy */
    --store-text-gastronomic: #4A0E18;
     
    /* --- TYPOGRAPHY VARS --- */
    /* 1. The "Imperial" Font - Use for H1, H2 (Section Headlines) */
    --font-display: 'Cinzel', serif;
     
    /* 2. The "Elegant" Font - Use for Menu Titles, Subtitles */
    --font-heading: 'EB Garamond', serif;
     
    /* 3. The "Modern" Font - Use for Body, Buttons, Nav */
    --font-body: 'Montserrat', sans-serif;
}

/* --- GLOBAL STYLES --- */

body {
    font-family: var(--font-body);
    font-weight: 300; /* Montserrat Light is very clean */
    color: var(--store-text);
    background-color: var(--store-bg-light);
    line-height: 1.6; /* Montserrat needs slightly more breathing room */
}

/* --- TYPOGRAPHY SETTINGS --- */

/* Level 1 & 2: The "Imperial/Stone Carved" Look */
h1, h2, h4, .font-display {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase; /* Cinzel looks best in All Caps */
    font-style: normal; /* STRICTLY Non-Italic */
    letter-spacing: 0.05em; /* Give it space */
    color: var(--store-secondary);
}

/* Level 3: The "Menu/Dish" Look */
h3, .font-serif {
    font-family: var(--font-heading);
    font-weight: 600; /* SemiBold for visibility */
    font-style: normal; /* STRICTLY Non-Italic for Dish Names */
    color: var(--store-secondary); /* Often uses secondary or gastronomic color */
}

/* --- SPECIFIC TWEAKS --- */

/* Adjust H1 underline to match the wider font */
h1 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h1::after {
    content: '';
    display: block;
    width: 80px; /* Wider underline for wider font */
    height: 3px;
    background-color: var(--store-primary);
    margin-top: 1rem;
}

/* Menu Item Titles - Specific override for menu context */
#menu h3 {
    color: var(--store-secondary);
    font-size: 1.35rem; /* Bump size slightly as Garamond is smaller than Cinzel */
}

/* --- ITALICS STRATEGY (The "Hospitality" Layer) --- */

/* English Translations - "The Whisper" */
.lang-en {
    font-family: var(--font-heading); /* Ensure it uses Garamond */
    font-style: italic; /* The Visual Cue for Translation */
    font-weight: 400;
    color: var(--store-text-gastronomic) !important;
    font-size: 1.05em; 
    opacity: 0.9;
    letter-spacing: 0; /* Reset spacing for lowercase italics */
}

/* Romantic Subtitles - "The Atmosphere" */
.subtitle-romantic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

/* --- NAVIGATION & BUTTONS --- */

/* Navigation - Montserrat fits buttons perfectly */
nav a, .btn-primary, .btn-secondary {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.1em; /* Montserrat loves wide spacing in caps */
    text-transform: uppercase;
    font-size: 0.85rem; 
}

/* Primary Button */
.btn-primary {
    background-color: var(--store-primary); /* Gold Background */
    color: #FFF; /* White Text */
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    border: 1px solid var(--store-primary);
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--store-secondary); /* Hover turns Blue */
    border-color: var(--store-secondary);
    color: var(--store-primary); /* Text turns Gold */
}

/* Secondary Button (Outline) */
.btn-secondary, .btn-primary-inverse {
    background-color: transparent;
    border: 1px solid var(--store-primary); /* Gold Border */
    color: var(--store-secondary); /* Blue Text */
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 2px;
}

.btn-secondary:hover, .btn-primary-inverse:hover {
    background-color: var(--store-primary); /* Fills with Gold */
    color: white;
}

/* --- ANIMATIONS (Scroll Reveal) --- */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- UTILITIES --- */

/* Icons on Light Backgrounds */
.text-merlot-icon {
    color: var(--store-text-gastronomic);
}

/* Contrast Utilities - Force light text inside Dark Merlot background */
.bg-\[var\(--store-bg-dark\)\] h1,
.bg-\[var\(--store-bg-dark\)\] h2,
.bg-\[var\(--store-bg-dark\)\] h3,
.bg-\[var\(--store-bg-dark\)\] p {
    color: var(--store-text-contrast);
}

.section-spacer {
    padding: 5rem 0;
}

/* Fix for Remix Icons vertical alignment */
i[class^="ri-"] {
    vertical-align: middle;
}

/* --- BRANDED MAP STYLES () --- */
/* --- MAP CONFIGURATION --- */



/* Ensure container background matches to prevent white flashes */
#map {
    background-color: var(--store-bg-dark);
}

/* 2. THE PIN: Turn default Blue into "Rheingau Gold" */
/* We use sepia to neutralize the blue, then saturate/rotate to hit gold */
.leaflet-marker-icon {
    filter: sepia(100%) saturate(300%) brightness(0.8) hue-rotate(15deg);
}

/* 3. THE POPUP: "Imperial" Card Style */
/* Removes the rounded bubble look and applies brand fonts/colors */
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: var(--store-bg-light);       /* Cream Background */
    color: var(--store-text);                /* Deep Blue Text */
    border: 1px solid var(--store-primary);  /* Gold Border */
    border-radius: 2px;                      /* Sharp corners (matches buttons) */
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);  /* Deep shadow */
    font-family: var(--font-body);           /* Montserrat for address text */
    padding: 2px;
}

/* Style the "Ratskeller Wiesbaden" bold text inside the popup */
.leaflet-popup-content b {
    font-family: var(--font-display);        /* Cinzel (Imperial) */
    color: var(--store-secondary);           /* Deep Blue */
    text-transform: uppercase;
    font-size: 1.1em;
    display: block;
    margin-bottom: 0.25rem;
    border-bottom: 2px solid var(--store-primary); /* Gold underline */
    padding-bottom: 4px;
}