/* Reset some basic elements for consistency across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    font-family: montserrat, sans-serif;
    font-weight: 200;
    font-style: light;

    background-color: #becfbc;
    color: #333;
}

.section-title{
  font-weight: 200;
  color: #2b2b2b;
  margin: 0 0 1.25rem;
  
}



/* Title */



.title {
    position: relative;
    background-color: #ffffff;
    height: 90px;           /* allow banner to size itself */
    padding: 0;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    justify-content: center;
}



.title img{
  height: 100%;
  width: auto;                 /* keeps aspect ratio */
  max-width: 90%;
  object-fit: contain;
}


/* Title date */
.title_date {
    position: relative;
    background-color: #ffffff;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    justify-content: center;
}

.title_date img {
    width: 10%;
    
}




/* Countdown */


/*
.countdown {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff;
  color: #145d28;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}
*/

#countdown_front_page {
    position: relative;
    background-color: #ffffff;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    justify-content: center;
    color: hsla(108, 50%, 34%, 0.5);
    font-family: coordinates, monospace;
    font-weight: 300;
    font-style: normal;
    padding: 12px;

    

}

.countdown-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffffff;
  color: #145d28;
  padding: 12px 18px;
  border-radius: 10px;
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-align: center;
  font-family: coordinates, monospace;
  font-weight: 300;
  font-style: normal;

}




.countdown-container_overnatting {
  position: fixed;
  top: 80px;
  right: 20px;
  background-color: #ffffff;
  color: #145d28;
  padding: 12px 18px;
  border-radius: 10px;
  
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  text-align: center;
  font-family: coordinates, monospace;
  font-weight: 300;
  font-style: normal;

}

.countdown-label {
  font-size: 0.9em;
  margin: 0 0 5px 0;
  color: #333;
  font-family: montserrat, sans-serif;
  
}

.countdown {
  font-size: 1.4em;
  font-family: coordinates, monospace;
  font-weight: 400;
  font-style: normal;
  color: #2b4236

}





/* Navigation Bar front page*/
.navbarFP {
    position: relative;
    background-color: #ffffff;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;

}

.navbar__containerFP {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar__menuFP {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.navbar__itemFP {
    display: flex;
    align-items: center;
}

.navbar__linksFP {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
    
}

.navbar__linksFP:hover {
    background-color: #becfbc;
    border-radius: 4px;
}

.navbar_logoFP {
  height: 40px;    
  width: auto;      /* adjust size as needed */
  margin-right: 20px;    /* space between logo and menu */
}

.navbar_logo_linksFP {
  margin-right: 20px;  /* spacing between logo and menu */
  display: flex;       /* ensures image aligns nicely with menu */
  align-items: center;
}



/* Sign up Button */
.navbar__btnFP .button {
    background-color: #becfbc;
    color: #000000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: normal;
    transition: background 0.3s;
    top: 8px;
    position: relative;
}

.navbar__btnFP .button:hover {
    background-color: #42573f;
}

.navbarFP__logo {
    height: 50px;
    margin-right: auto;
   
}

/* Navigation Bar */
.navbar {
    position: relative;
    background-color: #ffffff;
    height: 70px;
    width: 100%;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar__container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar__menu {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}



.navbar__item {
    display: flex;
    align-items: center;
}

.navbar__links {
    color: #000401;
    text-decoration: none;
    font-size: 16px;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
    
}

.navbar__links:hover {
    background-color: #becfbc;
    border-radius: 4px;
}

.navbar_logo {
  height: 40px;    
  width: auto;      /* adjust size as needed */
  margin-right: 20px;    /* space between logo and menu */
}

.navbar_logo_links {
  margin-right: 20px;  /* spacing between logo and menu */
  display: flex;       /* ensures image aligns nicely with menu */
  align-items: center;
}

.info_bilde{
  width: 100%;
  display: flex;
  justify-content: center; /* horizontal center */
  padding: 1.5rem 0;
}

.info_bilde img{
  max-width: 60%;
  height: auto;
}


/* Sign up Button */
.navbar__btn .button {
    background-color: #becfbc;
    color: #000000;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: normal;
    transition: background 0.3s;
    top: 8px;
    position: relative;
}

.navbar__btn .button:hover {
    background-color: #42573f;
}

.navbar__logo {
    height: 50px;
    margin-right: auto;
   
}

/* Image carousel */
.carousel-hero {
  position: relative;   /* makes overlay position relative to this box */
  width: 100%;
  height: 60vh;         /* choose carousel height */
  min-height: 340px;    /* optional */
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  background-color: #ffffff;
  position: absolute;
  inset: 0;
  z-index: 1;

}

.carousel-overlay {
  position: absolute;
  left: 50%;
  top: 50%;                    /* middle part of the carousel */
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;        /* so overlay never blocks swipes/clicks if you add them */
}
.carousel-overlay img {
  max-width: min(500px, 85vw);
  height: auto;
  display: block;
}

.carousel-track {
  display: flex;
  width: fit-content;
}

.carousel-slide {
  display: flex;
}


.carousel-slide img{
  width: clamp(220px, 70vw, 300px);
  height: clamp(240px, 70vw, 340px);
  object-fit: cover;
  margin-right: 10px;
  border-radius: 5px;
}

/* Map */
#map{ 
  width: 100%;
  max-width: 1000px;
  height: 300px;
}


/* Login box */
.login-box {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.login-box input {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
}

.login-box button {
  width: 100%;
  padding: 10px;
  background: #1976d2;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

/* FAQ */

.faq-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.faq-box{
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 16px;
  padding: 18px 18px 10px;
  background: #fff;
}

.faq-box__title{
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* Optional: keep items nicely separated inside each box */
.faq-box .faq-item{
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 10px;
  margin-top: 10px;
}

.faq-box .faq-item:first-of-type{
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}


:root{
  --green: #6bbf4e;
  --text: #2b2b2b;
  --muted: #8a8f98;
  --divider: #e6e8eb;
  --radius: 8px;
}

.container{
  max-width: 1220px;
  padding: 2rem 1.25rem 3rem;
  margin: 0 auto;
  width: 100%;
}

.faq-list{
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  overflow: hidden; /* clean edges for first/last divider */
}

/* Each item gets a top divider except the first */
.faq-item{
  border-top: 1px solid var(--divider);
  background-color: #ffffff;
  font-size: large;
  
}
.faq-item:first-of-type{
  border-top: 0;
}

/* Remove default disclosure marker in all engines */
.faq-item summary{
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }

/* Summary (question) row */
.faq-item > summary{
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 1.25rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  user-select: none;
}

/* Right chevron */
.faq-item > summary::after{
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-50%) rotate(-45deg);
  transition: transform .2s ease, border-color .2s ease;
}

/* Focus/hover affordances */
.faq-item > summary:hover{
  background: #fafbfc;
}
.faq-item > summary:focus-visible{
  outline: 2px solid color-mix(in oklab, var(--green) 60%, white);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Open state: rotate chevron */
.faq-item[open] > summary::after{
  transform: translateY(-50%) rotate(135deg);
  border-color: var(--green);
}

/* Answer panel */
.answer{
  padding: 0 1.25rem 1rem 1.25rem;
  color: #4b4f56;
  font-size: medium;
  font-style:oblique;
  background-color: #ecf2ed;
}

/* Optional: smoother reveal without JS (height animation trick) */
.faq-item .answer{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-item[open] .answer{
  grid-template-rows: 1fr;
}
.faq-item .answer > *{
  overflow: hidden;
  margin: 0;
}

/* Scroll på info*/


:root { scroll-behavior: smooth; }

/* Keep styles scoped to this component */
.snap-wrapper {
  --nav-height: 64px; /* adjust to match your existing navbar */

  position: relative;
  box-sizing: border-box;
  width: min(1100px, 100%);
  margin: 0 auto;
  height: calc(100svh - var(--nav-height));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  border-radius: 1rem;
  border: 1px solid hsl(0 0% 80% / 0.5);
  background: hsl(0 0% 100% / 0.6);
  backdrop-filter: blur(6px);
}

.slide {
  scroll-snap-align: start;
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 2rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid hsl(0 0% 90% / .8);
  background: white;
}

.slide:nth-child(odd){ background: hsl(210 40% 98%); }

.slide h2 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 3.2vw, 2rem); }
.slide p { margin: 0; font-size: clamp(1rem, 2.2vw, 1.125rem); color: hsl(0 0% 15% / .9); }

.slide-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.5rem; font-size: .95rem; color: hsl(0 0% 35%);
}

.cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem .9rem; border-radius: .75rem; border: 1px solid hsl(0 0% 80% / .7);
  background: white; box-shadow: 0 8px 20px -14px hsl(0 0% 10% / .25);
  text-decoration: none; color: inherit;
}

/* Right-side pager dots */
.pager {
  position: sticky; top: .75rem; align-self: flex-start; z-index: 2;
  display: flex; flex-direction: column; gap: .5rem; padding: .75rem; margin-left: auto; margin-right: .5rem;
  background: hsl(0 0% 100% / .85); border: 1px solid hsl(0 0% 85% / .9); border-radius: 999px;
}
.pager button {
  width: .65rem; height: .65rem; border-radius: 999px; border: 0;
  background: hsl(0 0% 60% / .5); cursor: pointer;
}
.pager button[aria-current="true"] { background: hsl(222 84% 56%); }

/* Loader bar at the very bottom slide */
.tail-loader { text-align: center; padding: 1rem; color: hsl(0 0% 35%); }
.hide { display: none; }

/* Optional skeleton for lazy-loaded slides */
.skeleton { position: relative; overflow: hidden; }
.skeleton::after{
  content: ""; position: absolute; inset: 0; translate: -100% 0;
  background: linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.6), transparent);
  animation: shimmer 1.25s infinite;
}
@keyframes shimmer { 100% { translate: 100% 0 } }

/* Accessibility helper */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.text-box {
  flex: 1;             /* take 50% width */
  padding: 20px;
  text-align: center;  
}

.text-box h2 {
  text-align: center;     /* centers the text horizontally */
  font-size: 2rem;        /* adjust size */
  font-weight: bold;      
  color: #333;            /* dark gray */
  margin-bottom: 20px;    /* space below the heading */
  text-transform: uppercase; /* optional: ALL CAPS */
  letter-spacing: 2px;    /* optional: spacing between letters */
}

.page-layout {
  display: flex;
    /* full viewport height */
}

/* Responsive */
/* This is used for moble devices. Only activates on small screens, where the width is 768px or less */
@media (max-width: 768px){
  .navbar{
    height: auto;
  }

  .navbar__container{
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 10px;
  }

  .navbar_logo_links{
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }

  .navbar__menu{
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
  }

  .navbar__item,
  .navbar__btn{
    width: auto;
  }

  .navbar__links{
    padding: 6px 10px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .navbar__btn .button{
    padding: 6px 14px;
    font-size: 0.95rem;
  }
}

@media (max-width: 700px){
  .countdown-container{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 12px;
    padding: 10px 14px;
    border-radius: 12px;
  }
  .countdown{
    font-size: 1.1em;
  }
}

@media (max-width: 700px){
  #map{ height: 240px; }
}


@media (max-width: 1100px){
  .faq-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px){
  .faq-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 700px){
  .faq-item > summary{
    padding: 1rem 2.25rem 1rem 1rem;
    font-size: 1rem;
  }
  .answer{
    padding: 0 1rem 1rem 1rem;
  }
}

@media (hover: none){
  .navbar__links:hover{
    background-color: transparent;
  }
}

@media (max-width: 768px){
  .navbarFP{
    height: auto;
  }

  .navbar__containerFP{
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    padding: 10px;
  }

  .navbar__menuFP{
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
  }

  .navbar__linksFP{
    padding: 6px 10px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .navbar__btnFP .button{
    padding: 6px 14px;
    font-size: 0.95rem;
    top: 0;               /* remove the nudge on mobile */
    position: static;
  }
}

:root{
  --title-h: 80px;
  --nav-h: 70px;
  --countdown-h: 70px;
}


@media (max-width: 700px){
  :root{
    --title-h: 56px;      /* your mobile title height */
    --nav-h: 0px;         /* if navbar wraps, height becomes variable */
    --countdown-h: 58px;  /* approx height of countdown bar */
  }
  .carousel-hero{
    height: calc(100svh - var(--title-h) - var(--countdown-h));
    min-height: 360px;
  }

  .carousel-container{
    border-radius: 0;     /* optional: cleaner edge-to-edge */
  }

  .carousel-container,
  .carousel-track,
  .carousel-slide{
    height: 100%;
  }

  .carousel-slide img{
    height: 100%;
    width: auto;
    max-width: 92vw;
    object-fit: cover;
    border-radius: 0;
    margin-right: 10px;
  }
}

@media (max-width: 700px){
  .carousel-overlay img{
    max-width: 78vw;
  }
}



@media (max-width: 700px){
  #countdown_front_page{
    padding: 10px 12px;
  }
  #countdown_front_page .countdown{
    font-size: 1.1em;
    text-align: center;
  }
}

@media (max-width: 700px){
  .title{
    height: 56px;              /* smaller on phone */
    padding: 4px 8px;
  }

  .title img{
    max-width: 100%;
  }
}


html, body{
  overflow-x: hidden;
}

@media (max-width: 768px){
  .countdown-container_overnatting{
    top: calc(80px + 55px); /* base + one wrapped row */
  }
}

@media (max-width: 700px){
  .countdown-container{
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 12px;
  }

  /* Add breathing room at bottom for all pages */
  body{
    padding-bottom: 120px; /* adjust to countdown height */
  }
}

.coming-soon-box{
  max-width: 520px;
  margin: 80px auto;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.08);
}

.coming-soon-box h2{
  margin: 0 0 12px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.coming-soon-box p{
  margin: 0;
  color: #4b4f56;
  font-size: 1rem;
}

@media (max-width: 700px){
  .coming-soon-box{
    margin: 48px 16px;
    padding: 24px 18px;
  }
}


