/* =========================================================
   reinaldgerritsen.nl — custom.css
   Focus: Diensten cards + button + veilige spacing voor modules
   (zonder header/nav te beïnvloeden)
========================================================= */

/* ==========================================
   Typografie – Ubuntu als standaard font
   Plaatsen: helemaal bovenaan custom.css
   ========================================== */

/* 1. Ubuntu laden */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

/* 2. Basis lettertype voor hele site */
body {
  font-family: 'Ubuntu', sans-serif !important;
  font-weight: 400;
  line-height: 1.7;
}

/* 3. Koppen expliciet overschrijven (Quark override) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif !important;
  font-weight: 700;
}

/* 4. Navigatie iets medium gewicht */
.navbar a {
  font-family: 'Ubuntu', sans-serif !important;
  font-weight: 500;
}

/* 5. Hero titel iets eleganter */
.modular-hero h1 {
  font-family: 'Ubuntu', sans-serif !important;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* ================================
   CTA Button (gebruik in content)
   <a class="rg-btn" href="/...">...</a>
================================== */
a.rg-btn,
.rg-btn {
  display: inline-block;
  padding: 18px 36px;
  background-color: #d1b84a; /* huidige geel */
  color: #000;
  font-weight: 700;
  text-decoration: none !important; /* nooit underline */
  border-radius: 10px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a.rg-btn:hover,
a.rg-btn:focus,
.rg-btn:hover,
.rg-btn:focus {
  background-color: #b89f35; /* donkerder */
  color: #fff;
  text-decoration: none !important; /* nooit underline */
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

a.rg-btn:active,
.rg-btn:active {
  transform: translateY(1px);
}

/* ==========================================
   Diensten Cards (Quark Features output)
   Quark Features rendert meestal .services met .service-card
   (zoals jij nu hebt)
========================================== */
#diensten + section .services {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

#diensten + section .service-card {
  flex: 1;
  background: #f5f5f5;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#diensten + section .service-card a {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

#diensten + section .service-card img {
  max-width: 180px;
  height: auto;
  margin: 0 auto 25px;
  display: block;
}

#diensten + section .service-card h3 {
  margin: 0 0 15px;
  font-size: 1.4rem;
}

#diensten + section .service-card p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Hover */
#diensten + section .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Responsive */
@media (max-width: 900px) {
  #diensten + section .services {
    flex-direction: column;
    gap: 24px;
  }

  #diensten + section .service-card {
    padding: 34px 24px;
  }
}

/* =========================================
   Spacing tussen modules: simpele aanpak
   ========================================= */

/* 1) Verklein witruimte voor alle sections */
.section {
  padding: 35px 0 !important;   /* pas aan: 16–40 */
}

/* 2) Header / footer / hero niet mee veranderen */
#header.section,
#footer.section,
.section.modular-hero {
  padding: 0 !important;
}

/* ==============================
   Header / Navigatie donker maken
   ============================== */

#header.section {
  background-color: #2f4154 !important; /* jouw donkerblauw */
}

/* Menu links wit */
#header a {
  color: #ffffff !important;
}

/* Menu hover */
#header a:hover {
  opacity: 0.8;
}

/* Logo + slogan */
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Logo hoogte overrulen van Quark */
#header .navbar-brand img {
  height: 48px !important;
  max-height: none !important;
  width: auto;
}

.brand-tagline {
  font-weight: 300;
  font-size: 15px;
  color: #ffffff;
  letter-spacing: 1px;
  opacity: 0.85;
  position: relative;
  top: 6px;   /* kleine correctie */
  margin-left: 28px;   /* was 18px? probeer 24–40px */
}

@media (max-width: 900px) {
  .brand-tagline {
    display: none;
  }
}

/* ==============================
   Footer (Reinald)
   ============================== */

.rg-footer {
  background: #2f4153;
  color: #fff;
}

.rg-footer a {
  color: #fff;
  text-decoration: none;
}

.rg-footer a:hover {
  text-decoration: underline;
}

/* top */
.rg-footer__top {
  display: flex;
  gap: 60px;
  padding: 50px 0 30px;
}

.rg-footer__col {
  flex: 1;
  min-width: 220px;
  text-align: left;
}

.rg-footer__col h4 {
  margin: 0 0 14px 0;
  color: #2ec4a6;
  font-weight: 800;
}

.rg-footer__col p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.95;
}

/* social */
.rg-footer__social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.rg-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
}

.rg-footer__social a:hover {
  background: rgba(255,255,255,0.18);
  text-decoration: none;
}

.rg-footer__social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  display: block;
}

/* bottom */
.rg-footer__bottom {
  padding: 18px 0 40px;
  text-align: center;
  margin-top: 40px;
}

.rg-footer__copyright {
  margin-bottom: 12px;
  opacity: 0.95;
}

.rg-footer__links a {
  opacity: 0.95;
}

.rg-footer__sep {
  margin: 0 10px;
  opacity: 0.7;
}

/* responsive */
@media (max-width: 900px) {
  .rg-footer__top {
    flex-direction: column;
    gap: 28px;
  }
}

/* ==============================
   Footer – mobiel minder zijpadding
   ============================== */

@media (max-width: 768px) {

  .rg-footer .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .rg-footer__top {
    padding-top: 40px;
  }

}

/* ==============================
   Hamburger (mobile overlay) groen
   ============================== */

#toggle span,
.mobile-menu #toggle span,
.mobile-menu .button_container span {
  background: #2ec4a6 !important;
}

/* Hover */
#toggle:hover span,
.mobile-menu #toggle:hover span,
.mobile-menu .button_container:hover span {
  background: #25a88f !important;
}

/* Als de hamburger met pseudo-elements is opgebouwd */
#toggle::before,
#toggle::after,
.mobile-menu #toggle::before,
.mobile-menu #toggle::after,
.mobile-menu .button_container::before,
.mobile-menu .button_container::after {
  background: #2ec4a6 !important;
}

#toggle:hover::before,
#toggle:hover::after,
.mobile-menu #toggle:hover::before,
.mobile-menu #toggle:hover::after,
.mobile-menu .button_container:hover::before,
.mobile-menu .button_container:hover::after {
  background: #25a88f !important;
}

