/* ===== BENTO CONTENT CARDS ===== */

/* Reset parent .content padding when using bento grid */
.content:has(.bento-content-grid) { max-width: 900px; padding: 0 0 24px; }

/* Grid layout */
.bento-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin: 24px auto; padding: 0 16px; box-sizing: border-box; }

/* Base card */
.bento-card { position: relative; padding: 28px 24px; border: 1px solid var(--color-border); overflow: hidden; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease; background: var(--color-card-bg); }
/* Liquid light: inner highlight top-left */
.bento-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--color-card-light) 0%, transparent 50%); pointer-events: none; z-index: 0; }
/* Soft shadow bottom-right */
.bento-card::after { content: ""; position: absolute; bottom: 0; right: 0; width: 60%; height: 40%; background: radial-gradient(ellipse at 100% 100%, var(--color-card-depth) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.bento-card > * { position: relative; z-index: 1; }
.bento-card:hover { transform: scale(1.02); box-shadow: 0 10px 32px var(--color-card-shadow); }

/* Organiska border-radius */
.bento-card:nth-child(1) { border-radius: 24px 18px 22px 16px; }
.bento-card:nth-child(2) { border-radius: 16px 24px 18px 22px; }
.bento-card:nth-child(3) { border-radius: 22px 16px 24px 18px; }
.bento-card:nth-child(4) { border-radius: 18px 22px 16px 24px; }
.bento-card:nth-child(5) { border-radius: 24px 16px 20px 18px; }
.bento-card:nth-child(6) { border-radius: 18px 20px 24px 16px; }

/* Full-width card spanning both columns */
.bento-card--wide { grid-column: 1 / -1; }

/* Centered intro text above grid (like menu-info on meny.html) */
.bento-intro { max-width: 820px; margin: 0 auto 4px; padding: 0 16px; text-align: center; box-sizing: border-box; }
.bento-intro p { margin: 0 0 4px; font-size: 16px; color: var(--color-text-secondary); line-height: 1.7; font-weight: 350; }
.bento-intro p:last-child { margin-bottom: 0; }

/* Card headings */
.bento-card h2 { font-family: 'Special Elite', 'Times New Roman', Times, serif; font-weight: 400; letter-spacing: .02em; font-size: 24px; margin: 0 0 12px; line-height: 1.2; }
.bento-card h3 { font-family: 'Lexend', system-ui, sans-serif; font-weight: 400; font-size: 16px; margin: 16px 0 6px; line-height: 1.3; }
.bento-card h3:first-child { margin-top: 0; }

/* Card text */
.bento-card p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; font-weight: 300; }
.bento-card p:last-child { margin-bottom: 0; }
.bento-card a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--color-link-border); }
.bento-card a:hover { border-bottom-color: var(--color-link-border-hover); }

/* Depth map: varying card opacities */
.bento-card:nth-child(2) { background: var(--color-card-bg-alt1); }
.bento-card:nth-child(4) { background: var(--color-card-bg-alt2); }
.bento-card:nth-child(5) { background: var(--color-card-bg-alt3); }

/* Per-section color identity */
.bento-card--warm    { background: var(--color-warm); }
.bento-card--green   { background: var(--color-green); }
.bento-card--soft    { background: var(--color-soft); }
.bento-card--neutral { background: var(--color-neutral); }
.bento-card--accent  { background: var(--color-accent); }

/* Contact card styles */
.bento-card--contact { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 120px; }
.bento-card--contact h2 { margin-bottom: 8px; }
.bento-card--contact p { font-size: 16px; }
a.bento-card--contact { text-decoration: none; color: inherit; cursor: pointer; }
.bento-card--contact svg { width: 28px; height: 28px; display: block; margin: 0 auto; }

/* Hours display */
.bento-hours { list-style: none; padding: 0; margin: 0; }
.bento-hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.bento-hours li:last-child { border-bottom: none; }
.bento-hours .label { font-weight: 400; }
.bento-hours .time { font-weight: 300; }

/* Profile card */
.bento-card--profile .profile-name { font-family: 'Special Elite', 'Times New Roman', Times, serif; font-weight: 400; letter-spacing: .02em; font-size: 28px; margin: 0 0 12px; line-height: 1; }

/* FAQ item styling */
.bento-faq h3 { font-family: 'Lexend', system-ui, sans-serif; font-weight: 400; font-size: 15px; margin: 14px 0 4px; }
.bento-faq h3:first-child { margin-top: 0; }
.bento-faq p { font-size: 14px; color: var(--color-text-muted); }

/* Brand word in text */
.brand-word { font-family: 'Special Elite', 'Times New Roman', Times, serif; font-weight: 400; letter-spacing: .02em; font-size: inherit; }

/* Staggered card entry */
@keyframes bentoCardIn { from { opacity: 0; transform: scale(0.95) translateY(12px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  html.js .bento-card { opacity: 0; transform: scale(0.95) translateY(12px); }
  html.js .bento-card.revealed { animation: bentoCardIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  html.js .bento-card.revealed:nth-child(1) { animation-delay: 0.05s; }
  html.js .bento-card.revealed:nth-child(2) { animation-delay: 0.12s; }
  html.js .bento-card.revealed:nth-child(3) { animation-delay: 0.19s; }
  html.js .bento-card.revealed:nth-child(4) { animation-delay: 0.26s; }
  html.js .bento-card.revealed:nth-child(5) { animation-delay: 0.33s; }
  html.js .bento-card.revealed:nth-child(6) { animation-delay: 0.40s; }
}

/* ===== SITE NOTICE (temporary banners) ===== */
.site-notice {
  max-width: 820px;
  margin: 16px auto 0;
  padding: 18px 24px;
  background: #c0392b;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  border-radius: 16px;
  box-sizing: border-box;
  line-height: 1.4;
}
@media (max-width: 700px) {
  .site-notice { margin: 12px 12px 0; font-size: 16px; padding: 14px 16px; }
}

/* ===== HERO GRADIENT FADE ===== */
.mobile-hero .hero-image,
.mobile-hero video {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .bento-content-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 12px; }
  .bento-card { padding: 22px 18px; }
  .bento-card h2 { font-size: 20px; }
  .bento-card p { font-size: 14px; }
  .bento-intro p { font-size: 14px; }
}

@media (min-width: 701px) and (max-width: 960px) {
  .bento-content-grid { gap: 16px; }
  .bento-card { padding: 24px 20px; }
  .bento-card h2 { font-size: 22px; }
  .bento-intro p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .bento-card { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ===== MAP CARD ===== */
.bento-map-card {
  max-width: 820px;
  margin: 20px auto 0;
  padding: 0 16px;
  box-sizing: border-box;
}
.bento-map-card iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 1px solid var(--color-border);
  border-radius: 24px 18px 22px 16px;
  background: var(--color-card-bg);
}
.bento-map-link {
  text-align: center;
  margin: 12px 0 0;
  font-size: 14px;
}
.bento-map-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--color-link-border);
}
.bento-map-link a:hover {
  border-bottom-color: var(--color-link-border-hover);
}
@media (max-width: 700px) {
  .bento-map-card { padding: 0 12px; }
  .bento-map-card iframe { height: 250px; border-radius: 20px 16px 18px 14px; }
}
