/* ==========================================================================
   Wilbert Trading BV - Huisstijl & Custom Formatting (Joomla 6.1)
   ========================================================================== */

/* 1. Huisstijl Variabelen (Containers & Maritiem Thema) */
:root {
  --wt-primary: #ff0000;       /* Diep container-blauw #0a2540*/
  --wt-secondary: #0077b6;     /* Helderblauw voor accenten */
  --wt-accent: #ffff00;       /* Industrieel oranje (Call-to-Action)#f77f00 */
  --wt-dark: #1d2d44;          /* Donkere achtergrond/footer */
  --wt-light: #f8f9fa;         /* Lichte achtergrond */
  --wt-text: #2b2d42;          /* Primaire tekstkleur */
}

/* 2. Algemene Typografie & Basis */
body {
  color: var(--wt-text);
  background-color: var(--wt-light);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* 3. Header & Logo Optimalisatie */
.header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--wt-secondary);
  padding: 1rem 0;
}

.navbar-brand img {
  max-height: 70px; /* Zorgt dat het logo van Wilbert Trading altijd strak schaalt */
  width: auto;
}

/* 4. Navigatiemenu Styling */
.mod-menu a {
  color: var(--wt-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}

.mod-menu a:hover,
.mod-menu .active a {
  color: var(--wt-accent) !important;
  border-bottom: 2px solid var(--wt-accent);
}

/* 5. Sociale Media Knoppen (Header/Top-bar) */
.wt-social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.wt-social-icons a {
  color: var(--wt-primary);
  background: #e9ecef;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.wt-social-icons a:hover {
  background: var(--wt-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 6. Footer met Bedrijfsgegevens */
.footer {
  background-color: var(--wt-dark);
  color: #ffffff;
  padding: 3rem 0 1.5rem 0;
  margin-top: 4rem;
}

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

.footer a:hover {
  color: var(--wt-accent);
}

.footer-company-info h4 {
  color: var(--wt-accent);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* 7. Call-to-Action Knoppen (bv. "Offerte Aanvragen") */
.btn-wt-primary {
  background-color: var(--wt-accent);
  color: #ffffff !important;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-wt-primary:hover {
  background-color: #d66c00;
}

/* 1. Zorg dat de header-container relatief geschaald blijft op zijn originele plek */
.container-header,
.header-wrapper,
.navbar {
  background-color: #000000 !important;
}

/* {  position: relative; } */

/* 2. Plaats de social icons rechts binnen de header zonder het logo te beïnvloeden */
.wt-social-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex !important;
  gap: 12px;
  align-items: center;
  z-index: 10;
}

/* Op mobiele schermen netjes onder het logo of verbergen */
@media (max-width: 768px) {
  .wt-social-icons {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 10px;
  }
}

/* Dwing tekst in SP Page Builder editor-velden en addons naar zwart */
.sp-pagebuilder-admin,
.sppb-inputs-wrapper input,
.sppb-inputs-wrapper textarea,
.sppb-inputs-wrapper select,
.sp-pagebuilder-builder-wrapper {
  color: #000000 !important;
}

/* Zorg dat labels en titels in het bewerkingsscherm zwart zijn */
.sppb-form-group label,
.sppb-editor-sidebar {
  color: #000000 !important;
}

/* Footer 4-koloms Flexbox / Grid Layout */
.footer-wrapper,
footer.footer,
.site-footer {
  background-color: #0a2540; /* Diep container-blauw van Wilbert Trading */
  color: #ffffff;
  padding: 40px 0 20px 0;
}

/* Automatisch 4 gelijke kolommen binnen de container */
.footer-wrapper .container,
.footer-container {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 30px;
}

/* Witte koppen in de footer */
.footer-wrapper h3,
.footer-wrapper .mod-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #f77f00; /* Industrieel oranje accentstreep */
  padding-bottom: 8px;
  display: inline-block;
}

/* Links in de footer styling */
.footer-wrapper a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-wrapper a:hover {
  color: #f77f00; /* Oranje bij hover */
}

/* Responsief: op mobiel (schermen onder 768px) alles onder elkaar */
@media (max-width: 768px) {
  .footer-wrapper .container,
  .footer-container {
    grid-template-columns: 1fr !important;
  }
}

