@import url("https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

* {
  font-family: "Spectral", serif;
}
#footer-container {
  margin-top: 5vh; /* Add substantial spacing above footer */
  padding-top: 2rem; /* Additional padding for separation */
}
footer {
  position: relative;
  display: flex;
  background-color: #f1f4ef;
  padding: 2rem 0;
  margin-top: 3rem; /* Add spacing above footer */
  font-size: 0.95em;
  height: auto;
  justify-content: center;
}

footer h2 {
  color: #2e5a39;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
  position: relative;
  text-align: center;
}

footer h2:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: #2e5a39;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: #2e5a39;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #2e5a39;
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
}

.footer-bottom p {
  color: #444;
  font-size: 0.9rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-right: 40px;
  max-width: 400px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
}

.contact-info-item h3 {
  color: #2e5a39;
  text-align: left;
  margin-bottom: 5px;
  font-size: 1.1em;
  font-weight: 600;
}

.contact-info-item p {
  text-align: left;
  color: #2e5a39;
  line-height: 1.2;
  margin-bottom: 15px;
}

.address-map {
  flex: 1;
  padding-left: 8em;
  border-left: 1px solid #2e5a39;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  vertical-align: middle;
}

.map-container {
  margin-top: 10px;
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 8px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #2e5a39;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #f8f5f0;
  transform: translateY(-3px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--light-accent);
  transition: fill 0.3s ease;
}

.social-icon:hover svg {
  fill: #2e5a39;
}

/* Footer bottom section with links and copyright */
.footer-bottom {
  background-color: #fbfbfb;
  padding: 0 60px 20px;
  border-top: 1px solid rgba(233, 213, 179, 0.3);
}

/* Footer links section */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 15px 0;
}

.footer-links a {
  color: #2e5a39;
  text-decoration: none;
  font-size: 0.95em;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #444;
}

/* Copyright section */
.copyright {
  text-align: center;
  padding-top: 10px;
  font-size: 0.9em;
  color: #444;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  footer {
    flex-direction: column;
    padding: 30px 20px;
  }

  .contact-info {
    padding-right: 0;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .address-map {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #2e5a39;
    padding-top: 40px;
    max-width: 100%;
  }

  .footer-bottom {
    padding: 0 20px 20px;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
}
