.required-label:after {
    content: '*';
    color: red;
    display: inline-block;
    animation-name: pop;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;

}

.bg-red {
  background-color: #ff00009f !important;
  color: #d7d7d7 !important;
}

.bg-gray {
  background-color: rgba(255, 72, 0, 0.1) !important;
  color: #808080 !important;
}

.bg-orange {
  background-color: #ffc966 !important;
  color: #888888 !important;
}

@keyframes pop {
    from { transform: scale(1); }
    to { transform: scale(1.5); }
}

.event-red {
  background-color: #e53935; /* Rød farge */
}

.event-orange {
  background-color: #43a047; /* Grønn farge */
}

.calendar-help {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #DDDDDD;
  border-radius: 10px;
  padding: 5px;
  color: #555555;
  font-style: italic;
}

.calendar-legend {
  display: flex;
  flex-direction: column; /* Updated to display items vertically */
  justify-content: center;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  margin-right: 20px;
}

.legend-item2 {
  display: flex;
  align-items: flex-start;
  margin-right: 20px;
  background-color: #ededed;
}

.legend-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

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

.custom-border {
    border: 1px solid #808080; /* Replace with your desired border color */
    padding: 5px; /* Add padding to the element if needed */
}

.selected-card {
    background-color: #9393ff; /* Set the background color for the selected card */
}

.unselected-card {
    background-color: #EEEEEE; /* Set the background color for the selected card */
}

#image-container {
  display: flex;
  flex-wrap: wrap;
}

.image-item {
  margin: 10px;
  cursor: move;
}

.image-container {
  position: relative;
  display: inline-block;
  margin: 10px;
  border: 2px solid black;
}

canvas {
  width: 100%;
  height: 200px; /* Juster etter behov */
  border: 2px solid black;
  touch-action: none; /* Hindrer uønsket scrolling på touch-enheter */
}

:root {
  --brand-red: #d62839;
  --brand-red-dark: #951c28;
  --brand-sand: #f6f1e8;
  --brand-ink: #1f2430;
  --brand-muted: #5d6472;
  --brand-border: #d9deea;
}

body {
  background:
    radial-gradient(circle at top left, rgba(214, 40, 57, 0.1), transparent 32%),
    linear-gradient(180deg, #fffdf9 0%, #f7f4ee 100%);
  color: var(--brand-ink);
}

.site-navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 36, 48, 0.08);
}

.site-navbar__inner {
  align-items: center;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-brand img {
  max-height: 42px;
}

.site-brand__tag {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.site-nav {
  gap: 0.25rem;
}

.site-nav .nav-link {
  border-radius: 999px;
  color: var(--brand-ink);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  background: rgba(214, 40, 57, 0.08);
  color: var(--brand-red-dark);
}

.site-nav .nav-link.active {
  background: rgba(214, 40, 57, 0.12);
  color: var(--brand-red-dark);
  font-weight: 600;
}

.site-nav .nav-link--cta {
  background: var(--brand-red);
  color: #fff;
}

.site-nav .nav-link--cta.active,
.site-nav .nav-link--cta:hover,
.site-nav .nav-link--cta:focus {
  background: var(--brand-red-dark);
  color: #fff;
}

.site-main {
  padding: 2rem 0 3rem;
}

.site-container {
  max-width: 1320px;
}

.content-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-panel,
.content-card,
.price-card,
.booking-page,
.site-footer__inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(31, 36, 48, 0.08);
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.08);
}

.hero-panel,
.content-card,
.booking-page {
  border-radius: 28px;
}

.hero-panel {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.hero-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-facts span {
  background: var(--brand-sand);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.92rem;
}

.content-card {
  padding: 1.75rem;
}

.rich-text {
  line-height: 1.7;
}

.rich-text img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 1.25rem;
}

.eyebrow {
  color: var(--brand-red-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.lead {
  color: var(--brand-muted);
  font-size: 1.1rem;
}

.section-intro {
  margin-bottom: 1.5rem;
}

.price-card {
  border-radius: 24px;
}

.price-card__header {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.price-card__value {
  color: var(--brand-red-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.booking-page {
  max-width: none;
  margin: 0 auto;
  padding: 1.5rem;
}

.booking-layout {
  align-items: start;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
}

.booking-main {
  min-width: 0;
}

.booking-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}

.booking-sidebar__card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 241, 232, 0.88));
  border: 1px solid rgba(31, 36, 48, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(31, 36, 48, 0.08);
  padding: 1.25rem;
}

.booking-sidebar__card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.booking-sidebar__list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.booking-sidebar__list li {
  list-style: none;
}

.booking-sidebar__facts {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.booking-sidebar__facts dt {
  color: var(--brand-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
}

.booking-sidebar__facts dd {
  margin: 0;
}

.booking-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-form-grid .form-group--full,
.booking-form-grid .booking-options-group,
.booking-form-grid .booking-confirm-group {
  grid-column: 1 / -1;
}

.booking-options-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-step {
  margin-bottom: 0.75rem;
}

.booking-step h2 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.booking-step__label {
  color: var(--brand-red-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.booking-option {
  border: 1px solid var(--brand-border);
  border-radius: 18px;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-option .card-body {
  height: 100%;
}

.booking-option:hover {
  border-color: rgba(214, 40, 57, 0.25);
  box-shadow: 0 12px 24px rgba(31, 36, 48, 0.08);
  transform: translateY(-1px);
}

.calendar-help {
  background: linear-gradient(135deg, #fff6e0 0%, #f9efe2 100%);
  color: #6a5947;
}

.booking-selected-dates {
  background: #fff9ef;
  border: 1px dashed rgba(214, 40, 57, 0.3);
  border-radius: 16px;
  margin-top: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1rem;
}

.booking-selected-dates[hidden] {
  display: none;
}

.booking-submit {
  min-width: 220px;
}

.selected-card {
  background: #fff4f5;
  border-color: rgba(214, 40, 57, 0.45);
  box-shadow: 0 14px 32px rgba(214, 40, 57, 0.14);
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer__inner {
  border-radius: 24px;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
}

.site-footer a {
  color: var(--brand-red-dark);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .site-main {
    padding-top: 1rem;
  }

  .hero-panel,
  .content-card,
  .booking-page {
    padding: 1.25rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .price-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .booking-form-grid,
  .booking-options-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991.98px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }
}

@media (min-width: 1200px) {
  .hero-panel {
    padding: 2.5rem;
  }

  .booking-page {
    padding: 2rem;
  }
}
