/* ===============================
   Design System – Farver & skygger
   =============================== */

:root {
  /* Bas */
  --bg: #F3EFE8;       /* Ivory Sand */
  --surface: #FFFFFF;  /* Kort/box-baggrund */
  --ink: #14253C;      /* Primær (dyb indigo) */
  --text: #1B1B1B;     /* Brødtekst */
  --muted: #e9e7e3;    /* Subtil navbar/linjer */

  /* Accenter */
  --accent: #F39B77;   /* Aprikos – varm CTA */
  --accent-2: #7FA38A; /* Sage – sekundær accent */

  /* Kontrast */
  --on-ink: #FFFFFF;

  /* Skygger */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .08);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, .12);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, .16);

  /* Layout */
  --container: 1200px;
  --section-y: clamp(3.5rem, 6vw, 6rem);
}

@media (hover:hover) {
  :root {
    --ink-hover: #0F1C31;
    --accent-hover: #E78861;
  }
}

/* ===============================
   Reset/grundlæggende
   =============================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-width: 320px;
}

/* Hjälp-klasser */

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.2rem;
}

.section {
  padding-block: var(--section-y);
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: .5rem .75rem;
  z-index: 2000;
  background: #fff;
  color: #000;
  border-radius: .375rem;
  box-shadow: var(--shadow-md);
}

/* ===============================
   NAVBAR
   =============================== */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--muted);
  z-index: 100;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 1px 0 rgba(20, 19, 17, .08);
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -14px;
  height: 28px;
  pointer-events: none;
  background: radial-gradient(50% 14px at 50% 0,
              rgba(20, 37, 60, .12) 0%,
              rgba(20, 37, 60, 0) 70%);
  opacity: 0;
  transition: opacity .25s ease;
  filter: blur(.2px);
}

.navbar.is-stuck {
  box-shadow:
    0 1px 0 rgba(20, 19, 17, .06),
    0 12px 24px rgba(20, 37, 60, .10);
  will-change: box-shadow;
}
.navbar.is-stuck::after { opacity: 1; }

.nav-side {
  display: flex;
  gap: 5rem;
  flex: 1;
  justify-content: space-evenly;
  align-items: center;
}

.nav-center {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-logo img {
  height: 90px;
  max-width: 100%;
  object-fit: contain;
}

.nav-logo {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: .9rem;
  position: relative;
  transition: color .3s ease;
  font-weight: 600;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--ink);
  transition: width .3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--text);
}

/* Toggle (mobil) */

.nav-toggle {
  position: fixed;
  top: 3.5rem;
  right: 1.5rem;
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.nav-toggle span {
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 3px;
  transition: all .4s ease;
  transform-origin: center;
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Mobilmenu */

.mobile-nav {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all .4s ease;
  z-index: 999;
  visibility: hidden;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.mobile-link {
  text-decoration: none;
  text-align: center;
  color: var(--ink);
  padding: .75rem 0;
  position: relative;
  transition: color .3s ease;
  margin-bottom: 2em;
  font-size: 1.3rem;
  font-weight: 700;
}

.mobile-link:hover::after {
  width: 60%;
}

.mobile-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background-color: var(--ink);
  transition: width .3s ease;
}

@media screen and (min-width: 986px) {
  .mobile-nav {
    display: none !important;
  }
}

@media screen and (max-width: 985px) {
  .nav-side {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .navbar {
    justify-content: space-between;
  }
  .nav-logo {
    justify-content: flex-start;
    padding: 0;
  }
  .nav-logo img {
    height: 100px;
  }
}

/* ===============================
   SLIDESHOW (HERO)
   =============================== */

.main-content {
  width: 100%;
  background-color: var(--bg);
}

.slideshow {
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
  background: var(--bg);
  max-height: 1440px;
}

.slideshow-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease, transform 1.2s ease;
  transform: scale(1.02);
  will-change: opacity, transform;
  display: grid;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.image-container {
  position: absolute;
  inset: 0;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.9);
  aspect-ratio: 16/9;
}

.slide-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 2rem;
  top: 3em;
}

.caption {
  text-align: center;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  max-width: 90%;
}

.caption .title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .5px;
  font-size: clamp(2rem, 6vw, 5.2rem);
  line-height: 1.05;
  margin: 0 0 .25em;
}

.caption .text {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin: 0 0 1.2rem 0;
}

/* Pagination */

.pagination {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}

.pagination .item {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .9rem;
  background: rgba(248, 245, 239, .78);
  color: var(--text);
  border: 1px solid rgba(20, 19, 17, .18);
  cursor: pointer;
  user-select: none;
  transition: transform .18s ease, background .25s ease, border-color .25s ease;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

.pagination .item:hover {
  transform: translateY(-1px);
}

.pagination .item.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 10px 24px rgba(20, 37, 60, .28);
}

/* Arrows */

.arrows {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  width: 60px;
  height: 46px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  background: rgba(248, 245, 239, .95);
  border: 1px solid rgba(20, 19, 17, .18);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
  backdrop-filter: blur(6px);
}

.arrow:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.arrow:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.arrow.prev {
  left: 1rem;
}

.arrow.next {
  right: 1rem;
}

.arrow svg {
  width: 30px;
  height: 42px;
  fill: currentColor;
  color: var(--ink);
}

/* ===============================
   BOOKING
   =============================== */

.booking-section {
  background: var(--bg);
}

.booking-box {
  border: 1px solid var(--muted);
  padding: 3rem 2.2rem;
  max-width: 780px;
  width: 100%;
  margin-inline: auto;
  background: var(--surface);
  text-align: center;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}

.booking-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.booking-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text);
  margin: 0 0 1rem;
}

.booking-sub {
  margin: .25rem 0 1.4rem;
  opacity: .9;
}

.booking-facts {
  list-style: none;
  padding: 0;
  margin: .2rem 0 1.4rem;
  display: grid;
  gap: .45rem;
  font-size: 1rem;
  opacity: .95;
}

.booking-facts li::before {
  content: "•";
  color: var(--accent);
  margin-right: .5rem;
  font-weight: 700;
}

.button-wrapper {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 0;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: 0 6px 18px rgba(20, 37, 60, .22);
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.booking-button:hover {
  background: var(--ink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 37, 60, .3);
}

/* ===============================
   VIDEO + SOCIAL
   =============================== */

.videos-head {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.videos-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin: 0;
  color: var(--ink);
  letter-spacing: .3px;
}

.videos-sub {
  margin: 0;
  opacity: .9;
}

/* Playlist-embed (channel uploads) */
.playlist-wrap {
  margin-top: 1.6rem;
  display: grid;
  gap: .75rem;
}

.playlist-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--muted);
  box-shadow: var(--shadow-md);
}

.playlist-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* CTA-knapp under videorna */
.videos-cta-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.8rem;
}

.yt-button {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid rgba(20, 19, 17, .08);
  box-shadow: 0 6px 18px rgba(20, 37, 60, .22);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}

.yt-button:hover {
  transform: translateY(-2px);
  background: var(--ink-hover);
  box-shadow: 0 12px 28px rgba(20, 37, 60, .30);
}

.yt-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* SOCIAL */

.social-head {
  display: grid;
  gap: .35rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.social-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin: 0;
  color: var(--ink);
  letter-spacing: .3px;
}

.social-sub {
  margin: 0;
  opacity: .9;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, auto));
  justify-content: center;
  gap: 1rem;
}

.sm-card {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--muted);
  color: var(--ink);
  max-width: 3000px;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.sm-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(20, 37, 60, .22);
  background: #fff;
}

.sm-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.sm-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  transition: color .2s ease;
}

.sm-icon svg { width: 28px; height: 28px; fill: currentColor; }
.sm-icon svg path { stroke: currentColor; }

.sm-ig .sm-icon {
  background: linear-gradient(135deg, #F39B77, #7FA38A);
  color: #fff;
}
.sm-fb .sm-icon {
  background: linear-gradient(135deg, #0E192A, var(--ink));
  color: #1877F2;
}

.sm-card:hover .sm-icon,
.sm-card:focus-visible .sm-icon { color: #fff; }

.sm-main {
  display: grid;
  gap: .15rem;
}

.sm-label {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
}

.sm-cta {
  font-size: .95rem;
  opacity: .8;
}

/* ===============================
   YOUTUBE SECTION (cool CTA + modal)
   =============================== */

.yt-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--muted);
  background:
    radial-gradient(700px 500px at 20% 10%, rgba(243, 155, 119, .18), transparent 45%),
    radial-gradient(800px 550px at 80% 30%, rgba(127, 163, 138, .18), transparent 52%),
    linear-gradient(180deg, var(--surface), #ffffff);
  box-shadow: var(--shadow-md);
  padding: clamp(1.2rem, 3.4vw, 2rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1rem;
  align-items: center;
  transform: translateZ(0);
}

.yt-hero-content {
  position: relative;
  z-index: 2;
}

.yt-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

.yt-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(20, 19, 17, .10);
  background: rgba(255, 255, 255, .70);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  backdrop-filter: blur(8px);
}

.yt-preview-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, .92);
}

.yt-preview-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.yt-preview-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ink), #0A1830);
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 37, 60, .22);
}

.yt-preview-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.yt-preview-text {
  display: grid;
  gap: .15rem;
}

.yt-preview-title {
  font-weight: 900;
  color: var(--ink);
  letter-spacing: .2px;
  font-size: 1.05rem;
}

.yt-preview-sub {
  font-size: .95rem;
  opacity: .82;
}

.yt-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .95rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  color: var(--on-ink);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(20, 37, 60, .20);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}

.yt-channel-btn:hover {
  transform: translateY(-2px);
  background: var(--ink-hover);
  box-shadow: 0 16px 36px rgba(20, 37, 60, .30);
}

/* Art på höger sida */
.yt-hero-art {
  position: relative;
  min-height: 160px;
  z-index: 1;
}

.yt-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .9;
  animation: floaty 7s ease-in-out infinite;
}

.yt-orb-1 {
  width: 180px;
  height: 180px;
  right: -40px;
  top: -30px;
  background: radial-gradient(circle at 30% 30%, rgba(243,155,119,.9), rgba(243,155,119,.12));
}

.yt-orb-2 {
  width: 220px;
  height: 220px;
  right: 40px;
  bottom: -70px;
  background: radial-gradient(circle at 35% 35%, rgba(127,163,138,.85), rgba(127,163,138,.10));
  animation-delay: -2s;
}

.yt-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20,37,60,.12), transparent 35%),
    repeating-linear-gradient(135deg, rgba(20,37,60,.08) 0 1px, transparent 1px 10px);
  opacity: .18;
  mask-image: radial-gradient(circle at 30% 50%, #000 0 55%, transparent 72%);
}

@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* Modal tweaks för YouTube */
.yt-modal .yt-dialog {
  width: min(1080px, calc(100% - 2rem));
  height: min(82vh, 760px);
}

.yt-header {
  background: linear-gradient(180deg, rgba(20, 37, 60, .06), rgba(243, 239, 232, .65));
}

.yt-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.yt-modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  color: var(--on-ink);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
}

.yt-modal-link:hover {
  transform: translateY(-1px);
  background: var(--ink-hover);
  box-shadow: var(--shadow-md);
}

@media (max-width: 820px) {
  .yt-hero {
    grid-template-columns: 1fr;
  }
  .yt-hero-art {
    min-height: 120px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .yt-modal .yt-dialog {
    width: calc(100% - 1rem);
    height: 86vh;
    margin: 7vh auto 0;
    border-radius: 16px;
  }

  .yt-modal-link {
    padding: 0 .85rem;
    font-size: .95rem;
  }
}

/* ===============================
   KONTAKT – centralt, utan SVG
   =============================== */

.contact-section {
  background: var(--bg);
}

.contact-wrap {
  max-width: 760px;
  margin-inline: auto;
  --mx: 50%;
  --my: 50%;
  width: 100%;
}

.contact-form {
  position: relative;
  border: 1px solid var(--muted);
  border-radius: 18px;
  padding: clamp(1.2rem, 3.8vw, 2rem);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(650px 650px at var(--mx) var(--my),
      rgba(127, 163, 138, .16),
      transparent 40%),
    linear-gradient(180deg, var(--surface), #ffffff);
  transition: box-shadow .25s ease, transform .18s ease, background .2s ease;
}

.contact-form:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-title {
  margin: 0 0 .85rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  color: var(--ink);
  text-align: center;
  letter-spacing: .3px;
}

.form-group {
  position: relative;
  margin-bottom: .95rem;
}

.form-control {
  width: 100%;
  background: #f2f6f8;
  border: none;
  border-radius: 12px;
  box-shadow: 0 7px 14px rgba(0, 0, 0, .08);
  padding: .9rem 1rem .9rem 3rem;
  font: 600 1rem/1.3 "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  transition: box-shadow .25s ease, background .2s ease, transform .15s ease;
}

.form-control.thick {
  height: 3.1rem;
}

.form-group.message .form-control {
  padding: 1rem 1.2rem;
  min-height: 7.5rem;
  resize: vertical;
}

.form-control::placeholder {
  color: #838788;
  font-weight: 600;
}

.form-control:focus {
  outline: none;
  background: #f7fafc;
  box-shadow:
    0 0 0 3px rgba(20, 37, 60, .14),
    0 12px 26px rgba(0, 0, 0, .12);
  transform: translateY(-1px);
}

.icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #57565c;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.text-center {
  text-align: center;
}

.btn.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-weight: 800;
  height: 2.9rem;
  line-height: 2.9rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 999px;
  color: var(--on-ink);
  background: var(--ink);
  box-shadow: 0 10px 24px rgba(20, 37, 60, .22);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}

.btn.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--ink-hover);
  box-shadow: 0 16px 36px rgba(20, 37, 60, .32);
}

.btn.btn-primary:focus-visible {
  outline: 3px solid rgba(20, 37, 60, .35);
  outline-offset: 3px;
}

.btn.btn-primary .ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  background: rgba(255, 255, 255, .45);
  animation: ripple .6s ease-out forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(8);
    opacity: 0;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .icon {
    left: .9rem;
  }
  .form-control {
    padding-left: 2.6rem;
  }
}

/* ===============================
   FOOTER
   =============================== */

.site-footer {
  position: relative;
  color: var(--on-ink);
  background:#A34337;
  overflow: hidden;
  padding-top: 3.5rem;
}

.footer-content.enhanced {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  grid-column: span 5;
  text-align: left;
}

.footer-links {
  grid-column: span 3;
}

.footer-contact {
  grid-column: span 4;
}

.footer-logo-link img {
  box-shadow: none;
  transition: transform .25s ease;
  width: clamp(90px, 12vw, 150px);
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 0;
}

.footer-logo-link:hover img {
  transform: scale(1.04);
}

.footer-tag {
  margin: .75rem 0 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  opacity: .9;
}

.footer-col h4 {
  margin: 0 0 .75rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  letter-spacing: .3px;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.footer-link {
  position: relative;
  text-decoration: none;
  color: #EAE6DC;
  transition: color .25s ease, transform .18s ease;
}

.footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  transform: translateX(2px) scale(1.02);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .2s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.footer-chip:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .50);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.footer-chip svg {
  fill: currentColor;
  opacity: .95;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1rem 1.5rem 1.6rem;
  text-align: center;
  font-size: .92rem;
  opacity: .9;
}

.footer-content p,
.footer-bottom small,
.developer {
  font-family: 'Montserrat', sans-serif;
}

/* ===============================
   Back-to-top
   =============================== */

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #E9E6DE;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 99, 113, .45);
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  z-index: 1002;
}

.to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  z-index: 1;
}

.to-top .to-top-progress {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  box-sizing: border-box;
  pointer-events: none;
  background: conic-gradient(currentColor var(--p, 0%), transparent 0) border-box;
  padding: 4px;
}

.to-top-progress {
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid transparent;
  background:
    conic-gradient(var(--ink) var(--p, 0%), rgba(20, 19, 17, .25) 0)
    padding-box,
    linear-gradient(var(--ink), var(--ink)) border-box;
}

.to-top-progress::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--bg);
  border-radius: 999px;
}

/* ===============================
   Reveal on scroll
   =============================== */

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: transform .65s cubic-bezier(.22, 1, .36, 1), opacity .6s ease;
  will-change: transform, opacity;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.footer-brand.reveal {
  transition-delay: .05s;
}
.footer-links.reveal {
  transition-delay: .12s;
}
.footer-contact.reveal {
  transition-delay: .18s;
}
.footer-bottom.reveal {
  transition-delay: .24s;
}

/* ===============================
   Responsivitet footer/social/hero
   =============================== */

@media (max-width: 980px) {
  .footer-brand {
    grid-column: span 12;
  }
  .footer-links {
    grid-column: span 6;
  }
  .footer-contact {
    grid-column: span 6;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .pagination {
    bottom: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .slideshow {
    height: 70vh;
  }
  .caption {
    max-width: 92%;
  }
}

@media (max-width: 640px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
  .footer-content.enhanced {
    grid-template-columns: 1fr;
    padding: 2.2rem 1.2rem;
    gap: 1.4rem;
  }
  .footer-col {
    text-align: center;
  }
  .footer-brand {
    display: grid;
    place-items: center;
  }
  .footer-links ul {
    place-items: center;
  }
  .footer-chip {
    justify-content: center;
  }
}

/* ===============================
   BOOKING MODAL (iframe popup)
   =============================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 24, 0.55);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: min(980px, calc(100% - 2rem));
  height: min(78vh, 720px);
  margin: 6vh auto 0;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(20, 19, 17, 0.12);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.modal.is-open .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem 1rem;
  background: linear-gradient(180deg, rgba(243, 239, 232, .9), rgba(243, 239, 232, .55));
  border-bottom: 1px solid rgba(20, 19, 17, 0.10);
}

.modal-title {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--ink);
  font-size: 1.4rem;
}

.modal-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(20, 19, 17, 0.12);
  background: rgba(255,255,255,.75);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}

.modal-close span {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--ink);
  transform: translateY(-1px);
}

.modal-close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-md);
}

.modal-close:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.modal-body {
  height: calc(100% - 62px);
  background: #fff;
}

.modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Scroll lock på body när modal är öppen */
body.is-locked {
  overflow: hidden;
}

/* Mobil: mer “full screen” */
@media (max-width: 640px) {
  .modal-dialog {
    width: calc(100% - 1rem);
    height: 86vh;
    margin: 7vh auto 0;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.2rem;
  }

  .modal-header {
    padding: .8rem .85rem;
  }
}

