/* Grundtema */
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #f4f1e8;
  color: #06290f;
}

/* ---------------------------------------------------------------------------- */
/* UNDERSTORY NAVIGATION – delt i to bjælker */
/* ---------------------------------------------------------------------------- */

/* Wrapper for begge bjælker */
.nav-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  z-index: 2000;
  pointer-events: none; /* gør wrapper usynlig for klik */
}

/* Fælles glaslook */
.glass-nav {
  display: flex;
  align-items: center;
  gap: 24px;

  padding: 5px 28px;
  background: rgba(26, 80, 41, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  
  pointer-events: auto; /* Aktiverer klik på navigation */
}

/* Venstre bjælke (logo + menu) */
.left-nav {
  margin-left: 50px; /* Dette er afstanden fra venstre kant */
}

/* Højre bjælke (login) */
.right-nav {
  padding: 10px 20px;
}

/* Logo */
.nav-logo {
  font-size: 40px;
  font-weight: 700;
  text-decoration: none;
  color: #f1ff67;
  letter-spacing: 1px;
}

/* Menu links */
.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  opacity: 0.95;
}

/* Login */
.login-btn {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

/* Mobil */
@media (max-width: 900px) {
  .glass-nav {
      display: none;
  }
  .burger {
      display: flex;
  }
}

/* -------------------------------------------------------------------------- */
/* HERO SEKTION */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 70vh;
  padding: 120px 32px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: #06290f;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6,41,15,0.15), rgba(6,41,15,0.8));
  z-index: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%);
}

.hero-video iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #d1e751;
  color: #06290f;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* -------------------------------------------------------------------------- */
/* EVENT GRID OG CARDS */
/* -------------------------------------------------------------------------- */

.event.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 40px 32px;
}

.event.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;

  opacity: 0;
  animation: fadeInCard 0.4s ease forwards;
}

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.event.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.event.image {
  overflow: hidden;
}

.event.image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event.card:hover .event.image img {
  transform: scale(1.05);
}

.event.content {
  padding: 16px 20px;
}

.event.content h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #06290f;
}

.event.content p {
  margin: 8px 0 12px;
  font-size: 14px;
  color: #444;
}

.event.rating {
  font-size: 14px;
  margin-bottom: 12px;
  color: #06290f;
}

.event.button {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14px;
  text-decoration: none;
  background: #d1e751;
  color: #06290f;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.event.button:hover {
  background: #c4d84b;
}

.event.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #06290f;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
}

/* -------------------------------------------------------------------------- */
/* DETAILS */
/* -------------------------------------------------------------------------- */

.details.wrapper {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.details.image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 340px;
}

.details.content h1 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 32px;
  color: #06290f;
}

.details.description {
  margin-bottom: 24px;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}

.details.rating {
  font-size: 18px;
  margin-bottom: 20px;
}

.details.info p {
  margin: 6px 0;
  font-size: 15px;
  color: #06290f;
}

.details.button {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 20px;
  background: #d1e751;
  color: #06290f;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  transition: background 0.2s ease;
}

.details.button:hover {
  background: #c4d84b;
}

@media (max-width: 800px) {
  .details.wrapper {
      grid-template-columns: 1fr;
  }

  .details.image img {
      height: 260px;
  }
}

/* -------------------------------------------------------------------------- */
/* SEARCH OG FILTER */
/* -------------------------------------------------------------------------- */

.search.wrapper {
  max-width: 1100px;
  margin: 40px auto 20px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search.input {
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
  border: 2px solid #06290f;
  border-radius: 10px;
  outline: none;
  background: white;
  margin-bottom: 20px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search.input:focus {
  border-color: #d1e751;
  box-shadow: 0 0 0 3px rgba(209, 231, 81, 0.3);
}

.filter.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 10px 16px;
  font-size: 14px;
  background: white;
  border: 2px solid #06290f;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transform: translateY(0);
  transition: background 0.15s ease, color 0.15s ease, border 0.15s ease, transform 0.15s ease;
}

.chip:hover {
  background: #d1e751;
  border-color: #d1e751;
  color: #06290f;
  transform: translateY(-2px);
}

.chip.active {
  background: #06290f;
  color: white;
  border-color: #06290f;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

@media (max-width: 600px) {
  .filter.chips {
      overflow-x: auto;
      white-space: nowrap;
      padding-bottom: 6px;
      scrollbar-width: none;
  }

  .filter.chips::-webkit-scrollbar {
      display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* CATEGORIES */
/* -------------------------------------------------------------------------- */

.categories.wrapper {
  max-width: 1100px;
  margin: 50px auto 20px;
  padding: 0 24px;
}

.categories.wrapper h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #06290f;
}

.categories.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category.card {
  text-decoration: none;
  color: #06290f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: white;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
  min-height: 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  cursor: pointer;
}

.category.card span {
  font-size: 18px;
  font-weight: 600;
  color: #06290f;
}

.category.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  border-color: #1a5029;
  background: #f9f9f9;
}

.category.card.active {
  background: #1a5029;
  border-color: #1a5029;
  box-shadow: 0 4px 12px rgba(26, 80, 41, 0.3);
}

.category.card.active span {
  color: white;
}

.category.card.active:hover {
  background: #06290f;
  border-color: #06290f;
}

/* -------------------------------------------------------------------------- */
/* BOOKING PAGE */
/* -------------------------------------------------------------------------- */

.booking.wrapper {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 24px;
}

.booking.header {
  text-align: center;
  margin-bottom: 40px;
}

.booking.header h1 {
  font-size: 36px;
  color: #06290f;
  margin-bottom: 8px;
}

.booking.price {
  font-size: 18px;
  color: #666;
  font-weight: 500;
}

.booking.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Kalender kort */
.booking.calendar-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.calendar-month {
  font-size: 20px;
  font-weight: 600;
  color: #06290f;
  margin: 0;
}

.calendar-nav {
  background: #f4f1e8;
  border: 2px solid #06290f;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #06290f;
  transition: background 0.2s ease, transform 0.2s ease;
}

.calendar-nav:hover {
  background: #d1e751;
  transform: scale(1.05);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #666;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.calendar-day.empty {
  cursor: default;
}

.calendar-day.past {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.available {
  background: white;
  border: 2px solid #e0e0e0;
  color: #06290f;
}

.calendar-day.available:hover {
  background: #f0f0f0;
  border-color: #d1e751;
  transform: scale(1.05);
}

.calendar-day.available.selected {
  background: #d1e751;
  border-color: #06290f;
  color: #06290f;
  font-weight: 600;
}

.calendar-day.available.few-spots {
  border-color: #ffa500;
}

.calendar-day.unavailable {
  background: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
  border: 2px solid #e0e0e0;
}

.availability-dot {
  position: absolute;
  bottom: 4px;
  width: 6px;
  height: 6px;
  background: #ffa500;
  border-radius: 50%;
}

.calendar-legend {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid;
}

.legend-dot.few-spots {
  background: white;
  border-color: #ffa500;
}

.legend-dot.unavailable {
  background: #f5f5f5;
  border-color: #e0e0e0;
}

/* Booking formular kort */
.booking.form-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #06290f;
}

.form-group input {
  padding: 12px 16px;
  font-size: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.form-group input:focus {
  border-color: #d1e751;
  box-shadow: 0 0 0 3px rgba(209, 231, 81, 0.2);
}

.form-group input[readonly] {
  background: #f9f9f9;
  cursor: not-allowed;
}

.booking-submit-btn {
  margin-top: 12px;
  padding: 16px 24px;
  background: #06290f;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.booking-submit-btn:hover:not(:disabled) {
  background: #0a3a1a;
  transform: translateY(-2px);
}

.booking-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

.booking-submit-btn:not(:disabled) {
  background: #06290f;
  color: white;
}

.booking-message {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.booking-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.booking-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 900px) {
  .booking.container {
    grid-template-columns: 1fr;
  }
  
  .booking.calendar-card,
  .booking.form-card {
    padding: 24px;
  }
}

/* -------------------------------------------------------------------------- */
/* 404 ERROR PAGE */
/* -------------------------------------------------------------------------- */

.error-page {
  max-width: 600px;
  margin: 120px auto;
  padding: 40px 24px;
  text-align: center;
}

.error-page h1 {
  font-size: 72px;
  color: #06290f;
  margin-bottom: 16px;
}

.error-page p {
  font-size: 20px;
  color: #666;
  margin-bottom: 32px;
}

.error-link {
  display: inline-block;
  padding: 14px 28px;
  background: #d1e751;
  color: #06290f;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.error-link:hover {
  background: #c4d84b;
}

/* -------------------------------------------------------------------------- */
/* OM OS SEKTION */
/* -------------------------------------------------------------------------- */

.about-section {
  padding: 80px 24px;
  background: white;
  margin-top: 60px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content h2 {
  color: #06290f;
  font-size: 42px;
  margin-bottom: 32px;
  text-align: center;
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.about-text p {
  margin-bottom: 24px;
}

.understory-link {
  color: #1a5029;
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.understory-link:hover {
  color: #06290f;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .about-section {
    padding: 60px 20px;
    margin-top: 40px;
  }
  
  .about-content h2 {
    font-size: 32px;
  }
  
  .about-text {
    font-size: 16px;
  }
}
