@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* Basislayout */
body {
  font-family: 'Inter', sans-serif;
  background-color: #F5F5ED;
  color: #333333;
}

/* Links */
a {
  color: #4DA1C0;
}

/* Knapper */
.button-primary,
.btn-primary {
  background-color: #2E5940;
  color: white;
  border: none;
  padding: 0.6em 1.2em;
  border-radius: 4px;
  text-decoration: none;
}

/* Sekundær baggrund fx bokse */
.section-box {
  background-color: #ffffff;
  border: 1px solid #ccc;
  padding: 1em;
  margin: 1em 0;
}
/* HERO SEKTION – FULDBREDDE OG SYNLIG KNAP */
.hero {
  background-image: url(https://codk.dk/media/1642/camping-north-jutland-denmark_-kjetil-loeite.jpg);
  background-size: cover;
  background-position: center;
  padding: 100px 20px 60px 20px; /* Top, Right, Bottom, Left */
  text-align: center;
  color: white;
  position: relative;
  margin: 0;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

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

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.hero-btn {
  background-color: #2E5940;
  color: white;
  padding: 0.8em 1.6em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
}

.hero-btn:hover {
  background-color: #3d7254;
}

/* INTRO-SEKTION MED MINDRE AFSTAND */
.intro-section {
  padding: 40px 20px 60px 20px;
  background-color: #ffffff;
  color: #333;
  text-align: center;
  margin-top: 0;
}

.intro-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.intro-section p {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto 1.2rem auto;
  line-height: 1.6;
}
/* FORDELSSEKTION UDEN IKONER */
.benefits-section {
  padding: 60px 20px;
  background-color: #F5F5ED;
  color: #333;
}

.benefits-section h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 600;
}

.benefit-box {
  background-color: #ffffff;
  padding: 30px 20px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.benefit-box:hover {
  transform: translateY(-5px);
}

.benefit-box h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.benefit-box p {
  font-size: 1rem;
  line-height: 1.5;
}
.newsTitle {
  font-family: 'Inter', sans-serif !important;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/* NYHEDSSEKTION - afstand og font */
.news-section {
  margin-top: 60px; /* NYT: afstand til fordelssektionen */
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333;
}

.news-section h2.newsTitle {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
}

.news-section .input-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.news-section input.form-control {
  font-size: 1rem;
  padding: 0.6em 1em;
  border-radius: 4px 0 0 4px;
  border: 1px solid #ccc;
  flex: 1;
}

.news-section button.btn {
  border-radius: 0 4px 4px 0;
  padding: 0.6em 1em;
  border: 1px solid #ccc;
  background-color: #ffffff;
}

.news-section button.btn img {
  height: 20px;
}
.newsOverviewItem {
  background-color: #F5F5ED; /* Lys neutral baggrund */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Blød skygge */
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.2s ease;
}

.newsOverviewItem:hover {
  transform: translateY(-3px); /* Løft-effekt ved hover */
}
/* Ændrer hele footerens baggrund til grøn */
footer.background-color-4 {
  background-color: #2E5940 !important;
  color: #ffffff;
}

/* Gør kontaktoplysningerne i venstre kolonne hvide */
.footerCompanyName,
.footerAddress,
.footerPhone a,
.footerMail a {
  color: #ffffff !important;
}

/* Sikrer at tekst i boksene forbliver mørk, selvom baggrunden er hvid */
.footer-box,
.box-right {
  background-color: #ffffff;
  color: #333333 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
}

/* Titel og brødtekst i bokse – mørk tekst */
.footerBox-title,
.footerBox-text,
.footer-linkbox span,
.box-right .footerBox-title,
.box-right .footerBox-text,
.box-right span {
  color: #333333 !important;
}

/* Hover-effekt på bokse */
.footer-box:hover,
.box-right:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}
.box-right {
  max-height: 280px; /* justér tallet til den ønskede højde */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border-radius: 8px;
}

