/* Nygård ved Farris – landlig, historisk palett */
:root {
  --red: #8f2f25;
  --green: #2f4d35;
  --cream: #f7f1e7;
  --paper: #fffaf1;
  --dark: #1f241f;
  --muted: #666;
  --line: #e2d8c8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.hero {
  min-height: 82vh;
  background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,.42)),
    url('../images/drone-oversikt-nygard.jpg') center/cover;
  display: flex;
  align-items: center;
  color: white;
  padding: 40px 32px;
}
.hero-inner { max-width: 920px; margin: auto; text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .85rem;
  margin-bottom: 18px;
  opacity: .92;
}
h1 {
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 1;
  margin: 0 0 14px;
}
.tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: #f0e8d8;
  font-family: Arial, sans-serif;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  max-width: 760px;
  margin: 0 auto 28px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid var(--red);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: .95rem;
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.btn.secondary {
  background: transparent;
  border-color: white;
}
.btn-facebook {
  margin-top: 12px;
}
.event-btn { margin-top: 12px; }

nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(247,241,231,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
nav .wrap {
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 12px 20px;
}
nav strong { color: var(--red); }
nav a { text-decoration: none; margin-left: 18px; font-size: .95rem; }
.nav-home { color: var(--red); text-decoration: none; }

.page-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 56px 20px 48px;
  text-align: center;
}
.page-header h1 {
  margin-bottom: 14px;
}
.page-header .intro {
  margin: 0 auto 20px;
}

section { padding: 70px 20px; }
.wrap { max-width: 1120px; margin: auto; }
.wrap.narrow { max-width: 780px; }
h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 18px;
  color: var(--green);
}
.intro { font-size: 1.2rem; max-width: 780px; color: #394238; }

.section-history {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.history-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.history-photos {
  display: grid;
  gap: 16px;
}
.history-photos figure {
  margin: 0;
}
.history-photos img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.history-photos figure:last-child img {
  object-fit: contain;
  max-height: 360px;
  background: transparent;
}
.history-photos figcaption {
  margin-top: 8px;
  font-size: .9rem;
  color: var(--muted);
  font-family: Arial, sans-serif;
}
.section-experiences {
  background: linear-gradient(180deg, var(--cream) 0%, #efe6d6 100%);
}
.section-rental {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rental-lead {
  margin-bottom: 36px;
}
.section-rental h3 {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 1.55rem;
}
.rental-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.rental-layout:last-child {
  margin-bottom: 0;
}
.rental-layout-reverse {
  grid-template-columns: 1.1fr 1fr;
}
.rental-layout .intro {
  max-width: none;
}
.rental-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
}
.rental-facts {
  margin: 16px 0 22px;
  padding-left: 1.2rem;
  color: #394238;
}
.rental-facts li {
  margin-bottom: 6px;
}
.rental-venue {
  background: #efe4d2;
  border-radius: 22px;
  padding: 28px 32px;
  border-left: 5px solid var(--red);
}
.rental-venue h3 {
  margin-top: 0;
}
.rental-venue p:last-of-type {
  margin-bottom: 0;
}
.section-honey {
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, #efe6d6 100%);
}
.section-honey .intro {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 34px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
}
.card-selected {
  border-color: var(--red);
  box-shadow: 0 14px 36px rgba(143,47,37,.14);
}
.card-past {
  opacity: .94;
}
.card-past img {
  filter: saturate(.88);
}
.tag-past {
  background: #d8e0d4;
  color: var(--green);
  font-weight: bold;
}
.card img { height: 240px; width: 100%; object-fit: cover; }
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 1.45rem;
  line-height: 1.2;
}
.meta { font-weight: bold; color: var(--green); margin-bottom: 10px; }
.card-desc {
  margin: 10px 0 14px;
  flex: 1;
  font-size: 1rem;
  line-height: 1.55;
}
.card-tags {
  margin-bottom: 4px;
}
.tag {
  display: inline-block;
  background: #e7dcc8;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: .85rem;
  margin: 4px 4px 0 0;
  font-family: Arial, sans-serif;
}
.tag-category {
  background: #dce8de;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 8px;
}
.tag-price {
  background: #f0ddd8;
  color: var(--red);
  font-weight: bold;
}
.tag-age {
  background: #e8e0d0;
}
.tag-invite {
  background: var(--green);
  color: white;
  font-weight: bold;
  margin-top: 12px;
}
.availability {
  margin: 12px 0 0;
  font-weight: bold;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: .9rem;
}
.availability.full { color: var(--red); }
.fullbooked {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: bold;
  margin-top: 12px;
  font-family: Arial, sans-serif;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.photo-grid img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.info-box {
  background: var(--green);
  color: white;
  border-radius: 24px;
  padding: 32px 36px;
  margin-top: 40px;
}
.info-title {
  color: white;
  margin-bottom: 16px;
}
.info-prose {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.info-prose li {
  margin-bottom: 8px;
}
.info-prose li:last-child {
  margin-bottom: 0;
}
.info-address {
  background: rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.info-address strong {
  display: block;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 6px;
  opacity: .9;
}
.info-address p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}
.travel-times {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.travel-times h3 {
  margin: 0 0 16px;
  font-size: 1.15rem;
  color: white;
  font-family: Arial, sans-serif;
  font-weight: 600;
}
.travel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.travel-grid li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: Arial, sans-serif;
  font-size: .95rem;
}
.travel-grid li span:last-child {
  font-weight: bold;
  white-space: nowrap;
}
.travel-note {
  margin: 14px 0 0;
  font-size: .9rem;
  opacity: .85;
  font-style: italic;
}

.signup {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.signup-box {
  background: white;
  border-radius: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 35px rgba(0,0,0,.07);
}
.selected-event {
  background: #efe4d2;
  border-left: 5px solid var(--red);
  padding: 14px 16px;
  border-radius: 12px;
  margin: 18px 0;
  font-weight: bold;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group.full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: Arial, sans-serif;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--green);
  font-weight: bold;
}
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: Arial, sans-serif;
  font-size: 1rem;
}
input:focus, textarea:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: Arial, sans-serif;
}
.checkbox-row input { width: auto; margin-top: 4px; }

.price-summary {
  background: #efe4d2;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  font-weight: bold;
}
.form-message {
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 12px;
  font-family: Arial, sans-serif;
  display: none;
}
.form-message.error {
  display: block;
  background: #fde8e6;
  color: var(--red);
  border: 1px solid #e8b4b0;
}
.form-message.info {
  display: block;
  background: #e8f0ea;
  color: var(--green);
  border: 1px solid #b8cfc0;
}
.form-message.success {
  display: block;
  background: #e8f0ea;
  color: var(--green);
}

footer {
  background: #1f241f;
  color: #eee;
  padding: 36px 20px;
  text-align: center;
}
footer a {
  color: #f0e8d8;
}

.loading-events {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-style: italic;
  grid-column: 1 / -1;
}

@media (max-width: 850px) {
  .grid, .split, .form-grid, .rental-layout, .rental-layout-reverse, .history-layout { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; padding: 32px 20px; }
  nav .links { display: none; }
  .photo-grid img { height: 200px; }
  .card img { height: 200px; }
  .card-body { padding: 20px; }
  .card h3 { font-size: 1.3rem; }
  .card-desc { font-size: .98rem; }
  .info-box { padding: 24px 20px; }
  .info-prose { font-size: 1rem; padding-left: 1rem; }
  .travel-grid { grid-template-columns: 1fr; }
  .rental-photo { height: 240px; }
  .rental-layout-reverse .rental-photo { order: -1; }
}

@media (max-width: 1100px) and (min-width: 851px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
