/******************** Footer Styles ********************/

.site-footer {
  background-color: var(--color-text-global, #603813);
  max-width: 100% !important;
  padding: 2rem 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 767px) {
  .footer-container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

/* Left Side: Map Section */
.footer-map-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0; /* Allows flex item to shrink below content size */
}

.footer-map-link {
  font-family: var(--font-family-rubik);
  font-size: var(--font-size-text);
  text-decoration: none;
  text-align: center;
  padding: 0.5rem 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 767px) {
  .footer-map-link {
    padding: 0;
  }
}

.footer-map-link h3 {
  color: var(--color-background, #fffdf9);
}

.footer-map-link:hover {
  opacity: 0.8;
}

.footer-map-wrapper {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  position: relative;
}

.footer-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-global, #603813);
  opacity: 0.6;
}

.footer-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Right Side: Logo and Navigation */
.footer-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.footer-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-link {
  display: block;
  text-decoration: none;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  display: block;
}

/* Footer Navigation */
.footer-nav {
  width: 100%;
}

.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-nav-list li,
.footer-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-list a,
.footer-nav-link {
  display: block;
  color: var(--color-background, #fffdf9);
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s ease;
  font-weight: 400;
}

.footer-nav-list a:hover,
.footer-nav-link:hover {
  opacity: 0.8;
}

/* Tablet Styles */
@media (max-width: 1200px) {
  .footer-content {
    gap: 1rem;
  }

  .footer-map-wrapper {
    height: 250px;
  }

  .footer-logo {
    max-width: 180px;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  .site-footer {
    padding: 1.5rem 0;
  }

  .footer-content {
    flex-direction: column-reverse;
  }

  .footer-map-section {
    width: 100%;
    order: 2;
    gap: 0.25rem;
  }

  .footer-info-section {
    width: 100%;
    order: 1;
    gap: 0.5rem;
  }

  .footer-map-wrapper {
    height: 250px;
  }

  .footer-logo {
    max-width: 150px;
  }

  .footer-nav-list {
    flex-direction: row;
  }

  .footer-nav-link {
    font-size: var(--font-size-extra-small);
    padding: 0.25rem 0;
  }
}

.fa-waze {
  font-family: "Font Awesome 5 Brands";
  height: 1rem;
  width: 1rem;
  color: var(--color-background, #fffdf9);
}

.fa-waze:before {
  content: "\f83f";
  margin-left: 0.5rem;
  color: var(--color-background, #fffdf9);
}

/******************** End of Footer Styles ********************/
