/* Rørvig Minigolf stylesheet */

/* Skrifttyperne ligger lokalt i mappen fonts, så der ikke sendes data til Google */
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/baloo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/baloo-2-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Farverne er taget fra kiosken (rød med mørkegrøn kant) og banerne */
  --green: #2e4a33;
  --green-dark: #1e3123;
  --green-light: #eaefe6;
  --red: #8f2f2a;
  --red-dark: #6f221f;
  --lane: #b4483c;
  --sand: #f8f4ec;
  --sun: #f5b82e;
  --ink: #1d2420;
  --muted: #5b6a62;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 74, 51, 0.10);
  --heading: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--green-dark);
}
h1 { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--green); }

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 20px;
}

.small { font-size: 0.92rem; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20, 74, 51, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green-dark);
  text-decoration: none;
}
.logo img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); }
.menu {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.menu a:hover, .menu a:focus-visible { background: var(--green-light); color: var(--green-dark); }

@media (max-width: 560px) {
  .topbar-inner { justify-content: center; padding-block: 8px; min-height: 0; }
  .menu { width: 100%; justify-content: space-between; }
  .menu a { padding: 6px 7px; font-size: 0.9rem; }
  .contact-list { grid-template-columns: 1fr !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(82vh, 680px);
  display: flex;
  /* Billedet ligger i billeder/forside.jpg, og gradienten vises, hvis billedet mangler */
  background:
    url("billeder/forside.jpg") center / cover no-repeat,
    linear-gradient(160deg, var(--green) 0%, var(--red) 100%);
}
.hero-overlay {
  flex: 1;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(20, 30, 22, 0.70) 0%, rgba(20, 30, 22, 0.25) 60%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(20, 30, 22, 0.55) 100%);
}
.hero-content { padding-block: 64px 56px; color: var(--white); }
.hero h1 { color: var(--white); max-width: 14ch; text-shadow: 0 2px 16px rgba(0,0,0,0.25); }
.eyebrow {
  display: inline-block;
  background: var(--sun);
  color: var(--ink);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead { font-size: 1.2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,0.85); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 96px); }
.section.alt { background: var(--green-light); }

.welcome-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.facts li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.facts strong {
  font-family: var(--heading);
  font-size: 2rem;
  color: var(--green);
  min-width: 3.2ch;
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; margin-block: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--green);
}
.card-highlight { border-top-color: var(--red); }
.card .note { color: var(--muted); margin: 0; }
.time {
  font-family: var(--heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 4px;
}
.season { font-size: 1.15rem; }

.price {
  font-family: var(--heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 4px;
}
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }

/* ---------- Sæsonbanner og undersider ---------- */
.season-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  padding: 10px 0;
}
.season-banner a { color: var(--white); }
.menu a[aria-current="page"] { background: var(--green-light); color: var(--green-dark); }
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--red) 140%);
  color: var(--white);
  padding-block: clamp(56px, 9vw, 96px);
}
.page-hero h1 { color: var(--white); max-width: 18ch; }
.btn-outline { border: 2px solid currentColor; color: var(--green-dark); }
.page-hero .btn-outline { color: var(--white); }
.btn-outline:hover { background: rgba(0,0,0,0.05); }
.price-lists.price-lists-2 { grid-template-columns: repeat(2, 1fr); }
.steps { margin: 0; padding-left: 1.2em; }
.price-list .steps li { display: list-item; padding: 6px 0; border-bottom: 0; }

/* ---------- Take away på forsiden ---------- */
.takeaway-grid { display: grid; grid-template-columns: 1.2fr 0.9fr 1fr; gap: 36px; align-items: center; }
.takeaway-photo { position: relative; display: block; }
.takeaway-photo img { width: 100%; max-width: 360px; height: auto; margin: 0 auto; transition: transform 0.2s ease; }
.takeaway-photo:hover img { transform: rotate(-3deg) scale(1.03); }
.takeaway-badge {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

/* ---------- Ofte stillede spørgsmål ---------- */
.faq { max-width: 760px; margin-top: 20px; }
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  padding: 0 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style-position: outside;
}
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Bowls ---------- */
.bowl-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.bowl-photo { width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.bowl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }

/* ---------- Julefrokost ---------- */
.xmas { background: #f6ece4; border-top: 6px solid var(--red); border-bottom: 6px solid var(--red); }
.xmas-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.xmas .eyebrow { background: var(--red); color: var(--white); }
.xmas-price {
  font-family: var(--heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.6em;
}
.xmas-price span { font-family: var(--body); font-size: 1rem; font-weight: 600; color: var(--muted); }
.xmas-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.xmas-menu > div {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.xmas-menu h3 { color: var(--red); font-size: 1.2rem; }
.xmas-menu ul { margin: 0 0 12px; padding-left: 1.1em; }
.xmas-menu li { margin-bottom: 4px; }
.xmas-poster { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Åbningstider ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hours-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--red);
}
.hours-card p:last-child { margin-bottom: 0; }
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(30, 49, 35, 0.18);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child { font-weight: 700; }
.hours-card h3 { margin-bottom: 0.4em; }

/* ---------- Photo ---------- */
.photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.welcome .facts { margin-top: 24px; grid-template-columns: repeat(3, 1fr); }
.welcome .facts li { flex-direction: column; align-items: flex-start; gap: 0; padding: 14px 16px; }
.welcome .facts strong { font-size: 1.6rem; }

/* ---------- Kiosk og menu ---------- */
.intro { max-width: 60ch; }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block: 28px;
}
.dish {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-left: 6px solid var(--lane);
}
.dish h3 { margin-bottom: 0.3em; }
.dish-new {
  align-self: flex-start;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.dish p { color: var(--muted); flex: 1; }
.dish-price {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--red);
}
.price-lists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}
.price-list {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.price-list ul { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(30, 49, 35, 0.18);
}
.price-list li:last-child { border-bottom: 0; }
.price-list li span:last-child { font-weight: 700; white-space: nowrap; color: var(--green-dark); }

/* ---------- Map ---------- */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.address {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1em;
}
.map-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background:
    linear-gradient(135deg, var(--green) 0%, var(--red) 100%);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.map-card:hover, .map-card:focus-visible { transform: translateY(-3px); }
.map-pin {
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 12px solid var(--sun);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  margin-bottom: 14px;
}
.map-title { font-family: var(--heading); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.map-text { font-weight: 600; opacity: 0.92; }

/* ---------- Contact ---------- */
.contact-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: transform 0.15s ease;
}
.contact-item:hover { transform: translateY(-2px); }
.contact-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-fb { background: #1877f2; color: var(--white); }
.contact-fb .contact-label, .contact-ig .contact-label { color: rgba(255,255,255,0.8); }
.contact-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: var(--white); }
.footer-social { margin-top: 8px !important; }
.smiley-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 8px 16px 8px 10px;
  background: var(--white);
  color: var(--green-dark) !important;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.smiley-link:hover { text-decoration: underline; }

/* ---------- Pris ---------- */
.price-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.price-one {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--red);
  text-align: center;
}
.price-one .note { color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--green-dark);
  color: var(--white);
  padding-block: 36px;
  text-align: center;
}
.footer p { margin: 0 0 4px; }
.footer a { color: var(--white); }
.footer-logo { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 12px; background: var(--white); padding: 4px; }
.footer .small { color: rgba(255,255,255,0.75); }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .cards-3, .menu-grid, .price-lists { grid-template-columns: 1fr; }
  .welcome-grid, .map-grid, .hours-grid, .xmas-grid, .price-grid, .bowl-grid, .takeaway-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-list { grid-template-columns: 1fr 1fr; }
  .xmas-menu, .price-lists.price-lists-2, .bowl-list { grid-template-columns: 1fr; }
  .takeaway-photo img { max-width: 280px; }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .contact-item, .map-card, .takeaway-photo img { transition: none; }
}
