/* Custom Footer Styles */

/* Footer Container */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0c6d56, #7c5e04);
}

.footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/img/decor/decor-lines-lightgray.png") repeat;
  opacity: 0.05;
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Main Content */
.footer-main {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Footer Column */
.footer-column {
  position: relative;
}

.footer-column:first-child {
  grid-column: 1 / 2;
}

@media (max-width: 1024px) {
  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

/* Footer Title */
.footer-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0c6d56, #7c5e04);
  border-radius: 2px;
}

/* Footer Description */
.footer-description {
  color: #b0b0b0;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  background: linear-gradient(135deg, #0c6d56, #7c5e04);
}

.social-link i {
  position: relative;
  z-index: 2;
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.social-link:hover i {
  transform: scale(1.1);
}

/* Contact Info */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #0c6d56, #7c5e04);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
}

.footer-contact-content {
  flex: 1;
}

.footer-contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 5px;
}

.footer-contact-text {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.4;
}

.footer-contact-text a {
  color: #0c6d56;
  text-decoration: none;
  transition: color 0.3s ease;
}

.uk-link-toggle:focus .uk-link,
.uk-link-toggle:hover .uk-link,
.uk-link:hover,
a:hover {
  color: white !important;
}

.footer-contact-text a:hover {
  color: #7c5e04;
}

/* Footer Navigation */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-item {
  margin-bottom: 12px;
  position: relative;
}

.footer-nav-item::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #0c6d56;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-nav-item:hover::before {
  opacity: 1;
  left: -10px;
}

.footer-nav-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0c6d56, #7c5e04);
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-nav-link:hover::after {
  width: 100%;
}

/* Footer Bottom */
.footer-bottom {
  padding: 30px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: #888;
  font-size: 14px;
  font-weight: 400;
}

.footer-copyright a {
  color: #0c6d56;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #7c5e04;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.footer-bottom-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #0c6d56;
  transition: width 0.3s ease;
}

.footer-bottom-link:hover {
  color: #ffffff;
}

.footer-bottom-link:hover::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-main {
    padding: 60px 0 40px;
  }

  .footer-grid {
    gap: 40px;
  }

  .footer-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-container {
    padding: 0 15px;
  }

  .footer-grid {
    gap: 30px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-description {
    font-size: 15px;
  }

  .footer-contact-item {
    padding: 12px;
  }

  .footer-contact-icon {
    width: 30px;
    height: 30px;
    margin-right: 12px;
  }

  .footer-contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .footer-nav-link {
    font-size: 15px;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-links {
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-title {
    font-size: 18px;
  }

  .footer-description {
    font-size: 14px;
  }

  .footer-contact-item {
    padding: 10px;
  }

  .footer-contact-text {
    font-size: 14px;
  }

  .footer-nav-link {
    font-size: 14px;
  }

  .footer-bottom-link {
    font-size: 13px;
  }

  .footer-copyright {
    font-size: 13px;
  }
}

/* Animation Classes */
.footer-fade-in {
  animation: footerFadeIn 0.8s ease-out;
}

.footer-slide-up {
  animation: footerSlideUp 0.8s ease-out;
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes footerSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover Effects */
.footer-column:hover .footer-title::after {
  width: 80px;
  transition: width 0.3s ease;
}

.footer-social:hover .social-link {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(12, 109, 86, 0.3);
}

/* Focus States for Accessibility */
.footer-nav-link:focus,
.footer-bottom-link:focus,
.social-link:focus {
  outline: 2px solid #0c6d56;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .footer {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .footer::before,
  .footer::after {
    display: none !important;
  }

  .footer-title {
    color: #000000 !important;
  }

  .footer-description,
  .footer-contact-text,
  .footer-nav-link {
    color: #333333 !important;
  }
}
