/* Footer Styles */

.footer {
  background-color: #F5F0E6;
  padding: 40px 20px;
  width: 100%;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__address,
.footer__phone,
.footer__policy {
  font-size: 14px;
  color: #0A1B2A;
  line-height: 1.6;
}

.footer__policy {
  text-decoration: none;
  display: inline-block;
  color: #0A1B2A;
  transition: color 0.3s ease;
}

.footer__policy:hover {
  color: #5A7152;
  text-decoration: underline;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social-link {
  color: #5A7152;
  font-size: 22px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer__social-link:hover {
  color: #4a5e44;
  transform: translateY(-3px);
}

.footer__credits {
  font-size: 12px;
  color: #0A1B2A;
  text-align: center;
}

.footer__credits-link {
  color: #5A7152;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer__credits-link:hover {
  color: #4a5e44;
  text-decoration: underline;
}

.footer__heart {
  color: #FF6B6B;
  display: inline-block;
  animation: heartbeat 1.5s infinite ease-in-out;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(10, 27, 42, 0.1);
  margin: 10px 0;
}

.footer__copyright {
  font-size: 12px;
  color: #0A1B2A;
  text-align: center;
  margin-top: 20px;
}

/* Media Queries for Responsive Design */
@media screen and (min-width: 768px) {
  .footer {
    padding: 60px 40px 40px;
  }

  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__info {
    width: 60%;
  }

  .footer__address,
  .footer__phone,
  .footer__policy {
    font-size: 16px;
  }

  .footer__credits {
    text-align: right;
    font-size: 14px;
    align-self: flex-end;
    margin-top: auto;
  }

  .footer__copyright {
    font-size: 14px;
  }
}