/* =========================================================
   Vitalux – 1-op-1 herbouw van vitalux.nl
   Externe stylesheet | Maakt deel uit van een statische HTML
   ========================================================= */

* { box-sizing: border-box; }

:root {
  --orange: #e28740;
  --green: #a0ce4e;
  --body-color: #747474;
  --text-dark: #333333;
  --site-width: 1170px;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: var(--body-color);
  background: #ffffff;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--green); }

h1, h2, h3, h4 {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 300;
  color: var(--text-dark);
  margin: 0 0 20px;
}
h1 { font-size: 51px; line-height: 1.14; }
h2 { font-size: 38px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.6; }
h4 { font-size: 18px; line-height: 1.87; }

.container {
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ HEADER ============ */
.fusion-header-wrapper {
  position: sticky;
  top: 0;
  z-index: 10011;
}
.fusion-header {
  background: rgba(255,255,255,0.97);
  padding: 0 30px;
  border-bottom: 1px solid #e0dede;
}
.fusion-row-header {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
}
.fusion-logo img { display: block; }

.fusion-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fusion-main-menu > ul { display: flex; align-items: center; gap: 6px; }
.fusion-main-menu > ul > li { position: relative; }
.fusion-main-menu > ul > li > a {
  display: block;
  padding: 40px 14px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
  transition: color .2s;
}
.fusion-main-menu > ul > li > a:hover { color: var(--orange); }
.fusion-main-menu > ul > li.current-menu-item > a {
  color: var(--orange);
  border-bottom: 3px solid var(--orange);
}
/* dropdown */
.fusion-main-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #f2efef;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.fusion-main-menu > ul > li:hover .sub-menu { display: block; }
.fusion-main-menu .sub-menu li {}

.fusion-main-menu .sub-menu li a {
  display: block;
  padding: 8px 15px;
  color: #333333;
  font-size: 13px;
  border-bottom: 1px solid #dcdadb;
  white-space: nowrap;
}
.fusion-main-menu .sub-menu li a:hover { color: var(--orange); }

/* mobile toggle */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--text-dark);
}

/* ============ HERO ============ */
.hero {
  background-color: #474747;
  padding: 40px 0 55px;
  text-align: center;
}
.hero-slider {
  position: relative;
  max-width: 60%;
  margin: 0 auto 30px;
  overflow: hidden;
}
.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0;
  animation: slideFade 24s infinite;
}
.hero-slider .slide:first-child { position: relative; opacity: 0; }
.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: -4s; }
.hero-slider .slide:nth-child(3) { animation-delay: -8s; }
.hero-slider .slide:nth-child(4) { animation-delay: -12s; }
.hero-slider .slide:nth-child(5) { animation-delay: -16s; }
.hero-slider .slide:nth-child(6) { animation-delay: -20s; }
.hero-slider img { display: block; width: 100%; }

@keyframes slideFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  16%  { opacity: 1; }
  19%  { opacity: 0; }
  100% { opacity: 0; }
}

.hero h1,
.hero h2 {
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: 51px;
  line-height: 83px;
}
.hero .lead {
  color: #ffffff;
  font-size: 14px;
  max-width: 950px;
  margin: 0 auto 28px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  border: 2px solid var(--orange);
  border-radius: 2px;
  padding: 15px 36px;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color .2s, border-color .2s, transform .2s;
}
.btn:hover { color: #ffffff; opacity: .9; }
.btn-center { display: block; text-align: center; margin-top: 10px; }

/* ============ SECTIONS ============ */
.section { padding: 26px 0; }

/* About */
.about { text-align: center; }
.about img.about-img {
  display: block;
  margin: 0 auto 20px;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.3);
}
.about h2 { margin-bottom: 20px; }
.about p { max-width: 900px; margin: 0 auto 25px; }
.about .btn { margin-top: 5px; }

/* Cards grid */
.cards { display: flex; flex-wrap: wrap; gap: 4%; }
.card {
  width: 30.6666%;
  margin-bottom: 20px;
  text-align: center;
}
.card-thumb { margin-bottom: 14px; }
.card-thumb img {
  display: block;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.3);
  transition: transform .3s ease;
}
.card:hover .card-thumb img { transform: scale(1.03); }
.card h2 {
  font-size: 26px;
  margin: 10px 0 20px;
}
.card p { text-align: left; margin: 0 0 15px; }
.card .btn { margin: 5px 0 0; }

/* ============ FOOTER ============ */
.fusion-footer-widget-area {
  background-color: #363839;
  border-top: 12px solid var(--orange);
  padding: 60px 10px;
  color: #8c8989;
}
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}
.footer-cols > div { flex: 1 1 21%; min-width: 230px; }
.footer-cols h4 {
  color: #ffffff;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.footer-cols a { color: #bfbfbf; }
.footer-cols a:hover { color: var(--green); }
.footer-cols p { margin: 0 0 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols ul li { padding: 4px 0; }

.fusion-footer-copyright-area {
  background-color: #282a2b;
  border-top: 1px solid #4b4c4d;
  padding: 18px 10px 16px;
  color: #8c8989;
  font-size: 12px;
}
.copyright-row {
  max-width: var(--site-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright-row a { color: #bfbfbf; }
.copyright-row a:hover { color: #ffffff; }

/* ============ SUBPAGINA'S ============ */
.page-content {
  padding: 40px 20px 60px;
  min-height: 400px;
}
.page-content .container-post { max-width: 1000px; margin: 0 auto; }
.page-content .entry-title {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 300;
  font-size: 38px;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 18px;
}
.page-content .post {
  margin-bottom: 25px;
  color: var(--body-color);
}
.page-content .post p { margin: 0 0 15px; }
.page-content .post h3 {
  font-size: 22px;
  color: var(--text-dark);
  margin: 25px 0 12px;
}
.page-content .post ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.page-content .post ul li { margin: 0 0 6px; }
.featured-img {
  float: right;
  margin: 0 0 15px 25px;
  max-width: 45%;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
}
.content-img {
  display: block;
  margin: 0 auto 22px;
  box-shadow: 3px 3px 7px rgba(0,0,0,0.25);
}
.content-gallery { text-align: center; margin: 0 0 22px; }
.content-gallery img {
  display: inline-block;
  margin: 0 6px 8px;
  box-shadow: 3px 3px 6px rgba(0,0,0,0.25);
  vertical-align: top;
  max-height: 200px;
}
.clearfix::after { content: ""; display: table; clear: both; }

/* FAQ accordion */
.faq details {
  border: 1px solid #e0dede;
  border-radius: 3px;
  margin: 0 0 8px;
  background: #ffffff;
}
.faq summary {
  cursor: pointer;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  font-weight: bold;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-size: 18px; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details .faq-body { padding: 0 16px 14px; }

/* Notice / update callout */
.notice {
  background: #eef6fb;
  border-left: 4px solid var(--green);
  padding: 12px 16px;
  margin: 20px 0;
  color: var(--text-dark);
}

/* Contact page */
.contact-form { max-width: 640px; margin: 25px 0; }
.contact-form .field { margin: 0 0 15px; }
.contact-form label { display: block; margin: 0 0 5px; font-weight: bold; color: var(--text-dark); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d2d2d2;
  border-radius: 3px;
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .fusion-row-header { flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: block; }
  .fusion-main-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #ffffff;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
  }
  .fusion-main-menu.open { display: block; }
  .fusion-main-menu > ul { flex-direction: column; align-items: stretch; padding: 10px; }
  .fusion-main-menu > ul > li > a { padding: 12px 14px; border: none; }
  .fusion-main-menu .sub-menu { position: static; box-shadow: none; display: none; }
  .fusion-main-menu > ul > li:hover .sub-menu { display: none; }
  .fusion-main-menu > ul > li.open .sub-menu { display: block; }
  .hero-slider { max-width: 85%; }
  .card { width: 47%; }
}
@media (max-width: 640px) {
  h1, .hero h1, .hero h2 { font-size: 32px; line-height: 1.3; }
  .hero-slider { max-width: 100%; }
  .card { width: 100%; }
  .footer-cols > div { flex: 1 1 100%; }
}
