*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  overflow-x: hidden;
}

/* ================= HEADER / NAV ================= */
.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255,255,255,0); /* gennemsigtig over hero */
  padding: 1rem 2rem;
  transition: background-color 0.3s ease, border-bottom 0.3s ease;

  border-bottom: 1px solid rgba(255,255,255,0.3); /* tynd hvid streg */
}

/* Når man hover / tapper i header */
.site-header:hover,
.site-header:focus-within {
  background-color: #CDD0D7; /* grå header */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-bottom: 1px solid #bbb; /* lidt mørkere streg på hover */
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  position: relative;
}

/* ========== LOGO ========== */
.logo {
  position: absolute;
  left: 2rem;
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;  /* størrelse */
  width: auto;   /* bevarer proportionerne */
}

/* Som standard: vis hvidt logo */
.logo-dark {
  display: none;
}




/* ========== MENU ========== */

.main-menu {
  list-style: none;
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.main-menu li a {
  text-decoration: none;
  color: white;                /* hvid ovenpå hero */
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
/* ================= HEADER FARVER ================= */

.site-header {
  background-color: rgba(255,255,255,0); /* gennemsigtig */
  transition: background-color 0.3s ease;
}

/* Når man hover/tapper på header */
.site-header:hover,
.site-header:focus-within {
  background-color: #CDD0D7; /* den grå farve */
}

/* Tekst er altid hvid som udgangspunkt */
.logo,
.main-menu li a {
  color: white;
  transition: color 0.3s ease;
}

/* Når man hover på links → sort tekst */
.main-menu li a:hover,
.main-menu li a:focus {
  color: #0B4764;
  outline: none;
}

/* ========== DROPDOWN ========== */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 180px;
  display: none;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 50;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: flex;
}

.dropdown li a {
  padding: 0.5rem 1rem;
  color: black;
}

.dropdown li a:hover,
.dropdown li a:focus {
  background-color: #f0f0f0;
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  right: 2rem;
  top: 1.2rem;
  z-index: 150;
}

/* Standard: hvid hamburger */
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

/* Når header bliver hvid → hamburger sort */
.site-header:hover .hamburger span,
.site-header:focus-within .hamburger span {
  background-color: black;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= TRUSTPILOT ================= */

.trustpilot {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background-color: #ffffff;
}

.trustpilot p:first-of-type {
  font-weight: 600;
  font-size: 1rem;
  color: #000000;
  margin-bottom: 0.25rem;
}

.trustpilot p:nth-of-type(2) {
  font-size: 1.5rem;
  letter-spacing: 0.2rem;
  color: #000000;
  margin: 0.5rem 0;
}

.trustpilot a {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #000000;
  text-decoration: underline;
}

.trustpilot a:focus-visible {
  outline: 2px solid #0B4764;
  outline-offset: 3px;
}

/* ================= TRUSTPILOT LINK ================= */

.trustpilot-link {
  font-size: 0.9rem;
  color: #000;
}

.trustpilot-link a {
  color: #000;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.trustpilot-link a:hover,
.trustpilot-link a:focus-visible {
  color: #777;
}


/* ================= Velkomstsekstion ================= */


.welcome {
  max-width: 700px;
  margin: 2rem auto 3rem; /* lidt luft fra Trustpilot, men ikke for meget */
  padding: 0 1.5rem;
  text-align: center;
}

.welcome h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 500;
  color: #000; /* sort som du har valgt */
  margin-bottom: 1rem;
}

.welcome p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #000;
}

/* ================= WELCOME BUTTON GROUP ================= */
.welcome-buttons {
  display: flex;
  justify-content: center;
  gap: 3rem; /* mere afstand mellem knapperne */
  margin-top: 2rem;
  flex-wrap: wrap; /* sikkerhed på mindre skærme */
}

/* ================= Velkomstsektion; Knapper ================= */
.welcome-buttons .button {
  display: inline-block;
  margin-top: 1.5rem; /* luft mellem tekst og knap */
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0B4764;
  background-color: #DDD5C8;
  border: 1.5px solid #000;
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  text-decoration: none;
  cursor: pointer;

  /* drop-shadow */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* mørkere shadow */
  
  /* transitions */
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.25s, color 0.25s;
}

.welcome-buttons .button:hover {
  background-color: #0B4764;
  color: #ffffff;

  transform: translateY(-3px); /* lille løft */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35); /* mørkere og stærkere ved hover */
}

.welcome-buttons .button:focus-visible {
  outline: 3px solid #0B4764;
  outline-offset: 3px;
}



/* ================= Citat Sektion ================= */

section blockquote {
  font-family: 'Cormorant Garamond', serif; /* elegant serif font */
  font-style: italic; /* kursiv til selve citatet */
  font-weight: 500; /* lidt tykkere end normalt */
  font-size: 1.5rem; /* kan justeres */
  color: #000000; /* sort */
  text-align: center; /* centreret */
  margin: 3rem auto; /* afstand omkring citatet */
  max-width: 700px; /* begrænser linjebredden */
  line-height: 1.6; /* behagelig læsbarhed */
}

section blockquote p {
  margin: 0; /* fjerner ekstra mellemrum */
}

section blockquote footer {
  margin-top: 1rem; /* afstand mellem citat og kilden */
}

section blockquote footer cite {
  display: block;
  font-style: normal; /* ikke kursiv */
  font-weight: 400; /* almindelig vægt */
  font-size: 1rem; /* mindre end selve citatet */
  color: #000000; /* sort */
}

/* ================= Vegansk ikon ================= */

.center-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0 2.5rem;
}

.center-icon img {
  display: block;
  width: 150px;      /* ← styr størrelsen her */
  height: auto;
}


/* ================= KARUSSEL ================= */

.carousel-container {
  position: relative;
  margin: 8rem 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.carousel-track img {
  flex: 0 0 450px;
  height: 600px;
  object-fit: cover;
  scroll-snap-align: center;
  border-radius: 6px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 5;
}

.prev-btn { left: 0.5rem; }
.next-btn { right: 0.5rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; 
  height: 1px; 
  margin: -1px; 
  padding: 0; 
  overflow: hidden; 
  clip: rect(0, 0, 0, 0); 
  white-space: nowrap;
}

  


/* ================= METTE DEL ================= */

.founder-hero,
.ingredients-section {
  background-color: #ffffff;  
  padding: 6rem 2rem;
}

.founder-container,
.ingredients-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.founder-image,
.ingredients-image {
  position: relative;
}

.founder-image img,
.ingredients-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.founder-content h2,
.ingredients-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 500;
  margin: 0 0 1.8rem;
  color: #000;
}

.founder-content p,
.founder-content blockquote,
.founder-content blockquote p,
.ingredients-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
  color: #333;
}

.founder-content blockquote {
  font-style: italic;
  font-size: 1.35rem; 
  color: #222;
  margin: 0 0 1.8rem;
  padding-left: 1.5rem;
  border-left: 4px solid #0B4764;
}

.founder-content .signature {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #444;
  margin: 0 0 2.5rem;
}

.credit {
  margin-top: 3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}



/* ================= FOOTER ================= */

.site-footer {
  background-color: #f8f6f2;
  color: #000;
  font-family: 'Poppins', sans-serif;
}

.newsletter-section {
  background-color: #e8e5df;
  padding: 4.5rem 2rem 5.5rem;
  text-align: center;
}

.newsletter-inner {
  max-width: 820px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0 0 0.8rem;
  color: #000;
}

.newsletter-section p {
  font-size: 1.1rem;
  margin: 0 0 2.2rem;
  color: #333;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 540px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 260px;
  padding: 0.9rem 1.5rem;
  border: 1.5px solid #000;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: white;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #0B4764;
  box-shadow: 0 0 0 3px rgba(11, 71, 100, 0.15);
}

.newsletter-form .button {
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  background-color: #DDD5C8;
  color: #0B4764;
  border: 1.5px solid #000;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.newsletter-form .button:hover {
  background-color: #0B4764;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Hoved-footer */
.footer-main {
  padding: 5rem 2rem 3rem;
  background: #f8f6f2;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  color: #000;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.1;
}

.footer-column a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #0B4764;
}

/* Sociale ikoner (Font Awesome) */
.social-icons {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.2rem;
}

.social-icon {
  font-size: 2.1rem;
  color: #000;
  transition: color 0.25s ease, transform 0.25s ease;
}

.social-icon:hover {
  color: #0B4764;
  transform: scale(1.15);
}

/* Back to top knap */
.footer-bottom {
  text-align: center;
  padding-bottom: 2.5rem;
}

.back-to-top {
  background: #000;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.back-to-top:hover {
  background: #0B4764;
  transform: translateY(-4px);
}



/* ================= RESPONSIVITET / MOBIL ================= */
@media (max-width: 768px) {

  /* NAVBAR & HEADER */
  nav {
    justify-content: center;
  }

  .site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.2rem 1.5rem;
    background-color: transparent;
    box-shadow: none;
  }

  .site-header:hover,
  .site-header:focus-within {
    background-color: transparent;
    box-shadow: none;
  }

  /* LOGO */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    max-height: 26px;
    width: auto;
  }

  /* HAMBURGER */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 150;
  }

  .hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white !important; /* altid hvid */
    border-radius: 2px;
    transition: none;
  }

  /* MENU */
  .main-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none; /* skjult som standard */
    flex-direction: column;
    background-color: white;
    padding: 1rem 0;
    gap: 0;
    z-index: 140;
  }

  .menu-toggle:checked + .hamburger + .main-menu {
    display: flex;
  }

  .main-menu li a {
    color: black;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
  }

  .main-menu li a:hover {
    color: #777;
  }

  .has-dropdown .dropdown {
    display: none;
    flex-direction: column;
    padding-left: 1rem;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: flex;
  }

  /* Velkomst */
  .welcome {
    margin: 1.5rem auto 2.5rem;
  }

  .welcome h1 {
    font-size: 2.1rem;
  }

  .welcome p {
    font-size: 0.95rem;
  }

  /* KARUSSEL */
  .carousel-track {
    padding: 0 1rem;
    gap: 1rem;
  }

  .carousel-track img {
    width: 80vw;
    max-width: 280px;
    height: auto;
  }

  /* TYPOGRAFI MOBIL */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  button { padding: 0.5rem 1rem; }

  /* FOOTER MOBIL */
  .newsletter-form {
    flex-direction: column;
    gap: 1.2rem;
  }

  .newsletter-form input,
  .newsletter-form .button {
    width: 100%;
  }

  .newsletter-section {
    padding: 3.5rem 1.5rem 4.5rem;
  }

  .footer-main {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .social-icons {
    gap: 1.6rem;
    justify-content: center;
  }

  /* ===== HVID HAMBURGER + LOGO ===== */
  .logo-light {
    display: block !important;
  }

  .logo-dark {
    display: none !important;
  }

} /* <- slut mobil @media */

/* ================= Billeder og tekt andet format ================= */

@media (max-width: 900px) {
  .founder-container,
  .ingredients-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .founder-hero,
  .ingredients-section {
    padding: 4rem 1.5rem;
  }

  .founder-content h2,
  .ingredients-content h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 600px) {
  .founder-content h2,
  .ingredients-content h2 {
    font-size: 2.2rem;
  }
  
  .founder-content blockquote {
    font-size: 1.25rem;
  }
}
