/* ─── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #1a3346;
  --navy-dk: #0f1f2d;
  --teal:    #2d5a6e;
  --teal-lt: #3d7a94;
  --pine:    #c8702a;
  --pine-lt: #e08840;
  --snow:    #f5f1ea;
  --snow-dk: #ece7df;
  --white:   #ffffff;
  --text:    #2a2a2a;
  --text-md: #4a4a4a;
  --text-lt: #6e7b84;

  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);

  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-ui:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  --section-pad: clamp(60px, 8vw, 110px);
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

/* ─── Anchor offset for fixed nav ───────────────────────────── */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  width: min(1100px, 100% - 2 * clamp(16px, 5vw, 48px));
  margin-inline: auto;
}

.section  { padding-block: var(--section-pad); }
.bg-light { background: var(--snow); }
.bg-dark  { background: var(--navy-dk); }
.centered { text-align: center; }

.section-eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: .6rem;
}
.section-eyebrow.centered { display: block; }

h1, h2, h3 { font-family: var(--font-serif); line-height: 1.2; }

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.2rem;
  color: var(--navy);
}
h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--navy); }

p { color: var(--text-md); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ─── Scroll-in animations ──────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-delay-1 { transition-delay: .1s; }
.fade-delay-2 { transition-delay: .2s; }
.fade-delay-3 { transition-delay: .3s; }
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.6rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pine);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200,112,42,.35);
}
.btn-primary:hover {
  background: var(--pine-lt);
  box-shadow: 0 6px 20px rgba(200,112,42,.45);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); }

.btn-nav {
  background: var(--pine);
  color: var(--white) !important;
  padding: .5rem 1.2rem;
}
.btn-nav:hover { background: var(--pine-lt); transform: none; }

.btn-airbnb {
  background: #ff5a5f;
  color: var(--white);
  margin-top: .5rem;
}
.btn-airbnb:hover { background: #e0484d; }

.btn.full-width { width: 100%; justify-content: center; }

/* ─── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(15,31,45,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .15s;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,24,36,.7) 0%,
    rgba(10,24,36,.3) 55%,
    rgba(10,24,36,.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 80px;
}

.hero-eyebrow {
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ─── Highlights bar ─────────────────────────────────────────── */
.highlights {
  background: var(--navy);
  padding-block: clamp(32px, 5vw, 56px);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.highlight-card { text-align: center; padding: 1.5rem 1rem; }

.hl-icon {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  margin-bottom: .75rem;
  color: var(--pine);
}
.hl-icon svg { width: 100%; height: 100%; }

.highlight-card h3 { font-size: 1.5rem; color: var(--white); margin-bottom: .25rem; }
.highlight-card p  { color: rgba(255,255,255,.6); font-size: .88rem; margin: 0; }

/* ─── Two-col layout ─────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text h2 { color: var(--navy); }
.col-text p  { color: var(--text-md); }

.col-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ─── Check list ─────────────────────────────────────────────── */
.check-list {
  list-style: none;
  margin-block: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.check-list li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text-md);
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 700;
}

/* ─── Gallery ────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  aspect-ratio: 4/3;
}

.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,31,45,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.gallery-overlay svg {
  width: 32px;
  height: 32px;
  color: var(--white);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .25s, transform .25s;
}

.gallery-item:hover img            { transform: scale(1.06); }
.gallery-item:hover .gallery-overlay { background: rgba(15,31,45,.45); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }

/* ─── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5,12,20,.94);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox[hidden] { display: none; }

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(90vw, 1000px);
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 16px 64px rgba(0,0,0,.6);
}

.lightbox-caption {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  font-size: 1.5rem;
  line-height: 1;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next { backdrop-filter: blur(4px); }
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.25); }

.lightbox-close { top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; font-size: 1.4rem; }
.lightbox-prev  { left: 1.5rem;  top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; }

/* ─── Info grid ──────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.info-block {
  background: var(--snow);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.info-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-icon { width: 38px; height: 38px; color: var(--pine); margin-bottom: .85rem; }
.info-icon svg { width: 100%; height: 100%; }

.info-block ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.info-block ul li {
  color: var(--text-md);
  font-size: .92rem;
  padding-left: 1rem;
  position: relative;
}
.info-block ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--pine);
  font-weight: 700;
}

/* ─── Planritning ────────────────────────────────────────────── */
.planritning {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.planritning img {
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 520px;
  width: 100%;
  image-rendering: crisp-edges;
}
.plan-note { margin-top: .8rem; font-size: .85rem; color: var(--text-lt); }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-container { max-width: 720px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .97rem;
  transition: background .15s;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--pine);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--snow); }

.faq-item p {
  padding: 0 1.4rem 1.2rem;
  font-size: .93rem;
  color: var(--text-md);
  margin: 0;
}
.faq-item p a { color: var(--pine); }
.faq-item p a:hover { text-decoration: underline; }

/* ─── Hitta hit ──────────────────────────────────────────────── */
.distance-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-block: 1.5rem;
}
.distance-list li { display: flex; align-items: baseline; gap: .75rem; }

.dist-val {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pine);
  min-width: 68px;
  flex-shrink: 0;
}
.dist-label { color: var(--text-md); font-size: .93rem; }

.map-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--snow-dk);
  width: 100%;
  image-rendering: crisp-edges;
}

/* ─── Boka ───────────────────────────────────────────────────── */
.boka-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.light        { color: var(--white) !important; }
.light-muted  { color: rgba(255,255,255,.62) !important; }
.light-muted a { color: rgba(255,255,255,.85); }
.light-muted a:hover { color: var(--white); }
.boka-text h2.light { color: var(--white); }

.age-note {
  display: inline-block;
  background: rgba(200,112,42,.2);
  border: 1px solid rgba(200,112,42,.45);
  color: var(--pine-lt);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .83rem;
  font-weight: 600;
  margin-block: 1rem .5rem;
}

.airbnb-alt { margin-top: 1.5rem; }

.boka-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row { display: flex; flex-direction: column; gap: .38rem; }
.form-row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row--half > div { display: flex; flex-direction: column; gap: .38rem; }

.form-row label, .form-row--half label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
}
.req { color: var(--pine); }

.form-row input,
.form-row textarea,
.form-row--half input {
  border: 1.5px solid #dde3e8;
  border-radius: var(--radius);
  padding: .7rem .95rem;
  font-family: var(--font-ui);
  font-size: .93rem;
  color: var(--text);
  background: var(--snow);
  transition: border-color .15s, box-shadow .15s, background .15s;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row--half input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45,90,110,.12);
  background: var(--white);
}
.form-row input::placeholder,
.form-row textarea::placeholder,
.form-row--half input::placeholder { color: #b0bbc4; }

.form-row input:invalid:not(:placeholder-shown),
.form-row--half input:invalid:not(:placeholder-shown) {
  border-color: #d94f4f;
}

.form-error {
  background: #fde8e8;
  color: #b91c1c;
  border-radius: var(--radius);
  padding: .6rem 1rem;
  font-size: .85rem;
  font-weight: 500;
}

.form-note { font-size: .78rem; color: var(--text-lt); text-align: center; margin-top: .25rem; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dk);
  border-top: 1px solid rgba(255,255,255,.07);
  padding-block: 3rem 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  display: block;
  margin-bottom: .3rem;
}
.footer-brand p { color: rgba(255,255,255,.45); font-size: .84rem; margin: 0; }

.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; }
.footer-nav a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .83rem;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  color: rgba(255,255,255,.25);
  font-size: .76rem;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  margin: 0;
}

/* ─── Back to top ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(200,112,42,.4);
  transition: opacity .25s, transform .25s, background .15s;
  opacity: 0;
  transform: translateY(12px);
}
.back-to-top:not([hidden]) { opacity: 1; transform: translateY(0); }
.back-to-top[hidden] { display: flex; pointer-events: none; } /* use opacity instead of display */
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--pine-lt); }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .boka-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 0 0 0 25%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--navy-dk);
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 205;
    box-shadow: -8px 0 32px rgba(0,0,0,.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }

  .two-col,
  .two-col.reverse { grid-template-columns: 1fr; direction: ltr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--wide { grid-column: span 2; }

  .footer-inner { flex-direction: column; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }

  .form-row--half { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .info-grid        { grid-template-columns: 1fr; }
  .gallery-grid     { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
}
