/* ===== FOOTER STYLES ===== */
.footer {
  padding: 60px 120px 140px;
  background-color: var(--colour-maroon);
  overflow: hidden;
  color: white;
  position: relative;
}

.footer * {
  z-index: 1;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

/* Footer Banner Carousel */
.footer-banner-carousel-wrapper {
  position: relative;
  margin-bottom: 82px;
}

.footer-banner-carousel {
  width: 100%;
}

.footer-banner-slide {
  outline: none; /* Remove focus outline for carousel slides */
}

.footer-banner-link {
  position: relative;
  display: block;
}

.footer-banner,
.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hide Slick dots and arrows for footer carousel */
.footer-banner-carousel .slick-dots,
.footer-banner-carousel .slick-prev,
.footer-banner-carousel .slick-next {
  display: none !important;
}

/* Ensure smooth transitions */
.footer-banner-carousel .slick-slide {
  transition: opacity 0.8s ease-in-out;
}

.footer-logo {
  width: 140px;
}

.footer-logo-link {
  width: fit-content;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-direction: row;
  gap: 48px;
}

.footer-content > div {
  width: 224px;
}

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

.footer-content a {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-content a:hover {
  opacity: 0.6;
  text-decoration: underline;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-right: 32px;
}

.footer-heading {
  color: white;
}

.footer-address {
  font-family: "Rockwell", serif;
  font-weight: normal;
  color: white;
}

.footer-info-list li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-social-links {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.footer-social-link {
  position: relative;
  display: inline-block;
}

.footer-social-link a {
  position: relative;
  display: block;
}

.footer-social-kite {
  height: 32px;
  width: auto;
  opacity: 0.8;
  display: block;
}

.footer-social-link i {
  position: absolute;
  left: 56%;
  top: 34%;
  transform: translate(-50%, -50%);
  color: var(--colour-maroon);
  font-size: 16px;
  z-index: 1;
}

.footer-divider {
  margin: 16px 0 32px;
  width: 40px;
  border-width: 1px;
  border-color: white;
}

.footer-link {
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  min-width: 256px;
}

.footer-contact-list {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-details {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 4px;
}

.footer-contact-details i {
  font-size: 16px;
}

.footer-contact-number,
.footer-contact-email {
  font-size: 16px;
  text-decoration: underline;
}

.footer-contact-address {
  font-size: 14px;
  line-height: 1.6;
}

.footer-image-wrapper {
  position: absolute;
  bottom: 68px;
  right: -40px;
  z-index: 0;
  height: 536px;
  max-height: 536px;
  width: 592px;
  overflow: hidden;
  background-color: var(--colour-maroon);
}

.footer-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--colour-maroon) 0%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.footer-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 110%;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  z-index: 0;
}

/* Responsive Styles */
@media (max-width: 1439px) {
  .footer-content {
    gap: 32px;
  }

  .footer-info {
    margin-right: 16px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 64px 140px;
  }

  .footer-content {
    gap: 16px;
  }

  .footer-banner-link {
    margin-bottom: 0;
  }

  .footer-info {
    margin-right: 0px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 32px 64px 96px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
  }

  .footer-banner {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 32px 16px 96px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-content > div {
    width: 100%;
  }

  .footer-image-wrapper {
    right: -48%;
    width: 100%;
    height: 400px;
    max-height: 400px;
  }
}
