/* =============================
   Velvet Curse Küche - Luxury Premium Theme
   Author: Senior CSS Developer & UI Designer
   Notes: Mobile-first, flexbox-only, luxury & premium aesthetic
   ============================= */

/* -----------------------------
   CSS Reset & Normalize (flex-safe)
   ----------------------------- */
* { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, picture { max-width: 100%; display: block; }
a { background-color: transparent; text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #C8A96A; outline-offset: 2px; }

/* -----------------------------
   Theme Variables & Fallbacks
   ----------------------------- */
:root {
  --primary: #243C32;        /* deep evergreen */
  --secondary: #8C2F1B;      /* warm rust */
  --accent: #FAF5EC;         /* soft cream */
  --ink: #111111;            /* rich black */
  --muted: #5E6A66;          /* desaturated evergreen */
  --paper: #F7F4EE;          /* refined paper */
  --gold: #C8A96A;           /* elegant gold accent */
  --gold-deep: #A8894F;      /* darker gold for hover */
  --surface: #FFFFFF;        /* default surface */
  --shadow: 0 10px 24px rgba(0,0,0,0.08), 0 1px 1px rgba(0,0,0,0.06);
  --radius-sm: 8px;          /* refined corner radius */
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1180px;       /* max width */
}

/* -----------------------------
   Base Typography
   ----------------------------- */
html, body { height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink, #111111);
  background: var(--paper, #F7F4EE);
  line-height: 1.6;
  letter-spacing: 0.2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', serif;
  color: #0E0E0E;
  letter-spacing: 0.2px;
}

h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 24px; line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.4; }
.subheadline { color: var(--muted, #5E6A66); font-size: 16px; margin-top: 8px; }

p, li { font-size: 16px; }
small { font-size: 14px; }
strong { font-weight: 700; }

/* Luxury separators */
hr { border: none; border-top: 1px solid var(--gold, #C8A96A); margin: 24px 0; opacity: 0.4; }

/* -----------------------------
   Layout Containers (Flex-only)
   ----------------------------- */
.container {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.content-wrapper {
  width: 100%;
  max-width: var(--container, 1180px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Universal section spacing (also provide .section class per requirement) */
section { margin-bottom: 60px; padding: 40px 0; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* -----------------------------
   Header & Navigation
   ----------------------------- */
header {
  background: var(--surface, #FFFFFF);
  border-bottom: 1px solid rgba(200,169,106,0.35);
  position: sticky;
  top: 0; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

/* Header layout */
header .content-wrapper {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo img { height: 40px; width: auto; display: block; }

/* Main nav - hidden on mobile */
.main-nav {
  display: none;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--ink, #111111);
  padding: 10px 0;
  position: relative;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--secondary, #8C2F1B); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; bottom: -8px; height: 2px; width: 100%;
  background: var(--gold, #C8A96A);
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--gold, #C8A96A);
  border-radius: 999px;
  color: var(--primary, #243C32);
}

.header-ctas { display: none; align-items: center; gap: 12px; }

/* Mobile toggle */
.mobile-menu-toggle {
  font-size: 22px; line-height: 1;
  color: var(--primary, #243C32);
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,169,106,0.6);
  background: var(--surface, #FFFFFF);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.mobile-menu-toggle:hover { background: var(--accent, #FAF5EC); transform: translateY(-1px); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--primary, #243C32);
  color: #F5F3EE;
  padding: 20px;
  display: flex; flex-direction: column; gap: 24px;
  transform: translateX(100%);
  transition: transform .35s ease;
}
.mobile-menu.open, .mobile-menu.active, body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu-close {
  align-self: flex-end;
  width: 42px; height: 42px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #F5F3EE; border: 1px solid rgba(200,169,106,0.6);
}
.mobile-nav { display: flex; flex-direction: column; gap: 12px; }
.mobile-nav a {
  display: flex; align-items: center; padding: 14px 10px;
  border-bottom: 1px solid rgba(200,169,106,0.25);
  font-size: 18px; color: #F5F3EE;
}
.mobile-nav a:hover { color: #FFFFFF; }

/* -----------------------------
   Hero Section – Luxury treatment
   ----------------------------- */
.hero {
  background: var(--primary, #243C32);
  color: #FFFFFF;
  border-top: 1px solid var(--gold, #C8A96A);
  border-bottom: 1px solid var(--gold, #C8A96A);
}
.hero h1 { color: #FFFFFF; font-size: 32px; }
.hero .subheadline { color: #E6E3DB; }

/* Search bar */
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface, #FFFFFF);
  color: var(--ink, #111111);
  border: 1px solid var(--gold, #C8A96A);
  border-radius: var(--radius-lg, 16px);
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.search-bar img { width: 18px; height: 18px; }
.search-bar span { opacity: 0.8; font-size: 14px; }

/* Featured categories in hero */
.featured-categories {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start;
}
.featured-categories a {
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--gold, #C8A96A);
  color: #FFFFFF; background: transparent;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.featured-categories a:hover { background: var(--gold, #C8A96A); color: var(--primary, #243C32); transform: translateY(-1px); }

.trust-badges { color: #EDE8DE; font-size: 14px; opacity: 0.95; }

/* -----------------------------
   Buttons (Luxury states)
   ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 18px; border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  border: 1px solid transparent; font-weight: 600;
}
.btn.primary {
  background: var(--gold, #C8A96A);
  color: var(--primary, #243C32);
  border-color: var(--gold, #C8A96A);
  box-shadow: 0 6px 16px rgba(200,169,106,0.25);
}
.btn.primary:hover { background: var(--gold-deep, #A8894F); border-color: var(--gold-deep, #A8894F); transform: translateY(-1px); }

.btn.secondary {
  background: transparent; color: var(--primary, #243C32);
  border: 1px solid var(--gold, #C8A96A);
}
.btn.secondary:hover { background: var(--accent, #FAF5EC); }

/* CTA rows */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -----------------------------
   Text blocks & Lists
   ----------------------------- */
.text-section { display: flex; align-items: center; gap: 10px; color: var(--ink, #111111); }
.text-section + .text-section { margin-top: 8px; }

.link-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.link-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px dashed rgba(200,169,106,0.35); }
.link-list a { color: var(--secondary, #8C2F1B); text-decoration: underline; text-underline-offset: 2px; }
.link-list a:hover { color: var(--primary, #243C32); }

/* Feature grid (flex-only) */
.feature-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-grid .text-section {
  flex: 1 1 260px;
  align-items: flex-start; gap: 8px;
  background: var(--surface, #FFFFFF);
  border: 1px solid rgba(200,169,106,0.35);
  border-left: 4px solid var(--gold, #C8A96A);
  border-radius: var(--radius-md, 12px);
  padding: 16px;
  box-shadow: var(--shadow);
}

/* Testimonials – light background for readability */
.testimonial-card {
  display: flex; align-items: center; gap: 20px; padding: 20px;
  background: var(--accent, #FAF5EC);
  border: 1px solid rgba(200,169,106,0.45);
  border-left: 4px solid var(--gold, #C8A96A);
  border-radius: var(--radius-md, 12px);
  color: var(--ink, #111111);
  box-shadow: var(--shadow);
}

/* Footer */
footer { background: #101614; color: #EAE6DC; border-top: 1px solid rgba(200,169,106,0.35); }
footer .content-wrapper { padding: 24px 0; }
.footer-brand, .footer-nav, .footer-extra { display: flex; flex-direction: column; gap: 12px; }
.footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px; }
.footer-nav a { color: #EAE6DC; opacity: 0.9; }
.footer-nav a[aria-current="page"], footer a:hover { color: #FFFFFF; }

/* Address line icons */
footer .text-section { color: #EAE6DC; opacity: 0.95; }
footer img { width: 16px; height: 16px; }

/* -----------------------------
   Utility & Reusable Layouts (Flex-only)
   ----------------------------- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: var(--surface, #FFFFFF); border: 1px solid rgba(200,169,106,0.35); border-radius: var(--radius-md, 12px); box-shadow: var(--shadow); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* -----------------------------
   Images & Media
   ----------------------------- */
img { border-radius: var(--radius-sm, 8px); }
.hero img { border-radius: 8px; }

/* -----------------------------
   Accessibility & Links
   ----------------------------- */
a { transition: color .2s ease, opacity .2s ease; }
a:hover { opacity: 0.95; }

/* -----------------------------
   Mobile Menu Breakpoints
   ----------------------------- */
@media (min-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .logo img { height: 44px; }
}

@media (min-width: 992px) {
  .main-nav { display: flex; }
  .header-ctas { display: flex; }
  .mobile-menu-toggle { display: none; }
  header .content-wrapper { padding: 14px 0; }
  .hero h1 { font-size: 48px; }
}

/* -----------------------------
   Page-specific subtle treatments
   ----------------------------- */
.hero + section .content-wrapper > h2 { position: relative; padding-top: 6px; }
.hero + section .content-wrapper > h2::before {
  content: ""; position: relative; display: block; height: 2px; width: 60px; background: var(--gold, #C8A96A); margin-bottom: 14px;
}

/* -----------------------------
   Cookie Consent Banner & Modal
   ----------------------------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
  display: flex; flex-direction: column; gap: 12px;
  background: #FFFDF8;
  color: var(--ink, #111111);
  border-top: 1px solid var(--gold, #C8A96A);
  box-shadow: 0 -12px 24px rgba(0,0,0,0.08);
  padding: 16px 20px;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.cookie-banner.show, .cookie-banner.open, body.cookie-open .cookie-banner { transform: translateY(0); }
.cookie-banner .cookie-content { display: flex; flex-direction: column; gap: 12px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 16px; }
.cookie-actions .btn.accept { background: var(--gold, #C8A96A); color: var(--primary, #243C32); border-color: var(--gold, #C8A96A); }
.cookie-actions .btn.reject { background: transparent; border: 1px solid var(--gold, #C8A96A); color: var(--primary, #243C32); }
.cookie-actions .btn.settings { background: var(--accent, #FAF5EC); border: 1px dashed var(--gold, #C8A96A); color: var(--primary, #243C32); }

/* Cookie preferences modal */
.cookie-modal {
  position: fixed; inset: 0; z-index: 3500; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.cookie-modal.open { opacity: 1; pointer-events: auto; }
.cookie-dialog {
  background: var(--surface, #FFFFFF);
  width: min(720px, 92vw);
  border: 1px solid rgba(200,169,106,0.45);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
}
.cookie-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(200,169,106,0.35); }
.cookie-toggles { display: flex; align-items: center; gap: 10px; }

/* Toggle switch (generic) */
.toggle {
  width: 46px; height: 26px; border-radius: 999px; position: relative;
  background: #DDD; border: 1px solid #CCC; transition: background .2s ease, border-color .2s ease;
}
.toggle::after {
  content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; top: 2px; left: 2px; background: #FFF; box-shadow: 0 1px 4px rgba(0,0,0,0.25); transition: transform .2s ease;
}
.toggle.on { background: var(--gold, #C8A96A); border-color: var(--gold, #C8A96A); }
.toggle.on::after { transform: translateX(20px); }

/* -----------------------------
   Forms & Inputs (for future)
   ----------------------------- */
input[type="text"], input[type="email"], input[type="search"], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(200,169,106,0.45); background: #FFFFFF; color: var(--ink, #111111);
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(200,169,106,0.6); }

/* -----------------------------
   Spacing Utilities (8-16-24-32 rhythm)
   ----------------------------- */
.u-gap-8 { display: flex; gap: 8px; }
.u-gap-16 { display: flex; gap: 16px; }
.u-gap-24 { display: flex; gap: 24px; }

/* -----------------------------
   Desktop composition
   ----------------------------- */
@media (min-width: 1024px) {
  .content-wrapper { gap: 24px; }
  .text-image-section { flex-wrap: nowrap; }
  .footer-brand, .footer-nav, .footer-extra { flex: 1 1 0; }
}

/* -----------------------------
   Accessibility contrast in testimonials ensured
   ----------------------------- */
.testimonial-card p { color: var(--ink, #111111); }

/* -----------------------------
   Additional minor components from requirements (present even if unused)
   ----------------------------- */
.card-content { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(200,169,106,0.25); }

/* -----------------------------
   Print minimalist
   ----------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #FFFFFF; }
}
