/* =========================================================
   MIRACLE LIQUORS – PROFESSIONELE FOOTER
   Alle eigen classes beginnen met custom-mlf-footer
   ========================================================= */


/* ---------------------------------------------------------
   1. FOOTER BASIS
   --------------------------------------------------------- */

.custom-mlf-footer {
  --custom-mlf-footer-green: #375248;
  --custom-mlf-footer-green-dark: #2d463d;
  --custom-mlf-footer-green-light: #49665b;

  --custom-mlf-footer-gold: #ffc857;
  --custom-mlf-footer-aqua: #80cda7;

  --custom-mlf-footer-white: #ffffff;
  --custom-mlf-footer-text: rgba(255, 255, 255, 0.88);
  --custom-mlf-footer-muted: rgba(255, 255, 255, 0.62);
  --custom-mlf-footer-border: rgba(255, 255, 255, 0.14);

  position: relative;
  width: 100%;
  overflow: hidden;

  margin: 0;
  padding: clamp(48px, 6vw, 76px) 0 0;

  color: var(--custom-mlf-footer-white);
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(128, 205, 167, 0.09),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      var(--custom-mlf-footer-green) 0%,
      var(--custom-mlf-footer-green-dark) 100%
    );

  font-family: "Fauna One", serif;
  font-size: 16px;
  line-height: 1.65;
}


/* Subtiele gouden lijn boven de footer */

.custom-mlf-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: linear-gradient(
    90deg,
    var(--custom-mlf-footer-aqua),
    var(--custom-mlf-footer-gold),
    var(--custom-mlf-footer-aqua)
  );
}


/* ---------------------------------------------------------
   2. CENTRALE CONTAINER
   --------------------------------------------------------- */

.custom-mlf-footer__container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}


/* ---------------------------------------------------------
   3. HOOFDINDELING
   --------------------------------------------------------- */

.custom-mlf-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(170px, 0.75fr)
    minmax(280px, 1.15fr)
    minmax(250px, 1fr);

  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}


.custom-mlf-footer__column {
  min-width: 0;
}


/* ---------------------------------------------------------
   4. KOPPEN
   --------------------------------------------------------- */

.custom-mlf-footer__heading {
  margin: 0 0 12px;
  padding: 0;

  color: var(--custom-mlf-footer-white) !important;

  font-family: "Cinzel Decorative", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
}


.custom-mlf-footer__heading-line {
  width: 100%;
  max-width: 360px;
  height: 2px;

  margin-bottom: 24px;

  border-radius: 100px;

  background: linear-gradient(
    90deg,
    var(--custom-mlf-footer-aqua),
    var(--custom-mlf-footer-gold)
  );

  opacity: 0.8;
}


.custom-mlf-footer__subheading {
  margin: 0 0 12px;
  padding: 0;

  color: var(--custom-mlf-footer-white) !important;

  font-family: "Fauna One", serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}


/* ---------------------------------------------------------
   5. ALGEMENE LINKS
   --------------------------------------------------------- */

.custom-mlf-footer a {
  color: var(--custom-mlf-footer-text) !important;
  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}


.custom-mlf-footer a:hover,
.custom-mlf-footer a:focus-visible {
  color: var(--custom-mlf-footer-gold) !important;
}


.custom-mlf-footer a:focus-visible {
  outline: 2px solid var(--custom-mlf-footer-gold);
  outline-offset: 4px;
  border-radius: 3px;
}


/* ---------------------------------------------------------
   6. FOOTERNAVIGATIE
   --------------------------------------------------------- */

.custom-mlf-footer__link-list {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin: 0;
  padding: 0;

  list-style: none;
}


.custom-mlf-footer__link-list li {
  margin: 0;
  padding: 0;
}


.custom-mlf-footer__link-list a {
  position: relative;
  display: inline-flex;
  align-items: center;

  padding: 4px 0;

  font-size: 0.92rem;
  line-height: 1.6;
}


.custom-mlf-footer__link-list a::before {
  content: "";
  display: block;

  width: 0;
  height: 1px;

  margin-right: 0;

  background-color: var(--custom-mlf-footer-gold);

  transition:
    width 0.2s ease,
    margin-right 0.2s ease;
}


.custom-mlf-footer__link-list a:hover::before,
.custom-mlf-footer__link-list a:focus-visible::before {
  width: 13px;
  margin-right: 9px;
}


/* ---------------------------------------------------------
   7. CONTACTGEGEVENS
   --------------------------------------------------------- */

.custom-mlf-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;

  margin: 0;
  padding: 0;

  font-style: normal;
}


.custom-mlf-footer__contact-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  align-items: start;

  width: fit-content;

  font-size: 0.9rem;
  line-height: 1.65;
}


.custom-mlf-footer__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  margin-top: 1px;

  color: var(--custom-mlf-footer-gold);

  border: 1px solid rgba(255, 200, 87, 0.28);
  border-radius: 50%;

  background-color: rgba(255, 200, 87, 0.07);
}


.custom-mlf-footer__contact-icon i {
  font-size: 0.8rem;
  line-height: 1;
}


/* ---------------------------------------------------------
   8. OPENINGSTIJDEN
   --------------------------------------------------------- */

.custom-mlf-footer__opening-hours {
  max-width: 370px;

  margin-top: 26px;
  padding-top: 20px;

  border-top: 1px solid var(--custom-mlf-footer-border);
}


.custom-mlf-footer__hours-list {
  display: flex;
  flex-direction: column;
  gap: 7px;

  margin: 0;
  padding: 0;
}


.custom-mlf-footer__hours-list > div {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) auto;
  gap: 16px;

  margin: 0;
}


.custom-mlf-footer__hours-list dt,
.custom-mlf-footer__hours-list dd {
  margin: 0;
  padding: 0;

  color: var(--custom-mlf-footer-text);

  font-size: 0.78rem;
  line-height: 1.55;
}


.custom-mlf-footer__hours-list dd {
  text-align: right;
  white-space: nowrap;
}


/* ---------------------------------------------------------
   9. INTRODUCTIETEKST
   --------------------------------------------------------- */

.custom-mlf-footer__intro {
  max-width: 390px;

  margin: 0 0 20px;
  padding: 0;

  color: var(--custom-mlf-footer-text);

  font-size: 0.86rem;
  line-height: 1.75;
}


/* ---------------------------------------------------------
   10. SOCIALMEDIA-ICONEN
   --------------------------------------------------------- */

.custom-mlf-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin: 0 0 24px;
}


.custom-mlf-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  color: var(--custom-mlf-footer-white) !important;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;

  background-color: rgba(255, 255, 255, 0.05);
}


.custom-mlf-footer__socials a:hover,
.custom-mlf-footer__socials a:focus-visible {
  color: var(--custom-mlf-footer-green-dark) !important;

  border-color: var(--custom-mlf-footer-gold);

  background-color: var(--custom-mlf-footer-gold);

  transform: translateY(-2px);
}


.custom-mlf-footer__socials i {
  font-size: 1.05rem;
  line-height: 1;
}


/* ---------------------------------------------------------
   11. BEDRIJFSGEGEVENS
   --------------------------------------------------------- */

.custom-mlf-footer__business {
  max-width: 390px;

  margin-top: 6px;
  padding-top: 18px;

  border-top: 1px solid var(--custom-mlf-footer-border);
}


.custom-mlf-footer__business p {
  margin: 0;
  padding: 0;

  color: var(--custom-mlf-footer-text);

  font-size: 0.78rem;
  line-height: 1.6;
}


.custom-mlf-footer__business strong {
  color: var(--custom-mlf-footer-white);
  font-weight: 600;
}


/* ---------------------------------------------------------
   12. NIX18-LOGO
   --------------------------------------------------------- */

.custom-mlf-footer__nix18 {
  margin-top: 25px;
}


.custom-mlf-footer__nix18 img {
  display: block;

  width: auto;
  max-width: 100px;
  height: auto;

  margin: 0;

  opacity: 0.92;
}


/* ---------------------------------------------------------
   13. ONDERBALK
   --------------------------------------------------------- */

.custom-mlf-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  margin-top: clamp(40px, 5vw, 62px);
  padding: 22px 0 24px;

  border-top: 1px solid var(--custom-mlf-footer-border);
}


.custom-mlf-footer__copyright {
  margin: 0;
  padding: 0;

  color: var(--custom-mlf-footer-muted);

  font-size: 0.72rem;
  line-height: 1.5;
}


.custom-mlf-footer__legal-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}


.custom-mlf-footer__legal-navigation a {
  position: relative;

  color: var(--custom-mlf-footer-muted) !important;

  font-size: 0.72rem;
  line-height: 1.5;
}


.custom-mlf-footer__legal-navigation a:hover,
.custom-mlf-footer__legal-navigation a:focus-visible {
  color: var(--custom-mlf-footer-gold) !important;
}


.custom-mlf-footer__legal-navigation a + a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;

  width: 1px;
  height: 12px;

  background-color: var(--custom-mlf-footer-border);

  transform: translateY(-50%);
}


/* =========================================================
   14. DIVI-RESET EN UITLIJNING
   ========================================================= */

/* Voorkomt opsommingstekens die Divi aan lijsten toevoegt */
.custom-mlf-footer__link-list,
.custom-mlf-footer__link-list li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.custom-mlf-footer__link-list li::before,
.custom-mlf-footer__link-list li::after {
  display: none !important;
  content: none !important;
}


/* Alle drie de kolommen blijven op normale desktops naast elkaar */
.custom-mlf-footer__grid {
  display: grid;
  grid-template-columns:
    minmax(180px, 0.75fr)
    minmax(340px, 1.15fr)
    minmax(280px, 1fr);

  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}


/* Derde kolom mag niet automatisch over de hele rij lopen */
.custom-mlf-footer__column:last-child {
  grid-column: auto;
}


/* Alle lijnen krijgen dezelfde breedte */
.custom-mlf-footer__heading-line {
  width: 100%;
  max-width: none;
}


/* Openingstijden netjes onder elkaar */
.custom-mlf-footer__hours-list > div {
  display: grid;
  grid-template-columns: minmax(175px, 1fr) auto;
  gap: 20px;
}


/* =========================================================
   15. TABLET
   ========================================================= */

@media (max-width: 900px) {

  .custom-mlf-footer__container {
    width: min(100% - 40px, 760px);
  }

  .custom-mlf-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  /*
   Volg ons komt op tablet onderaan,
   maar blijft even breed als één kolom.
  */
  .custom-mlf-footer__column:last-child {
    grid-column: auto;
  }

}


/* =========================================================
   16. MOBIEL
   ========================================================= */

@media (max-width: 680px) {

  .custom-mlf-footer {
    padding-top: 44px;
  }

  .custom-mlf-footer__container {
    width: min(100% - 32px, 560px);
  }

  .custom-mlf-footer__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .custom-mlf-footer__column,
  .custom-mlf-footer__column:last-child {
    grid-column: auto;
    width: 100%;
  }

  .custom-mlf-footer__heading {
    font-size: 1.05rem;
  }

  .custom-mlf-footer__heading-line {
    width: 100%;
    margin-bottom: 20px;
  }

  .custom-mlf-footer__link-list {
    gap: 3px;
  }

  .custom-mlf-footer__link-list a {
    display: flex;
    align-items: center;
    min-height: 40px;
  }

  .custom-mlf-footer__contact-item {
    width: 100%;
    min-height: 44px;
  }

  .custom-mlf-footer__opening-hours,
  .custom-mlf-footer__intro,
  .custom-mlf-footer__business {
    width: 100%;
    max-width: none;
  }

  .custom-mlf-footer__hours-list > div {
    grid-template-columns: minmax(150px, 1fr) auto;
  }

  .custom-mlf-footer__nix18 img {
    max-width: 90px;
  }

  .custom-mlf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 42px;
  }

  .custom-mlf-footer__legal-navigation {
    justify-content: flex-start;
  }

}


/* =========================================================
   17. KLEINE MOBIELE SCHERMEN
   ========================================================= */

@media (max-width: 420px) {

  .custom-mlf-footer__container {
    width: calc(100% - 28px);
  }

  .custom-mlf-footer__hours-list > div {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .custom-mlf-footer__hours-list dd {
    color: var(--custom-mlf-footer-muted);
    text-align: left;
  }

  .custom-mlf-footer__legal-navigation {
    flex-direction: column;
    gap: 7px;
  }

  .custom-mlf-footer__legal-navigation a + a::before {
    display: none;
  }

}


/* =========================================================
   18. MINDER ANIMATIE INDIEN INGESTELD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .custom-mlf-footer *,
  .custom-mlf-footer *::before,
  .custom-mlf-footer *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

}