/* ===== Farver ===== */
:root {
  --cream: #fbf8f3;
  --sand: #f3eadf;
  --sand-dark: #e6d7c4;
  --caramel: #c4956a;
  --caramel-dark: #a87a52;
  --blue: #a8cfe0;
  --blue-light: #e3f1f7;
  --blue-dark: #5e93ad;
  --ink: #2f3b47;
  --ink-soft: #6b7680;
}

/* ===== Grundlæggende ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Cormorant Garamond er en lille skrift, så grundstørrelsen er sat lidt op */
html {
  font-size: 19px;
}

body {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-weight: 500;
  text-wrap: balance; /* fordeler ordene jævnt på linjerne */
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.5rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 20px;
}

.center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--caramel);
  color: white;
  border: none;
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  background: var(--caramel-dark);
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
  background: var(--cream);
  border-bottom: 1px solid var(--blue);
}

.nav-links {
  flex: 1;
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a.active,
.nav-links a:hover {
  border-bottom: 2px solid var(--blue);
}

.logo img {
  height: 76px;
  mix-blend-mode: multiply; /* fjerner logoets hvide baggrund */
}

.nav-right {
  flex: 1;
  text-align: right;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===== Forside ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  max-width: 1240px;
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: 24px 40px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.hero-text p {
  max-width: 400px;
  margin: 20px 0 32px;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.btn-outline {
  margin-left: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: white;
}

/* Videoen vises i en buet ramme med en lyseblå streg bagved */
.video-frame {
  position: relative;
}

.video-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--blue);
  border-radius: 20px;
}

/* Bredden følger skærmen, men videoen bliver aldrig højere end skærmen */
.video-frame video {
  position: relative;
  width: min(660px, 50vw, calc((100vh - 128px) * 0.8));
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  background: var(--sand);
}

/* Om Torben */
.about {
  background: var(--sand);
}

.about-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 90px;
  align-items: center;
  max-width: 1000px;
}

.about p {
  margin-top: 16px;
  color: var(--ink-soft);
}

/* Tynd lyseblå ramme forskudt bag portrættet – samme stil som videoen */
.portrait-frame {
  position: relative;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--blue);
  border-radius: 16px;
}

.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

blockquote {
  margin: 28px 0;
  padding-left: 20px;
  border-left: 2px solid var(--caramel);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.3;
}

.about .signature {
  font-size: 2rem;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
}

.signature span {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel-dark);
}

/* Book-banner med billede af salonen */
.cta {
  padding: 140px 20px;
  text-align: center;
  color: white;
  background: linear-gradient(rgba(47, 59, 71, 0.5), rgba(47, 59, 71, 0.5)),
    url("media/salonen.jpg") center 30% / cover;
}

.cta p {
  margin: 12px 0 28px;
}

/* ===== Undersider ===== */
.page-title {
  padding: 60px 20px;
  text-align: center;
  background: var(--blue-light);
}

/* ===== Priser ===== */
.prices {
  max-width: 700px;
  margin: 0 auto 40px;
}

.prices h2 {
  border-bottom: 2px solid var(--blue);
  margin-bottom: 10px;
}

.prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--sand-dark);
  list-style: none;
}

/* Prisen holdes altid samlet på én linje */
.prices span {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 1.2em;
  font-weight: 700;
  color: #8a5a30; /* mørkere karamel, så prisen er nem at læse */
}

.prices li {
  font-weight: 600;
}

/* ===== Portfolio ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.gallery figure {
  position: relative;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.pair img {
  aspect-ratio: 1 / 2;
}

.gallery figcaption {
  margin-top: 12px;
  font-size: 1.4rem;
}

.label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 14px;
  border-radius: 50px;
  background: var(--cream);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.label-right {
  left: calc(50% + 16px);
}

/* ===== Kontakt ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact h3 {
  margin-top: 20px;
}

/* Boks med info om hvordan man kontakter salonen */
.contact-note {
  align-self: start;
  padding: 32px;
  background: var(--blue-light);
  border-radius: 12px;
}

.contact-note h3 {
  margin-top: 0;
}

.contact-note p {
  margin-bottom: 16px;
}

/* Knapperne lægger sig under hinanden med luft imellem, når der ikke er plads */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-buttons .btn-outline {
  margin-left: 0;
}

/* Havnebillede og kort side om side */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 60px;
}

.location img,
.map {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: 0;
  border-radius: 12px;
}

/* ===== Footer ===== */
footer {
  padding: 48px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--blue);
}

.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--ink);
}

.social a:hover {
  background: var(--blue-light);
}

.social svg {
  width: 20px;
  height: 20px;
}

/* ===== Mobil ===== */
@media (max-width: 800px) {
  h1 { font-size: 2.6rem; }

  /* På mobil fylder videoen skærmen med titlen ovenpå – teksten og knapperne står under */
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 0;
    text-align: center;
  }

  /* Titel og intro bliver selvstændige dele af gitteret */
  .hero-text {
    display: contents;
  }

  .video-frame,
  .hero-title {
    grid-area: 1 / 1;
  }

  .video-frame {
    height: calc(100svh - 80px);
    background: linear-gradient(135deg, var(--blue-dark), var(--caramel));
  }

  .video-frame::before {
    display: none;
  }

  .video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(47, 59, 71, 0.3);
  }

  .video-frame video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    background: none;
  }

  .hero-title {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 20px;
    color: white;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero .eyebrow {
    color: white;
  }

  .hero-intro {
    padding: 48px 20px 64px;
  }

  .hero-text p {
    margin: 0 auto 28px;
  }

  .menu-btn {
    display: block;
    flex: 1;
    text-align: left;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: white;
    border-top: 1px solid var(--blue);
  }

  /* Den åbne menu får skygge, og resten af siden bliver mørkere bagved */
  .nav-links.open {
    display: flex;
    box-shadow: 0 12px 24px rgba(47, 59, 71, 0.2);
  }

  .nav-links.open::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(47, 59, 71, 0.45);
  }

  .nav-links a {
    display: block;
    padding: 16px 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--sand);
  }

  .nav-links a.active,
  .nav-links a:hover {
    border-bottom: 1px solid var(--sand);
    background: var(--blue-light);
  }

  .nav {
    gap: 12px;
    padding: 0 16px;
  }

  .logo img {
    height: 48px;
  }

  .nav-right .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .prices li {
    font-size: 1rem;
  }

  .contact-note {
    padding: 24px;
  }

  .contact-buttons .btn {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
  }

  .prices h2 {
    font-size: 1.9rem;
  }

  .contact,
  .location,
  .about-inner,
  .gallery {
    grid-template-columns: 1fr;
  }

  .about-inner {
    gap: 48px;
  }

  .portrait-frame {
    max-width: 320px;
    margin: 0 auto;
  }
}
