/* FOOTER */

/* ============================================
   Footer Main
   ============================================ */
.page-footer-main {
  padding: 4rem 0 2rem;
}

/* 2x2 Grid Layout */
.page-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3rem 4rem;
  align-items: start;
}

/* Grid posities */
.page-footer-col--brand {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.page-footer-col--newsletter {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}

.page-footer-col--bottom {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}

.page-footer-col--social {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: end;
}

/* ============================================
   Footer Columns
   ============================================ */
.page-footer-col {
  color: black;
}

.page-footer-logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.page-footer-col--brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  max-width: 400px;
}

/* Newsletter button styling */
.page-footer-col--newsletter .button,
.page-footer-col--newsletter a.button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: var(--color-primary, #ff6b6b);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid currentColor;
}

.page-footer-col--newsletter .button:hover {
  background: var(--color-primary, #ff6b6b);
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   Bottom Row (Menu + Copyright + Credits)
   ============================================ */
.page-footer-bottom-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.7);
}

/* Copyright */
.page-footer-copyright-text {
  flex-shrink: 0;
}

.page-footer-copyright-text a {
  color: black;
  text-decoration: none;
}

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

/* Menu items */
.page-footer-bottom-menu {
  flex-shrink: 0;
}

.page-footer-bottom-menu > nav > ul,
.page-footer-bottom-menu > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.page-footer-bottom-menu > nav > ul > li,
.page-footer-bottom-menu > ul > li {
  margin: 0;
}

.page-footer-bottom-menu > nav > ul > li > a,
.page-footer-bottom-menu > ul > li > a {
  color: black;
  text-decoration: none;
  font-size: 0.85rem;
  transition: opacity 0.3s ease;
}

.page-footer-bottom-menu > nav > ul > li > a:hover,
.page-footer-bottom-menu > ul > li > a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

/* Credits */
.page-footer-credits {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.page-footer-credits a {
  color: black;
  text-decoration: none;
}

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

/* ============================================
   Social Media (rechts onder)
   ============================================ */
.page-footer-col--social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.page-footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-footer-col--social .social-links {
  display: flex;
  gap: 0.75rem;
}

.page-footer-col--social .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

.page-footer-col--social .social-links a:hover {
  background: black;
  color: white;
  transform: translateY(-2px);
}

.page-footer-col--social .social-links svg,
.page-footer-col--social .social-links i {
  width: 18px;
  height: 18px;
}

/* ============================================
   Responsive - Mobile Volgorde: 2-4-1-3
   ============================================ */
@media (max-width: 900px) {
  .page-footer-main {
    padding: 3rem 0 2rem;
  }
  
  .page-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Reset alle grid properties en forceer alles naar links */
  .page-footer-col--newsletter,
  .page-footer-col--social,
  .page-footer-col--brand,
  .page-footer-col--bottom {
    grid-column: unset;
    grid-row: unset;
    justify-self: unset;
    align-self: unset;
    align-items: flex-start;
    text-align: left;
  }
  
  /* Volgorde op mobile */
  .page-footer-col--newsletter {
    order: 1;
  }
  
  .page-footer-col--social {
    order: 2;
  }
  
  .page-footer-col--brand {
    order: 3;
  }
  
  .page-footer-col--bottom {
    order: 4;
  }
  
  .page-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .page-footer-bottom-menu > nav > ul,
  .page-footer-bottom-menu > ul {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page-footer-bottom-menu > nav > ul,
  .page-footer-bottom-menu > ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================
   Logo Carousel Bottom
   ============================================ */
.page-footer-logos {
  background: white;
  padding: 1rem 0;
}

.page-footer-logos img {
  height: 50px;
  width: auto;
}

@media (max-width: 640px) {
  .page-footer-logos img {
    max-height: 40px;
  }
}

.page-footer-logos .view-content{
  display:flex;
  flex-direction:row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: baseline;
  align-content: center;
  gap:50px;
}

.footer-dislaimer{
  font-size:18px;
  max-width:600px;
}