/* ========= RESET ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
section {
  padding: 100px 8%;
}

/* ========= TOKENS ========= */
:root {
  /* Palette pulled from the workshop itself: warm beige from the cabin
     interior, deep charcoal from the trim, a deep red from the lacquer,
     and a purple/pink from the polishing pad as the signature highlight */
  --bg: #faf6ef;
  --bg-alt: #1a0d20;
  --surface: #ffffff;
  --surface-border: #dfcba7;

  --navy: #1d1719;
  --navy-2: #2b2224;
  --bronze: #8c2331;
  --bronze-light: #b23a48;
  --gold-line: #9b4f96;
  --gold-line-light: #c773c0;

  --text: #221c1d;
  --muted: #6b5f56;
  --muted-light: #9c8f83;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px rgba(29, 23, 25, 0.1);
  --shadow-hover: 0 24px 55px rgba(29, 23, 25, 0.16);

  --font-display: "Manrope", "Inter", Arial, sans-serif;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* ========= NAV ========= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1d1719e0;
  backdrop-filter: blur(10px);
  z-index: 999;
  /* border-bottom: 0px solid rgba(255, 255, 255, 0.5); */
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8%;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 34px;
}
.nav-links a {
  color: white;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.25s ease;
}
.nav-links a:hover {
  color: var(--bronze);
}
.nav-links a:hover::after {
  width: 100%;
}

.btn-nav,
.btn-primary,
.btn-secondary,
button {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: 0.25s ease;
  cursor: pointer;
  display: inline-block;
  border: none;
}
.btn-nav,
.btn-primary,
button {
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: #fdf1e7;
  box-shadow: 0 10px 25px rgba(140, 35, 49, 0.35);
}
.btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}
.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn-nav:hover,
.btn-primary:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(140, 35, 49, 0.45);
}

/* ========= HERO ========= */
.hero {
  height: 100vh;
  background:
    linear-gradient(120deg, rgba(29, 23, 25, 0.92), rgba(29, 23, 25, 0.74)),
    url("/img/bg1.png") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8%;
  position: relative;
  overflow: hidden;
}
/* signature "shine sweep" — a soft diagonal highlight, like light catching a
   polishing pad as it passes across the paint */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    75deg,
    transparent 35%,
    rgba(155, 79, 150, 0.22) 48%,
    rgba(178, 58, 72, 0.08) 55%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-content {
  max-width: 850px;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(199, 115, 192, 0.16);
  border: 1px solid rgba(199, 115, 192, 0.5);
  border-radius: 999px;
  color: var(--gold-line-light);
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}
.hero h1 span {
  color: var(--bronze-light);
}
.hero p {
  color: #d8dbe2;
  max-width: 700px;
  margin: 0 auto 35px;
  font-size: 1.1rem;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========= TRUST ========= */
.trust {
  display: flex;
  flex-wrap: wrap;
  background: var(--bg-alt);
  padding: 70px 8%;
}

.trust-box {
  flex: 1 1 200px;
  padding: 0 30px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.trust-box:last-child {
  border-right: none;
}

.trust-box h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trust-box p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========= TITLES ========= */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title span {
  color: var(--bronze);
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 700;
}
.section-title h2 {
  font-size: 2.4rem;
  margin-top: 10px;
}

.h2_reviews h2 {
  color: white;
}

/* ========= SERVICES ========= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.35s ease;
  box-shadow: var(--shadow);

  /* nyt: gør det muligt at skubbe linket ned i bunden */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-line);
}
.card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.card-content {
  padding: 25px;

  /* nyt */
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-content h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.15rem;
}
.card-content p {
  color: var(--muted);
}

.grid-links {
  margin-top: auto;
  padding-top: 16px;
}
.grid-links a {
  color: var(--bronze);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
}
.grid-links a:hover {
  color: var(--bronze-light);
  text-decoration: underline;
}

/* ========= ABOUT ========= */
.about {
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-text span {
  color: var(--bronze);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.about-text h2 {
  margin: 10px 0 18px;
  font-size: 2.2rem;
  color: white;
}

.about-text h3 {
  margin: 30px 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--bronze);
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.about-text a {
  color: white;
  text-decoration: none;
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
}
.about img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 350px;
  margin: 0 auto;
}
.about ul {
  margin: 25px 0 35px 0;
  list-style: none;
}
.about li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.about-image {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 2px solid var(--gold-line);
  border-radius: var(--radius);
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.about-badge {
  position: absolute;
  bottom: -25px;
  left: -25px;
  z-index: 2;
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: #fdf1e7;
  padding: 20px 26px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  text-align: center;
  white-space: nowrap;
}

.about-badge span {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  color: rgba(253, 241, 231, 0.85);
}

.about-image-text h4 {
  color: var(--bronze);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-image-text p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========= BEFORE / GALLERY ========= */
.before-after {
  background: var(--bg);
}
.before-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.before-grid img,
.gallery-grid img {
  border-radius: var(--radius);
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}
.gallery-grid img:hover,
.before-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* ========= REVIEWS ========= */
.reviews {
  background: var(--bg-alt);
}
.review-score {
  margin: 30px auto 50px;
  text-align: center;
}
.review-score .stars,
.review-stars {
  color: var(--bronze);
  font-size: 24px;
  letter-spacing: 3px;
}
.review-score h3 {
  color: white;
  font-size: 34px;
  margin: 10px 0;
}
.review-score p {
  color: rgba(255, 255, 255, 0.5);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  padding: 30px;
  border-radius: var(--radius);
  text-align: left;
  transition: 0.3s ease;
  box-shadow: var(--shadow);
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.review h4 {
  margin: 15px 0;
  color: black;
  font-size: 1.1rem;
}
.review p {
  margin: 18px 0;
  color: rgb(128, 128, 128);
}
.review strong {
  display: block;
  margin-top: 20px;
  color: var(--navy);
  font-weight: 700;
}
.reviews-button {
  text-align: center;
  margin: 50px 0 70px;
}

/* ========= LOGO SLIDER ========= */
.logo-slider {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  padding: 50px 0;
  margin-top: 80px;
  border-radius: 20px;
  border: 1px solid var(--surface-border);
}
.logo-slider h3 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 35px;
  font-size: 26px;
  font-weight: 700;
}
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
}
.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--surface), transparent);
}
.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--surface), transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logos 30s linear infinite;
}
.logo-slider:hover .logo-track {
  animation-play-state: paused;
}
.logo-track img {
  height: 55px;
  margin: 0 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: 0.35s ease;
}
.logo-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.08);
}

/* ========= CONTACT ========= */
.contact {
  background: var(--bg);
}
.contact-box {
  background: var(--navy);
  background-image: linear-gradient(135deg, var(--navy), var(--navy-2));
  padding: 55px;
  border-radius: var(--radius);
  max-width: 900px;
  margin: auto;
  box-shadow: var(--shadow);
}
.contact-box span {
  color: var(--bronze-light);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.9rem;
}
.contact-box h2 {
  color: #fff;
  margin-top: 10px;
}
form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}
input,
textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  font: inherit;
}
input::placeholder,
textarea::placeholder {
  color: #aab0bd;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--bronze-light);
  background: rgba(255, 255, 255, 0.1);
}
textarea {
  min-height: 160px;
  resize: vertical;
}
form button {
  justify-self: start;
}

/* ========= FOOTER ========= */
.footer {
  background: var(--navy);
  padding: 70px 8% 30px;
  color: #fff;
}
.footer-column h3 {
  color: var(--bronze-light);
  margin-bottom: 20px;
  font-size: 20px;
}
.footer-column h3 span {
  font-weight: 300;
  color: #fff;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 60px;
}
.footer-column p {
  color: #b7bcc7;
  line-height: 1.8;
  margin-bottom: 12px;
}
.footer-column a {
  display: block;
  color: #b7bcc7;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s ease;
}
.footer-column a:hover {
  color: var(--bronze-light);
  padding-left: 5px;
}
.footer-cert {
  width: 90px;
  margin: 15px 0 25px;
  border-radius: 6px;
}
.trustpilot-logo {
  width: 45px;
  margin-top: 10px;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8b90a0;
}

@keyframes logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ========= MOBILE NAV ========= */
.mobile-menu-toggle,
.mobile-nav {
  display: none;
}

/* ========= MOBILE ========= */
@media (max-width: 900px) {
  .navbar {
    position: relative;
    padding: 12px 6%;
  }

  .navbar .h-14 {
    max-width: 115px;
    margin-bottom: 0;
  }

  .nav-links,
  .navbar > .btn-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    box-shadow: none;
  }

  .mobile-menu-toggle:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .mobile-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px 6% 16px;
    background: rgba(29, 23, 25, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav a {
    color: #fff;
    font-weight: 500;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-nav a:hover {
    color: var(--bronze-light);
  }

  .mobile-nav a:last-child {
    border-bottom: none;
  }

  .mobile-nav .mobile-nav-book {
    margin-top: 10px;
    padding: 13px 20px;
    text-align: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
    color: #fdf1e7;
    box-shadow: 0 10px 25px rgba(140, 35, 49, 0.35);
  }

  .mobile-nav .mobile-nav-book:hover {
    color: #fdf1e7;
  }

  .about {
    grid-template-columns: 1fr;
  }
  .trust-box {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
  }
  .about-image::before {
    display: none;
  }
  .about-badge {
    left: 16px;
    bottom: -20px;
    padding: 14px 18px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 6%;
  }
  .trust-box {
    flex: 1 1 100%;
  }
  .hero {
    height: 90vh;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .contact-box {
    padding: 30px;
  }
}
