/* HejDK Public Website — Shared Styles */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #FAFAF7;
  --accent: #C84540;
  --accent-deep: #A6332E;
  --text: #161412;
  --text-2: #3A3630;
  --text-3: #6B645A;
  --line: #E8E4DC;
  --warm: #FDF2F1;
  --card: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(22,20,18,.04), 0 2px 8px rgba(22,20,18,.04);
  --shadow-md: 0 2px 4px rgba(22,20,18,.05), 0 12px 28px rgba(22,20,18,.06);
  --shadow-lg: 0 8px 24px rgba(22,20,18,.08), 0 24px 60px rgba(22,20,18,.10);
  --max-w: 1200px;
  --gutter: clamp(22px, 4vw, 48px);
  --nav-h: 72px;
}

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

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Site header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,250,247,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
  height: var(--nav-h);
}
.site-header.scrolled { border-bottom-color: var(--line); }

.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.logo .mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--accent);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.logo .mark::before { content: "h"; transform: translateY(-1px); }

.site-nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
.site-nav a {
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .12s ease, color .12s ease;
}
.site-nav a:hover { background: var(--warm); color: var(--accent); }
.site-nav a.active { color: var(--accent); }

.site-header .spacer { flex: 1; }

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.header-actions .login-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .12s ease;
}
.header-actions .login-link:hover { background: var(--warm); color: var(--accent); }

/* Mobile menu */
.menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.menu-btn span {
  width: 16px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--text); border-radius: 2px;
}
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22,20,18,.4);
  z-index: 200;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--card);
  padding: 24px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav-panel a {
  font-weight: 700;
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav-panel a.active { color: var(--accent); }
.mobile-nav-panel .close-btn {
  margin-bottom: 16px;
  align-self: flex-end;
  background: var(--warm);
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--text-2);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--warm); border-color: #f0d8d6; }
.btn-dark { background: var(--text); color: white; }

/* ── Store buttons ── */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  background: var(--text);
  color: white;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease;
}
.store-btn:hover { transform: translateY(-1px); }
.store-btn .icon { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.store-btn .stack { display: flex; flex-direction: column; line-height: 1.05; }
.store-btn .small { font-size: 10px; font-weight: 500; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.store-btn .big { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }

/* ── Pills ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.pill:hover { background: var(--warm); border-color: #f0d8d6; color: var(--accent); }
.pill.on { background: var(--text); border-color: var(--text); color: white; }
.pill.warm { background: var(--warm); border-color: #f0d8d6; color: var(--accent); }
.pill.accent { background: var(--accent); border-color: var(--accent); color: white; }

/* ── Hotspot card ── */
.hotspot-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.hotspot-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hotspot-card .card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #BFD7E5, #DCEAF1 60%, #E6D9C0);
  position: relative;
  flex-shrink: 0;
}
.hotspot-card .card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #BFD7E5, #DCEAF1 60%, #E6D9C0);
  flex-shrink: 0;
  position: relative;
}
.hotspot-card .badge-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.hotspot-card .badge-featured {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.hotspot-card .heart-btn {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  border: none;
  font-size: 16px;
  transition: color .12s ease, background .12s ease;
}
.hotspot-card .heart-btn:hover { color: var(--accent); background: white; }
.hotspot-card .card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hotspot-card .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hotspot-card .card-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.hotspot-card .card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
}
.hotspot-card .card-rating .star { color: var(--accent); }
.hotspot-card .card-rating .count { color: var(--text-3); font-weight: 500; }
.hotspot-card h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
}
.hotspot-card .card-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 500;
}

/* ── Section labels ── */
.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Filter bar ── */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.filter-row-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-3);
  min-width: 80px;
  flex-shrink: 0;
}
.filter-scroll {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.filter-scroll::-webkit-scrollbar { display: none; }

/* ── Seg control ── */
.seg-ctrl {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.seg-ctrl button {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .12s ease, color .12s ease;
}
.seg-ctrl button.on { background: var(--text); color: white; }

/* ── Footer ── */
.site-footer {
  background: #161412;
  color: #EDEAE2;
  padding: 56px var(--gutter) 36px;
  margin-top: 80px;
}
.site-footer .footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 36px;
}
.site-footer .footer-tagline {
  color: rgba(237,234,226,.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 320px;
}
.site-footer .footer-col-title {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(237,234,226,.55);
  margin-bottom: 14px;
}
.site-footer .footer-col-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .footer-col-links li a {
  font-size: 14px;
  color: #EDEAE2;
  text-decoration: none;
  transition: color .12s ease;
}
.site-footer .footer-col-links li a:hover { color: var(--warm); }
.site-footer .footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid rgba(237,234,226,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(237,234,226,.55);
}
.site-footer .logo { color: white; margin-bottom: 0; }

/* ── Image cover placeholder ── */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #BFD7E5, #DCEAF1 60%, #E6D9C0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 13px;
}

/* ── Star rating display ── */
.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--accent);
}

/* ── Review card ── */
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
}
.review-card .reviewer-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--warm);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}

/* ── Detail row ── */
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: var(--text-3); }
.detail-row .value { font-weight: 700; }

/* ── Form inputs ── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,69,64,.12);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); transition: color .12s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }

/* ── Alert / notice ── */
.notice {
  background: var(--warm);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.notice p { font-size: 14px; color: var(--text-2); font-weight: 600; line-height: 1.45; }

/* ── Grid ── */
.hotspots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── SVG Icons (inline via CSS classes) ── */
.icon-svg { display: inline-flex; align-items: center; }

/* ── Hero layout ── */
.hero-section {
  padding: clamp(40px,6vw,80px) var(--gutter) clamp(48px,8vw,96px);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px,5vw,56px);
  align-items: center;
}
.phone-mock-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.phone-mock {
  width: 300px;
  height: 620px;
  background: var(--bg);
  border-radius: 44px;
  border: 10px solid #161412;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

/* ── Hotspot detail 2-col layout ── */
.hotspot-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(28px,4vw,48px);
  align-items: start;
}
.hotspot-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hotspots-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hotspot-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .site-nav { display: none; }
  .header-actions .login-link { display: none; }
  .menu-btn { display: inline-flex; }
  .hotspots-grid { grid-template-columns: 1fr; gap: 16px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hotspot-card .card-img, .hotspot-card .card-img-placeholder { height: 180px; }
  .hotspot-card h3 { font-size: 18px; }
  .site-footer { padding: 36px 22px 28px; margin-top: 48px; }

  /* Hero: single column, phone hidden */
  .hero-section {
    grid-template-columns: 1fr;
    padding-bottom: clamp(32px,5vw,56px);
  }
  .phone-mock-wrap { display: none; }

  /* Hotspot detail: stack vertically, sidebar goes below */
  .hotspot-layout {
    grid-template-columns: 1fr;
  }
  .hotspot-sidebar {
    position: static;
  }

  /* Search input full-width on mobile */
  .search-form { flex-direction: column; align-items: stretch; }
  .search-form input.input { width: 100% !important; }
}

@media (max-width: 540px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .store-btn .big { font-size: 15px; }
  .hero-section { padding-top: clamp(28px,5vw,48px); }
}
