/* ============================================================
   DESIGN SETTINGS - change these to restyle the whole site
   ============================================================ */
:root {
  --color-primary: #1d4ed8;      /* buttons, links, accents */
  --color-primary-dark: #1e3a8a; /* hover state */
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f3f4f6;       /* alternate section background */
  --color-hero-bg: #0f172a;      /* hero background */
  --color-hero-text: #ffffff;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: var(--font-body);

  --radius: 10px;
  --max-width: 1080px;
  --section-space: 5rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
a { color: var(--color-primary); }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }
.narrow { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .8rem 1.5rem; background: var(--color-primary); color: #fff; border: 2px solid var(--color-primary); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; }
.btn:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; margin-left: .5rem; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: currentColor; }
.btn-small { padding: .45rem 1rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-bottom: 1px solid #e5e7eb; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--color-text); }
nav { display: flex; align-items: center; gap: 1.5rem; }
nav a:not(.btn) { color: var(--color-text); text-decoration: none; font-weight: 500; }
nav a:not(.btn):hover { color: var(--color-primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--color-hero-bg); color: var(--color-hero-text); padding: 6rem 0; }
.lead { font-size: 1.2rem; max-width: 36rem; opacity: .9; margin-bottom: 2rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-space) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-intro { color: var(--color-muted); margin-bottom: 2rem; }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.two-col { display: grid; gap: 3rem; grid-template-columns: 1.4fr 1fr; align-items: center; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts li { background: #fff; padding: 1rem 1.25rem; border-radius: var(--radius); border-left: 4px solid var(--color-primary); }
.facts strong { display: block; font-size: 1.75rem; color: var(--color-primary); }

/* ---------- Form ---------- */
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; }
.form input, .form textarea { font: inherit; padding: .7rem .8rem; border: 1px solid #d1d5db; border-radius: var(--radius); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--color-primary); border-color: transparent; }
.hp { position: absolute; left: -9999px; }
.contact-info { margin-top: 2rem; color: var(--color-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-hero-bg); color: #cbd5e1; padding: 1.5rem 0; text-align: center; font-size: .9rem; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: flex-start; padding: 1rem; background: #fff; border-bottom: 1px solid #e5e7eb; }
  nav.open { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .btn-ghost { margin: .75rem 0 0; }
  :root { --section-space: 3.5rem; }
}

/* ---------- Graphics & language switch ---------- */
.hero-inner { display: grid; gap: 3rem; grid-template-columns: 1.2fr 1fr; align-items: center; }
.hero-art { width: 100%; max-width: 420px; height: auto; justify-self: center; }
.icon { width: 52px; height: 52px; padding: 12px; margin-bottom: 1rem; border-radius: 14px; background: color-mix(in srgb, var(--color-primary) 12%, #fff); color: var(--color-primary); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.card { transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.lang-switch { font-weight: 600; border: 1px solid #d1d5db; border-radius: 999px; padding: .25rem .8rem; font-size: .9rem; }
@media (max-width: 720px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { max-width: 280px; }
}

/* ---------- Animations (respect reduced-motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hero h1, .hero .lead, .hero .btn { animation: fadeUp .7s ease both; }
.hero .lead { animation-delay: .1s; }
.hero .btn { animation-delay: .2s; }
.hero .btn-ghost { animation-delay: .28s; }
.hero-art { animation: fadeUp .9s ease .15s both, floatY 6s ease-in-out 1.2s infinite; }
nav.open { animation: menuIn .2s ease; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: #fbbf24; }
.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 100; background: #fff; color: var(--color-text); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.skip-link:focus { top: .75rem; }
html { -webkit-text-size-adjust: 100%; }
.form input, .form textarea { min-height: 48px; }
.form textarea { min-height: 140px; }
.contact-info a { text-underline-offset: 3px; }

/* ---------- Mobile comfort ---------- */
.nav-toggle { width: 48px; height: 48px; border-radius: var(--radius); color: var(--color-text); }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.btn-small { min-height: 40px; }
@media (max-width: 720px) {
  nav a { width: 100%; padding: .85rem .25rem; font-size: 1.05rem; }
  nav a.btn { width: auto; padding: .75rem 1.25rem; margin-top: .25rem; }
  nav a.lang-switch { width: auto; padding: .6rem 1rem; }
  .hero { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .hero .btn { width: 100%; margin: .5rem 0 0; }
  .hero .btn-ghost { margin-left: 0; }
}

/* ---------- Reduced motion: turn everything off ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.site-footer a { color: #e2e8f0; text-underline-offset: 3px; }

/* ---------- Opening hours ---------- */
.topbar { background: #0b1220; color: #e2e8f0; font-size: .92rem; }
.topbar-in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem 1.25rem; padding: .5rem 0; text-align: center; }
.topbar a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.topbar-status { font-weight: 700; color: #fff; }
[data-open-status]:not(:empty)::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: #94a3b8; margin-right: .45em; vertical-align: .05em; }
[data-open-status].is-open::before { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
[data-open-status].is-closed::before { background: #f59e0b; }
.hero-hours { margin: 1.5rem 0 0; opacity: .95; font-size: 1.02rem; }
.hero-hours strong { display: block; font-size: 1.1rem; }
.section-hours { background: var(--color-primary-dark); color: #fff; text-align: center; }
.section-hours h2 { color: #fff; }
.open-big { font-size: 1.35rem; font-weight: 700; margin: 0 0 1rem; }
.hours-table { width: 100%; max-width: 440px; margin: 1.25rem auto; border-collapse: collapse; font-size: 1.15rem; }
.hours-table th, .hours-table td { padding: .8rem .75rem; border-bottom: 1px solid rgba(255,255,255,.25); }
.hours-table th { text-align: left; font-weight: 600; }
.hours-table td { text-align: right; }
.hours-table tr.today { background: rgba(255,255,255,.16); font-weight: 800; }
.hours-table tr.today th::after { content: " \00B7  " attr(data-today); font-weight: 600; font-size: .85em; opacity: .9; }
.btn-light { background: #fff; color: var(--color-primary-dark); border-color: #fff; margin-top: .5rem; }
.btn-light:hover { background: #e0e7ff; border-color: #e0e7ff; }
.footer-hours { margin-bottom: .35rem; color: #fff; font-weight: 600; }
@media (max-width: 720px) { .topbar-hours { flex-basis: 100%; order: 3; font-size: .85rem; } }
