/* ==========================================================
   1. Fonts & Global Browser Behavior
   ========================================================== */

html {
  scroll-behavior: smooth;
}

/* ==========================================================
   2. Design Tokens (CSS Variables)
   ========================================================== */

:root {
  --primary-color: #f39200;
  --link-color: #f39200;
  --hover-color: #cc7500;
}

/* ==========================================================
   3. Global Document Styling
   ========================================================== */

body,
.site {
  line-height: 1.65;
  color: #f2f2f2;
  background-color: #202020;
  background-image: linear-gradient(
    180deg,
    #222 0%,
    #202020 40%,
    #202020 100%
  );
}

.error_site .card,
.error_site .card-body {
    color: var(--bs-body-color);
}

/* ==========================================================
   4. Layout Containers
   ========================================================== */

.container-header {
  position: relative;
  z-index: 10;
  margin-bottom: 0;
  background-color: #1a1a1a;
  background-image: linear-gradient(to right, #2D343C 0%, #000000 100%);
}

.container-footer {
  position: relative;
 z-index: 10;
  margin-bottom: 0;
  margin-top: 0;
  background-color: #1a1a1a;
  background-image: linear-gradient(to right, #2D343C 0%, #000000 100%);
}

.container-topbar {
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-top: 24px !important;
}

.banner-wrapper {
  min-height: 500px;
  max-width: 1200px;
}

.n2-section-smartslider {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* ==========================================================
   5. Navigation & Menus
   ========================================================== */

.container-header .navbar-brand img {
  width: 365px;
}

.container-header .mod-menu .parent > ul {
  color: #f2f2f2;
}

.metismenu.mod-menu .metismenu-item > ul {
  background-color: #333333;
  color: #f2f2f2;
}

.metismenu.mod-menu .mm-collapse {
  background-color: #333333;
  color: #f2f2f2;
}

.metismenu.mod-menu .mm-toggler {
  color: #f39200;
}

.metismenu.mod-menu .metismenu-item > ul li a:hover {
  color: #f39200;
}

/* ==========================================================
   6. Cards & Content Components
   ========================================================== */

.card {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.card-body {
  border: none !important;
  background-color: #2a2a2a;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.5rem;
}

.card-body:hover {
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.12),
    0 0 10px rgba(0, 0, 0, 0.4);
}

/* ==========================================================
   7. Headings – refined scale & brand color
   ========================================================== */

h1,
h2,
h3 {
  color: #f39200;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.05rem;
}

h6 {
  font-size: 0.95rem;
}


a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

a:focus,
.btn:focus {
  outline: 2px dashed var(--primary-color);
  outline-offset: 2px;
}

/* ==========================================================
   8. Headings – mobile refinement
   ========================================================== */

@media (max-width: 768px) {

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  h5 {
    font-size: 1rem;
  }

  h6 {
    font-size: 0.9rem;
  }

}

/* ==========================================================
   9. Buttons & UI Controls
   ========================================================== */

.btn.btn-primary,
.btn.btn-secondary,
.readmore .btn {
  background: var(--primary-color);
}

/* Blog – Read More refinement */

.readmore .btn {
  background: var(--primary-color);
  border: none;
  border-radius: 2px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  box-shadow: none;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.readmore .btn::after {
  content: " →";
  opacity: 0.7;
}

.readmore .btn:hover {
  opacity: 0.85;
}

#back-top,
.back-to-top-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background-color: #1a1a1a !important;
  color: var(--primary-color) !important;
  border: none;
  padding: 12px 16px;
  border-radius: 4px;

  font-size: 18px;
  line-height: 1;

  transition: background-color 0.3s ease;
}

/* Hover state */
#back-top:hover,
.back-to-top-link:hover {
  background-color: var(--hover-color) !important;
}

/* Arrow icon (Font Awesome replacement) */
#back-top::before,
.back-to-top-link::before {
  content: "↑";
  font-size: 22px;
  line-height: 1;
}

/* ==========================================================
   10. Topbar & Language Switcher
   ========================================================== */

.topbar-inline {
  font-size: 0;
  text-align: right;
  margin: 0;
  padding-right: 20px;
  padding-left: 20px;
}

.topbar-inline img {
  margin-left: 10px;
  vertical-align: middle;
}

.mod-languages {
  text-align: right;
}

.mod-languages img {
  width: 18px;
  height: 12px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================
   11. Homepage Elements & Animations
   ========================================================== */

.home-intro {
  text-align: center;
}

.home-tagline {
  font-size: 1.1rem;
  color: #f29102;
  margin-bottom: 1.5rem;
}

.home-quote {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 10px 0 35px;
  color: #f2f2f2;
}

.intro-cta {
  text-align: center;
  margin-top: 2rem;
}

.intro-cta .btn {
  background-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intro-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.header-google-rating {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: 0.3s;
  margin-right: 20px;
  font-size: 0.85rem;
  color: #e0e0e0;
  letter-spacing: 0.04em;
  opacity: 0.85;
  vertical-align: middle;
}

.header-google-rating:hover {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   12. Alerts, Tables & Misc
   ========================================================== */

.alert {
  background-color: #333333;
  color: #f39200;
}

.com-contact .alert-wrapper {
  background-color: #333 !important;
  border: 2px solid #ffcc00 !important;
  font-size: 1.2em !important;
  padding: 20px !important;
  border-radius: 8px !important;
}

.com-contact .alert-wrapper * {
  color: #f2f2f2 !important;
}

.breadcrumb > .active,
.breadcrumb > .active a {
  color: #f39200;
}

th {
  text-align: inherit !important;
}

.float-center.item-image {
  text-align: center;
  margin-top: 0;
  padding-top: 0;
}

.es-nav-button {
  display: inline-grid;
}

/* ==========================================================
   13. Styled Rates Table
   ========================================================== */

.rates-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  table-layout: fixed;
}

.rates-table th,
.rates-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #444;
  text-align: left;
  vertical-align: top;
}

/* ==========================================================
   14. Rates Table Column Alignment
   ========================================================== */

.rates-table th:nth-child(1),
.rates-table td:nth-child(1) {
  width: 60%;
}

.rates-table th:nth-child(2),
.rates-table td:nth-child(2) {
  width: 20%;
}

.rates-table th:nth-child(3),
.rates-table td:nth-child(3) {
  width: 20%;
}

.rates-table th {
  color: #f39200;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rates-table td {
  color: #f2f2f2;
  font-size: 1rem;
}

/* ==========================================================
   15. Rates FAQ
   ========================================================== */

.rates-faq p {
  margin-bottom: 1.2rem;
  max-width: 65ch;
}

.rates-faq strong {
  color: #f39200;
}

/* ==========================================================
   16. Search Module - Improve Contrast (DISABLED)
   ========================================================== */
/*
.search-module button,
.search-module .btn {
  color: #1a1a1a;
}
*/

/* ==========================================================
   17. Active Language Button
   ========================================================== */

div.mod-languages ul li.lang-active {
  background: none;
}

div.mod-languages ul li.lang-active a {
  border-bottom: 2px solid #f39200;
  padding-bottom: 2px;
}

/* ==========================================================
   18. Footer - Latest Blogposts
   ========================================================== */

footer .mod-articleslatest ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .mod-articleslatest li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
}

footer .mod-articleslatest li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .mod-articleslatest a {
  display: block;
  font-weight: 500;
  line-height: 1.4;
  color: #f2f2f2;
  text-decoration: none;
}

footer .mod-articleslatest a::before {
  content: "›";
  margin-right: 0.4rem;
  opacity: 0.6;
}

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

/* ==========================================================
   19. Informational articles (FAQ, About, Privacy, Terms)
   ========================================================== */

article h3 {
  position: relative;
  padding-left: 1.6rem;
  margin-top: 2rem;
  font-weight: 600;
}

article h3::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #999;
}

article p {
  line-height: 1.6;
  margin-top: 0.5rem;
}

article ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
}

article li {
  margin-bottom: 0.4rem;
}

/* ==========================================================
   20. Contact Form Legend Styling
   ========================================================== */

.contact-form legend {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* ==========================================================
   21. Copyright Footer Adjustment
   ========================================================== */

.mod-footer {
  background-image: linear-gradient(to right, #2D343C 0%, #000000 100%);
  background-color: #2D343C; /* fallback */
  padding: 1rem 0;
  margin-top: -1px; /* removes seam between footers */
}

.mod-footer .footer1 {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

.mod-footer .footer2 {
    display: none !important;
}

/* ==========================================================
   22. Brand Logo Animation
   ========================================================== */

.navbar-brand {
  opacity: 0;
  transform: translateY(-4px);
  animation: brandReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes brandReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   23. Value Logo's Animation
   ========================================================== */

.value-logo {
  opacity: 0;
  transform: translateY(10px);
  transition:
   opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1),
   transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  transition-delay: var(--delay, 0s);
}

.value-logo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   24. AcyMailing Newsletter subscribe module
   ========================================================== */

.footer-subscribe-title {
  color: #f39200;
  margin-bottom: 0.75rem;
}

/* ==========================================================
   25. Contact menu details module
   ========================================================== */

/* The whole block: force consistent left alignment and readable light text */
.contact-details-block{
  text-align: left;
  color: #f1f1f1;          /* the “rest light” you want */
  max-width: none;          /* removes odd centering/column effects */
}

/* Only the header orange */
.contact-details-title{
  color: #f39200;
  margin: 0 0 1rem 0;
}

/* Normalize paragraph spacing so rows align nicely */
.contact-details-location,
.contact-details-item{
  margin: 0 0 .75rem 0;
}

/* Make all links light (stop orange/green bleed except where you explicitly set it) */
.contact-details-block a{
  color: #f1f1f1;
  text-decoration: none;
}
.contact-details-block a:hover{
  text-decoration: underline;
}

/* WhatsApp row: align icon + text baseline, no weird offsets */
.contact-details-whatsapp{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  line-height: 1.2;
}
.contact-details-whatsapp img{
  display: block;
  width: 22px;
  height: 22px;
}

/* Hosted by: make it visible on dark backgrounds */
.contact-details-hosting{
  margin-top: 1.5rem;
  font-size: .8rem;
  color: #cfcfcf;          /* visible, but de-emphasized */
  opacity: 1;              /* important: don’t let it fade to invisible */
}
.contact-details-hosting img{
  display: inline-block;
  margin-top: .35rem;
  vertical-align: middle;
}

/* ==========================================================
   26. Client Delivery Pages
   ========================================================== */

/* --- Delivery title H1 header --- */
.delivery-title {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: #f39200;
  text-align: center;
}

/* --- Overall container for client delivery pages --- */
.client-delivery {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #ccc;
}

/* --- Header section (project info) --- */
.client-header {
  margin-bottom: 3rem;
  text-align: center;
}

.client-header h2 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: #eee;
}

/* --- Main delivery block (matches frontpage module surface) --- */
.delivery-block {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: 4px;
  margin-bottom: 3rem;

  /* Static depth — no movement */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* --- “Laatste levering” label --- */
.latest-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #aaa;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* --- Section headings inside delivery block --- */
.delivery-block h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #ddd;
}

/* --- Audio preview section --- */
.audio-preview {
  margin: 1.5rem 0;
}

.audio-preview audio {
  width: 100%;
}

/* --- Downloads list --- */
.downloads ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.downloads li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.downloads li span {
  color: #999;
  font-size: 0.9em;
}

/* --- Download button (brand accent + subtle motion) --- */
.download-button {
  background-color: #f39200;
  color: #111;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* --- Feedback section --- */
.feedback {
  margin-top: 2rem;
  font-size: 0.95em;
  color: #aaa;
}

/* --- Revision history (inside delivery block) --- */
.revision-log {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2.5rem;
}

.revision-log h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #ddd;
}

.revision-log ul {
  padding-left: 1rem;
}

/* ==========================================================
   27. Global Brand Buttons – Accessible Text Color
   ========================================================== */

.btn,
.button,
a.button,
.readmore .btn,
input[type="submit"],
input[type="button"],
button {
  color: #111;
}

.btn:hover,
.btn:focus {
  background-color: var(--primary-color);
  text-decoration: none;
}

/* ==========================================================
   28. Login section Refinements
   ========================================================== */

/* Password hidden (default) */
.icon-eye::before {
  content: "👁";
  font-size: 20px;
  line-height: 1;
  color: #ffffff !important;
}

/* Password visible (eye with slash) */
.icon-eye-slash::before {
  content: "🙈"; /* or choose another symbol */
  font-size: 20px;
  line-height: 1;
  color: #ffffff !important;
}

/* Remove white block and restyle login recovery links */
.list-group {
  background: none;
  padding: 0;
  margin: 10px 0;
  border: none;
  text-align: center;
}

.list-group-item {
  background: none;
  border: none;
  padding: 0;
  margin: 0 10px;
  display: inline-block;
  color: var(--primary-color); /* or #ffffff */
  text-decoration: underline;
  font-weight: 500;
}

/* Optional: hover effect */
.list-group-item:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* Refine the legend text in both password reset and username remind views */
.com-users-reset legend,
.com-users-remind legend {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
}

/* Center and constrain the entire login form */
.com-users-login form {
  max-width: 350px;      /* adjust to taste */
  margin: 0 auto;
  text-align: left;      /* keeps labels + checkbox aligned nicely */
}

/* Make inputs full width *within* the constrained form */
.com-users-login .form-control {
  width: 100%;
}

/* Fix the password + eye icon alignment */
.com-users-login .input-group {
  width: 100%;
}

/* Fix the eye icon button so it stays attached to the field */
.com-users-login .input-group-text {
  background: var(--primary-color);
  border: none;
  cursor: pointer;
}

/* Center the login button */
.com-users-login button[type="submit"] {
  display: block;
  margin: 15px auto 0 auto;
}

/* Align the 'Remember me' checkbox with the form width */
.com-users-login .form-check {
  margin: 10px 0;
}

/* Keep password field and eye icon aligned horizontally */
.com-users-login .input-group {
  display: flex;
  align-items: center;
  width: 100%;
}

/* Ensure the password field fills the space */
.com-users-login .input-group .form-control {
  flex: 1;
}

/* Ensure the eye icon stays attached to the right side */
.com-users-login .input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: auto;
  background: var(--primary-color);
  border: none;
  cursor: pointer;
}


/* ==========================================================
   29. Media Queries (Always Last)
   ========================================================== */

/* Mobile menu hamburger replacement */
.navbar-toggler .icon-menu::before {
  content: "☰";
  font-size: 26px;
  line-height: 1;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .header-google-rating {
    display: none;
  }

  .home-quote {
    font-size: 1.4rem;
    margin: 5px 0 30px;
  }
}

@media screen and (max-width: 768px) {
  .no-mobile-load img {
    display: none !important;
  }
}

/* ==========================================================
   30. Menu underline – unified, template-proof (place LAST)
   ========================================================== */

/* ==========================================================
   Synchro menu underline – final fix (trust aria-current only)
   ========================================================== */

/* ==========================================================
   MetisMenu underline — aria-current is truth
   Put this LAST in custom.css
   ========================================================== */

/* 0) Kill template underline method (the white line) */
.metismenu.mod-menu .metismenu-item > a {
  border-bottom: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  text-decoration: none !important;
}

/* 1) Underline host */
.metismenu.mod-menu .metismenu-item > a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

/* 2) Our underline (orange), hidden by default */
.metismenu.mod-menu .metismenu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #f39200 !important;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease, opacity 120ms ease;
}

/* 3) Hover (animated orange) */
.metismenu.mod-menu .metismenu-item > a:hover::after,
.metismenu.mod-menu .metismenu-item > a:focus::after {
  opacity: 1;
  transform: scaleX(1);
}

/* 4) Active (static orange) — ONLY when Joomla says it's current */
.metismenu.mod-menu .metismenu-item > a[aria-current]::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
  transition: none !important;
}

/* 5) Fix template quirk: Home marked "active" even when not current */
.metismenu.mod-menu .metismenu-item.default.active > a:not([aria-current])::after {
  opacity: 0 !important;
  transform: scaleX(0) !important;
}