/* === FOOTER === */
.site-footer {
  background: var(--color-white, #fff);
  padding: 2rem 0 1rem 0;
  width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  margin-top: 0;
}
.site-footer .cta-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}
.site-footer .contact-info-item {
  display: flex;
  align-items: center;
  margin: 0 1.5em 0.5em 1.5em;
  vertical-align: middle;
}
@media (max-width: 700px) {
  .site-footer .cta-contact {
    flex-direction: column;
    align-items: stretch;
  }
  .site-footer .contact-info-item {
    margin: 0.5em 0;
    justify-content: center;
  }
}

/* === COLORS === */
:root {
  --vertical-gap: clamp(1rem, 4vw, 2.5rem);
  --color-white: #ffffff;
  --color-warm: #e4e7ec;
  --color-black: #181818;
  --color-soft: #e0e0e0;
  --font-size-h1: 2.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-lg: 1.375rem;
}

/* === GLOBAL & LAYOUT === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: 1.25rem;
  color: var(--color-black);
  background: var(--color-warm);
  line-height: 1.6;
}
.content-wrapper {
  flex: 1;
  max-width: 1900px;
  margin: -1rem auto 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}

h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  margin-top: 1.0em;
}

h1 {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  font-size: var(--font-size-h1);
}

.kogstedgaard-logo-wrapper {
  margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

/* === HEADER === */
.main-header {
  width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-radius: 0 0 10px 10px;
}

.main-header-inner {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  background: var(--color-white);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
}

/* === MENU === */
.main-menu {
  display: flex;
  flex: 0 0 auto;
}

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

.main-menu ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: normal;
  vertical-align: middle;
  padding: 0.5rem 0.8rem;
  font-size: var(--font-size-lg);
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.15s;
  text-decoration: none;
  color: var(--color-black);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-menu ul li a:hover {
  background: var(--color-soft);
}

.main-menu ul li a.is-active {
  background: var(--color-soft);
}

/* === LOGO === */
.logo-center {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.logo-center a {
  display: flex;
  align-items: center;
  height: 100%;
  pointer-events: auto;
}

.logo-center img {
  display: block;
  margin: 0 auto;
  max-height: 47px;
  height: auto;
  width: auto;
}

.kogstedgaard-logo {
  width: 50%;
  max-width: 50%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* === CONTACT INFO === */
.contact-info-block {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
  flex: 0 0 auto;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 600;
  font-size: var(--font-size-lg);
}

/* === SOCIAL LINKS === */
.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  align-items: center;
  margin: 0;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
  text-decoration: none;
  flex-shrink: 0;
}

.social-links a:hover {
  background: var(--color-soft);
}

.social-links img {
  width: 24px;
  height: 24px;
}

/* === MOBILE MENU === */
.mobile-header-row {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.6rem 0.5rem;
}

.mobile-social-links {
  display: none;
}

.mobile-social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--color-soft);
  transition: background 0.15s;
  text-decoration: none;
}

.mobile-social-links a:hover {
  background: #d0d0d0;
}

.mobile-social-links img {
  width: 24px;
  height: 24px;
}

/* === VISIBILITY === */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* === CONTENT === */
.content-wrapper {
  flex: 1 0 auto;
  max-width: 1900px;
  margin: 0 auto;
  padding: 0;
  margin-top: 50px; /* Set gap below header to exactly 50px */
}
.spacer {
  flex-grow: 1;
}

/* === CARDS === */
.section-card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: clamp(1.5rem, 5vw, 2.5rem);
  /* Remove padding from carousel card so its width matches text */
  .section-card.carousel-card {
    padding: 0 !important;
  }
  margin: var(--vertical-gap) auto;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

/* === CONTACT CTA === */
.cta-contact {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  background: #d8dce6;
  border-radius: 14px;
  width: 100%;
}

.cta-contact .contact-info-item {
  font-size: 1.25rem !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.5rem !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-width: auto !important;
  max-width: none !important;
  color: var(--color-black) !important;
  font-weight: normal !important;
  padding: 0 !important;
}

.cta-contact .contact-info-item a {
  color: var(--color-black) !important;
  text-decoration: underline;
}

.cta-contact .contact-info-item a.contact-phone {
  display: flex;
  gap: 0.3rem;
}

.cta-contact .contact-info-item .phone-country {
  opacity: 0.7;
  font-weight: 500;
}

.cta-contact .contact-info-item .phone-number {
  font-weight: 600;
}

.cta-contact .contact-info-item a:hover {
  text-decoration: underline;
}

.cta-contact .contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-black);
  opacity: 0.8;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .kogstedgaard-logo {
      width: 75%;
      max-width: 75%;
    }
  .logo-center {
    display: none !important;
  }

  .main-header-inner {
    flex-direction: row;
    padding: 0.6rem clamp(0.25rem, 3vw, 1.5rem);
    gap: 0.6rem;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
  }

  .main-menu {
    width: auto;
    flex: 0 0 auto;
    order: 1;
  }

  .main-menu ul {
    gap: 0.6rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .contact-info-block {
    display: flex !important;
    gap: 0.6rem;
    align-items: center;
    margin-left: auto;
    flex: 0 0 auto;
    width: auto;
    order: 2;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: flex-end;
  }

  .contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-weight: 600;
    font-size: 1rem;
    min-width: 100%;
  }

  .contact-info-block .social-links {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.6rem;
    width: auto;
  }

  .social-links {
    display: flex !important;
    gap: 0.6rem;
    margin: 0 !important;
    flex-wrap: nowrap;
    justify-content: center;
  }

  .social-links a {
    width: 38px;
    height: 38px;
    flex: none;
  }

  .social-links img {
    width: 24px;
    height: 24px;
  }

  .mobile-social-links {
    display: none;
  }

  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-card {
    margin: var(--vertical-gap);
    padding: clamp(1rem, 4vw, 1.5rem);
    max-width: 100%;
  }
}

@media (max-width: 1400px) {
  .cta-contact {
    flex-direction: column;
  }

  .cta-contact .contact-info-item {
    flex: 0 0 auto !important;
    flex-direction: row !important;
    min-width: auto !important;
  }
}

