/* ============================================================
   Lørenskog Dyrebutikk & Hundesalong — mørkt tema rundt loggen
   ============================================================ */

:root {
  --bg:        #0c0c0c;
  --bg-alt:    #161616;
  --bg-card:   #1c1c1c;
  --border:    #2c2c2c;
  --text:      #f5f5f2;
  --muted:     #a9a9a4;
  --accent:    #f0a202;
  --accent-dk: #c98600;
  --accent-text: #14100a;
  --radius:    14px;
  --max-w:     1120px;
  --shadow:    0 12px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.section { padding: 72px 0; }
.section:nth-of-type(even) { background: var(--bg-alt); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 .5em;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  font-size: 1.02rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-text);
}
.btn-accent:hover { background: var(--accent-dk); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-small { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12,12,12,.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; display: block; }

/* Diskret utmerkelses-badge (DN Gaselle) i headeren, til venstre for
   logoen - liten nok til å ikke konkurrere med merkevaren, men synlig
   som et tillitssignal på alle sider (headeren er delt av hele siten).
   Lenker til Lørenskog Dyrebutikks offisielle Gaselle-side hos DN. */
.header-badge-link { display: flex; align-items: center; flex-shrink: 0; }
.header-badge { height: 44px; width: auto; display: block; border-radius: 6px; }

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }

.main-nav a.nav-back {
  color: var(--muted);
  font-size: .85rem;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}
.main-nav a.nav-back:hover { color: var(--accent); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  margin-left: 4px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--text);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 50% 0%, #1c1c1c 0%, #0c0c0c 70%);
  padding: 64px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(340px, 80vw); height: auto; margin-bottom: 8px; }

.hero-page-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: .15em;
}

.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .3em;
}
.tag-hoy { color: var(--accent); }
.tag-lav { color: var(--accent); }

.hero-status {
  display: inline-block;
  font-size: .88rem;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 1.6em;
}
.hero-status.is-open { color: #7CD98A; border-color: #2d4a30; }
.hero-status.is-closed { color: #E88C8C; border-color: #4a2d2d; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.8em;
}

.social-row { display: flex; gap: 14px; justify-content: center; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}
.social-icon:hover { color: var(--accent-text); background: var(--accent); text-decoration: none; }

/* ---------- Dropin ---------- */
.dropin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 620px;
  margin: 2em 0 1.4em;
}
.dropin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.dropin-icon { font-size: 2rem; margin-bottom: .3em; }
.dropin-card h3 { margin-bottom: .2em; }
.dropin-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 .3em;
}
.dropin-desc { color: var(--muted); font-size: .92rem; margin: 0; }
.dropin-note { color: var(--muted); font-size: .9rem; }

/* ---------- Booking form ---------- */
.booking-form {
  margin-top: 1.8em;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.form-row { margin-bottom: 16px; }
.form-row:last-of-type { margin-bottom: 0; }
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.booking-form label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form input[type="date"],
.booking-form input[type="email"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-row-checkbox { margin-top: 4px; }
.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-label input { width: auto; margin-top: 3px; }
.booking-form .btn { margin-top: 6px; }
.form-status {
  margin: 10px 0 0;
  font-size: .88rem;
  min-height: 1.3em;
}
.form-status.is-ok { color: #7CD98A; }
.form-status.is-error { color: #E88C8C; }

/* ---------- Price table ---------- */
.price-table-wrap {
  overflow-x: auto;
  margin: 1.6em 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--bg-card);
}
.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table th {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
  background: #131313;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td .muted { display: block; margin-top: 4px; font-size: .85rem; }

/* ---------- Two-column sections ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col.reverse .placeholder-img { order: 2; }
.two-col.reverse > div:last-child { order: 1; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.6em; }
.check-list li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: .5em;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.placeholder-img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(135deg, #161616, #161616 10px, #1a1a1a 10px, #1a1a1a 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
}
.placeholder-icon { font-size: 2.6rem; opacity: .6; }
.placeholder-text { font-size: .85rem; }

/* ---------- Hours ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 1.6em;
}
.hours-grid.single {
  grid-template-columns: minmax(0, 420px);
  justify-content: start;
}
.hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours-table td { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { color: var(--muted); }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr.is-today td { color: var(--accent); }
.hours-table tr.is-today td:first-child { color: var(--accent); }
.fine-print { font-size: .78rem; color: var(--muted); margin-top: 14px; margin-bottom: 0; }

/* ---------- Locations ---------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 1.6em;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.location-card p { margin-bottom: .6em; }
.location-card a:not(.btn) { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-logo { height: 40px; width: auto; opacity: .9; }
.footer-copy { color: var(--muted); font-size: .82rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .placeholder-img { order: 1; }
  .two-col.reverse > div:last-child { order: 2; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c0c0c;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--border);
  }
  .main-nav a.nav-back {
    border-left: none;
    padding-left: 24px;
  }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 52px 0; }
  .form-row-split { grid-template-columns: 1fr; }
}
