/* Rune Harder Bak — Foredrag & Sjælerejser */

@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  color-scheme: light dark;
  --navy:  #c4603a;
  --blue:  #f5f0e8;
  --dark:  #3d2418;
  --cream: #ede7db;
  --white: #ffffff;
  --text:  #3d2e22;
  --font-serif: 'Varela Round', sans-serif;
  --font-sans:  'DM Sans', sans-serif;
  --max-w: 1400px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text);
  background: var(--blue);
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

section:not(.hero) > div,
body > footer > div {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTIONS ---- */
section          { padding: 110px 0; }
.hero            { padding: 0; }
#arrangementer   { background: var(--cream); }
#bevidsthed      { background: var(--cream); }
#kontakt         { background: var(--white); color: var(--dark); }

small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 14px;
  font-weight: 400;
}

#kontakt small { color: var(--dark); opacity: 0.6; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
}

h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
p  { margin-bottom: 18px; font-size: 1.15rem; }
p:last-child { margin-bottom: 0; }

/* ---- BUTTONS & LINKS ---- */
.btn {
  display: inline-block;
  padding: 14px 38px;
  border: 1.5px solid #1a1a1a;
  color: #1a1a1a;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.link-arrow {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1a1a;
  border-bottom: 1.5px solid #1a1a1a;
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow:hover { color: #555; border-color: #555; }

/* ---- HEADER ---- */
body > header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

body > header > div {
  max-width: 100%;
  margin: 0;
  padding: 0 48px 0 0;
  height: 90px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

body > header nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.4;
  padding: 0 24px;
  align-self: stretch;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.12);
}

body > header nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

body > header nav a {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
body > header nav a:hover { color: var(--white); border-bottom-color: rgba(255,255,255,0.6); }

#nav-toggle { display: none; }

body > header nav label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
body > header nav label span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: -15% 0;
  background-image: url('../billeder/IMG3_1.webp');
  background-size: cover;
  background-position: center 35%;
  will-change: transform;
  z-index: 0;
}

@supports (animation-timeline: scroll()) {
  .hero .bg {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root block);
    animation-range: 0px 100vh;
  }
  @keyframes hero-parallax {
    from { transform: translateY(0); }
    to   { transform: translateY(35vh); }
  }
}

.hero .content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
  max-width: 1100px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
  margin-bottom: 28px;
  max-width: 1000px;
}

.hero p {
  font-size: clamp(0.92rem, 1.8vw, 1.1rem);
  line-height: 1.9;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto 44px;
}

.hero .content a {
  display: inline-block;
  padding: 15px 44px;
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
  font-size: 0.73rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
}
.hero .content a:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- SPLIT LAYOUT ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#om-sjaelerejser .split > div:last-child img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border-radius: 2px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.13);
  object-fit: cover;
  object-position: center top;
}

#om-rune .split img {
  min-height: 520px;
  width: 100%;
  border-radius: 2px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.13);
  object-fit: cover;
  object-position: center;
}

/* ---- EVENT ---- */
article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
  background: var(--white);
  border-radius: 4px;
  padding: 52px 56px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
  border-left: 5px solid var(--navy);
}

article time {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  padding: 20px 28px;
  min-width: 90px;
  text-align: center;
}

article time span:first-child {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  font-weight: 300;
}

article time span:last-child {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.85;
}

article footer {
  margin: 18px 0 28px;
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.75;
}

article footer p {
  font-size: 0.95rem;
  margin-bottom: 4px;
  letter-spacing: normal;
}

@media (max-width: 680px) {
  article { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; }
  article time { flex-direction: row; gap: 12px; align-items: baseline; width: fit-content; }
}

/* ---- BEVIDSTHED ---- */
#bevidsthed > div > header {
  text-align: center;
  margin-bottom: 72px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
  align-items: start;
}

#bevidsthed h3 {
  font-style: italic;
  font-size: 1.25rem;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 0;
}

#bevidsthed ul {
  list-style: none;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#bevidsthed ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

#bevidsthed ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
}

#bevidsthed figure { margin-top: 56px; }

#bevidsthed figure img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* ---- QUOTE ---- */
section.quote {
  padding: 80px 48px;
  background: var(--navy);
  text-align: center;
}

section.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- KONTAKT ---- */
#kontakt > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

#kontakt h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }

#kontakt > div > div p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.9;
}

#kontakt a[href^="mailto:"] {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #1a1a1a;
  transition: color 0.2s;
  margin-top: 20px;
  display: inline-block;
}
#kontakt a[href^="mailto:"]:hover { color: #555; }

#kontakt aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

#kontakt h3 { font-size: 1.5rem; margin-bottom: 20px; }

#kontakt form {
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 6px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

#kontakt form input,
#kontakt form textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

#kontakt form input::placeholder,
#kontakt form textarea::placeholder { color: rgba(0,0,0,0.35); }

#kontakt form input:focus,
#kontakt form textarea:focus { border-color: var(--navy); }

#kontakt form textarea { min-height: 130px; resize: vertical; }

#kontakt form button {
  align-self: flex-start;
  padding: 13px 36px;
  background: #3d2418;
  border: 1.5px solid #3d2418;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.25s;
}
#kontakt form button:hover { background: #2a1810; border-color: #2a1810; }

/* ---- FOOTER ---- */
body > footer {
  background: var(--dark);
  color: rgba(255,255,255,0.45);
  padding: 36px 0;
  text-align: center;
}

body > footer p {
  font-family: var(--font-serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

/* ---- ANIMATE IN ---- */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-in.visible { opacity: 1; transform: none; }
.animate-in.delay-1 { transition-delay: 0.12s; }
.animate-in.delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .animate-in { opacity: 1; transform: none; transition: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  section:not(.hero) > div, body > footer > div { padding: 0 28px; }
  .two-col { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  #kontakt > div { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 680px) {
  body > header > div { padding: 0 20px; }
  body > header nav label { display: flex; }

  body > header nav ul {
    display: none;
    position: absolute;
    top: 70px; left: 0;
    width: 100%;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    gap: 0;
    padding: 10px 0 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  }
  #nav-toggle:checked ~ ul { display: flex; }
  body > header nav a { display: block; padding: 13px 28px; border-bottom: none; color: var(--dark); }

  .hero h1        { font-size: 3rem; }
  section         { padding: 72px 0; }
  .hero           { padding: 0; }
  section.quote   { padding: 60px 24px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --blue:  #261608;
    --cream: #331d0e;
    --text:  #d4b896;
    --dark:  #ecdcc8;
  }

  body > footer                  { background: #1a0f06; }
  small                          { color: var(--dark); }
  .btn                           { color: var(--dark); border-color: var(--dark); }
  .link-arrow                    { color: var(--dark); border-color: var(--dark); }
  #bevidsthed h3                 { color: var(--dark); }
  #kontakt a[href^="mailto:"]    { color: var(--dark); }

  article                        { background: #43291a; }
  #kontakt                       { background: #261608; }

  #kontakt form input,
  #kontakt form textarea         { background: #261608; border-color: rgba(255,255,255,0.15); }
  #kontakt form input::placeholder,
  #kontakt form textarea::placeholder { color: rgba(255,255,255,0.35); }

  #kontakt form button           { background: var(--navy); border-color: var(--navy); }
  #kontakt form button:hover     { background: #a84f2a; border-color: #a84f2a; }
}

@media (prefers-color-scheme: dark) and (max-width: 680px) {
  body > header nav ul           { background: rgba(51, 29, 14, 0.97); }
}
