/* ===================================================================
   Café — designtokens
   =================================================================== */

:root {
  --cream: #FFFCF7;
  --tan-100: #F5EBDD;
  --tan-200: #EADFCA;
  --tan-300: #DEC9A6;
  --brown-300: #B48A5F;
  --brown-500: #8B5E3C;
  --brown-700: #6B4423;
  --brown-800: #4A2E1E;
  --brown-900: #2B1B12;
  --white: #FFFFFF;
  --cocoa: #3B2314;
  --berry: #A8362B;
  --leaf: #5C7A4B;
  --text: #3A2A1E;
  --text-muted: #6B5849;
  --text-soft: #9C876F;

  --shadow-sm: 0 2px 10px -4px rgba(43, 27, 18, 0.18);
  --shadow-md: 0 16px 34px -16px rgba(43, 27, 18, 0.28);
  --shadow-lg: 0 26px 60px -22px rgba(43, 27, 18, 0.34);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1160px;
}

* , *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html, body { overflow-x: hidden; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brown-800);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; color: var(--text-muted); }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 108px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown-500);
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--berry);
  display: inline-block;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 3.2vw, 38px); margin-bottom: 16px; }
.section-lead { font-size: 16.5px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--brown-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--brown-900); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--brown-800);
  border: 1.5px solid var(--tan-300);
}
.btn-ghost:hover { border-color: var(--brown-500); background: var(--tan-100); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 68, 35, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark { flex: none; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--brown-800);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--berry); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--brown-800);
  border-radius: 2px;
}

/* ===== Hero ===== */

.hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(circle at 85% 10%, rgba(139, 94, 60, 0.14), transparent 55%),
    linear-gradient(180deg, var(--tan-100) 0%, var(--cream) 70%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg { width: 100%; max-width: 380px; }

/* ===== Om oss ===== */

.about {
  background: var(--white);
}
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.about-visual svg { width: 100%; }
.about-content p { margin-bottom: 16px; font-size: 16px; }
.about-content p:last-child { margin-bottom: 0; }

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
}
.about-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--brown-800);
  font-weight: 600;
}
.about-stat-label {
  font-size: 13px;
  color: var(--text-soft);
}

/* ===== Meny ===== */

.menu { background: var(--tan-100); }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.menu-tab {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--white);
  color: var(--brown-700);
  border: 1px solid var(--tan-300);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 56px;
}

.menu-category {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}

.menu-category-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.menu-category-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--tan-100);
  color: var(--brown-700);
}
.menu-category-head h3 { font-size: 19px; }

.menu-items { display: flex; flex-direction: column; gap: 14px; }
.menu-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.menu-item-name { font-size: 15px; font-weight: 600; color: var(--brown-800); }
.menu-item-dots {
  flex: 1;
  border-bottom: 1.5px dotted var(--tan-300);
  transform: translateY(-4px);
}
.menu-item-price { font-size: 14.5px; font-weight: 700; color: var(--berry); white-space: nowrap; }

/* ===== Galleri (aesthetic plates) ===== */

.gallery { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.plate-card {
  background: var(--tan-100);
  border-radius: var(--radius-lg);
  padding: 26px 20px 24px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.plate-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plate-card svg { margin: 0 auto 18px; }
.plate-card h3 { font-size: 17px; margin-bottom: 6px; }
.plate-card p { font-size: 13.5px; }

/* ===== Öppettider / hitta hit ===== */

.hours {
  background: var(--brown-800);
  color: var(--tan-100);
}
.hours-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.hours h2 { color: var(--white); }
.hours .section-lead { color: rgba(245, 235, 221, 0.75); }
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(245, 235, 221, 0.14);
  font-size: 15px;
}
.hours-day { font-weight: 600; color: var(--white); }
.hours-time { color: rgba(245, 235, 221, 0.75); }

.contact-card {
  background: rgba(255, 252, 247, 0.06);
  border: 1px solid rgba(245, 235, 221, 0.16);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-card h3 { color: var(--white); font-size: 19px; margin-bottom: 18px; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14.5px;
  color: rgba(245, 235, 221, 0.85);
}
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { flex: none; margin-top: 2px; color: var(--tan-300); }

/* ===== Footer ===== */

.site-footer {
  background: var(--cocoa);
  color: rgba(245, 235, 221, 0.6);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner .logo-text { color: var(--tan-100); }
.footer-copy { font-size: 13px; }

/* ===== Reveal ===== */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */

@media (max-width: 920px) {
  .hero-inner, .about-inner, .hours-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(107, 68, 35, 0.12);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 28px 20px;
  }
  .main-nav.is-open a { display: block; padding: 10px 0; }
  .header-inner { position: relative; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .hero { padding-top: 40px; }
  .about-stats { gap: 24px; }
}
