:root {
  --white: #ffffff;
  --beige: #f5f1e8;
  --green: #7fb8a0;
  --green-dark: #5a9b82;
  --text: #2f2f2f;
  --muted: #6b7280;
}

img {
  -webkit-user-drag: none;
}

.no-scroll {
  overflow: hidden;
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: linear-gradient(180deg, var(--beige), var(--white));
  color: var(--text);
  line-height: 1.75;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
}

.brand img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-dark);
}

.socials {
  display: flex;
  gap: 1rem;
}

.socials a {
  color: var(--green-dark);
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: scale(1.15);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--green-dark);
}

header {
  padding: 6.5rem 1.5rem 4.5rem;
  text-align: center;
}

.hero-logo {
  width: clamp(150px, 25vw, 250px);
  height: auto;
  margin-bottom: 0.5rem;
}

header h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

header p {
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
}

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  scroll-margin-top: 100px;
}

h2 {
  color: var(--green-dark);
  font-size: 2rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox img {
  width: auto;
  max-width: 1000px;
  height: 90vh;
  max-height: 900px;
  object-fit: contain;
  background: black;
  border-radius: 16px;
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 1rem;
}

.prev {
  left: 5%;
}

.next {
  right: 5%;
}

.close {
  top: 20px;
  right: 30px;
}

.utleie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  text-align: center;
}

.utleie-item h3 {
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.utleie-item img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto;
}

.mentor {
  margin-top: 2.5rem;
  text-align: center;
}

.mentor p {
  margin-bottom: 1rem;
  color: var(--text);
}

.utleie-intro {
  text-align: center;
  margin-top: 1rem;
  color: var(--text);
}

#om-skjulet {
  max-width: 900px;
  margin: 3rem auto 0 auto;
  padding: 2rem 1.5rem;
  line-height: 1.75;
  color: var(--text);
  border-radius: 16px;
}

#om-skjulet h2 {
  color: var(--green-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

#om-skjulet h3 {
  color: var(--green-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper p {
  margin-bottom: 2.5rem;
  color: var(--muted);
}

.contact-wrapper strong {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-wrapper a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-wrapper a:hover {
  color: var(--green);
}

form {
  display: grid;
  gap: 1rem;
}

input,
textarea {
  padding: 1rem 1.1rem;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid #ddd;
  font-family: inherit;
  resize: none;
}

textarea {
  min-height: 150px;
}

button {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

button:hover {
  transform: scale(1.15);
}

footer {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--muted);
  background: var(--beige);
}

footer a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: var(--green);
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: space-between;
    position: relative;
    padding: 2rem 1.5rem;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .hamburger {
    display: block;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3000;
  }

  .socials {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--beige);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 2500;
    align-items: center;
    text-align: center;
  }

  .nav-links a {
    padding: 1rem 0;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .topbar .socials {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
  }

  footer .socials {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .utleie-grid {
    grid-template-columns: 1fr;
  }

  .lightbox img {
    width: auto;
    max-height: 70%;
    object-fit: contain;
    border-radius: 16px;
  }

  .lightbox .prev {
    display: none;
  }

  .lightbox .next {
    display: none;
  }
}

.map-wrapper {
  margin: 2rem auto 0 auto;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

.lang-toggle {
  color: var(--green-dark);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.lang-toggle:hover {
  transform: scale(1.15);
}

.utleie-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4000;
}

.utleie-lightbox img {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.utleie-lightbox .copyright {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: white;
  font-size: 0.85rem;
  text-align: right;
  max-width: 90%;
}

.utleie-lightbox .close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 768px) {
  .utleie-lightbox img {
    width: 90%;
    height: auto;
    max-height: 70vh;
    overflow: hidden;
  }
}

.cal-landscape {
  width: 100%;
}

#my-cal-inline-rental-request-brarudskjulet-one-day {
  width: 100%;
}

@media (min-width: 1024px) {
  #my-cal-inline-rental-request-brarudskjulet-one-day {
    width: 200%;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
  }
}

.cal-wrapper {
  position: relative;
}

.cal-overlay {
  position: absolute;
  bottom: 17px;
  left: 0;
  width: 100%;
  height: 30px;
  background: white;
  z-index: 1000;
}

@media (max-width: 1024px) {
  .cal-overlay {
    display: none;
  }
}
