.footer {
  background-color: var(--color-cream-400);
  padding: 60px 0 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 60px;
  align-items: start;
}

/* Right Content Wrapper */
.footer-right-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Top Row - 3 columns with different sizes */
.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

/* Image Column */
.footer-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 500px;
  background: #ddd;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Content Column */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo {
  /* width: 200px; */
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-description {
  color: #000000;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #f5f2ed;
  padding: 20px;
  border-radius: 8px;
}

.footer-contact p {
  color: #000000;
  font-size: 15px;
  margin: 0;
}

.footer-contact a {
  color: #000000;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #2d5016;
}

/* Site Map Column */
.footer-sitemap h3 {
  color: #000000;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 20px;
}

.footer-sitemap ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-sitemap a {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer-sitemap a:hover {
  color: #2d5016;
}

/* Social Column */
.footer-social h3 {
  color: #000000;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 15px;
}

.footer-social p {
  color: #000000;
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #4a4a4a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background: #2d5016;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 10px;
  padding-top: 30px;
  border-top: 1px solid #d1d1d1;
}

.footer-links {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #2d5016;
}

.footer-copyright {
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
}

/* Footer Bottom Logo */
.footer-logo-bottom img {
  max-width: 100%;
  height: auto;
  opacity: 0.25;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-image {
    height: 300px;
    margin-bottom: 20px;
  }

  .footer-right-content {
    gap: 30px;
  }

  .footer-top-row {
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-image {
    height: 250px;
  }

  .footer-right-content {
    gap: 30px;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-logo {
    width: 150px;
    height: 50px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }

  .footer-image {
    height: 200px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
