/* Footer  */

.footer {
  position: relative;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
  color: var(--secondary-color);
  padding: 80px 0 0;
  margin-top: 100px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.decorative-image {
  position: absolute;
  width: 200px;
  height: 300px;
  opacity: 0.1;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}

.decorative-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) sepia(100%) hue-rotate(35deg) saturate(2);
}

.left-image {
  top: 50px;
  left: -100px;
  transform: rotate(-15deg);
  animation: float-left 6s ease-in-out infinite;
}

.right-image {
  top: 100px;
  right: -100px;
  transform: rotate(15deg);
  animation: float-right 6s ease-in-out infinite reverse;
}

@keyframes float-left {
  0%,
  100% {
    transform: rotate(-15deg) translateY(0px);
  }
  50% {
    transform: rotate(-15deg) translateY(-20px);
  }
}

@keyframes float-right {
  0%,
  100% {
    transform: rotate(15deg) translateY(0px);
  }
  50% {
    transform: rotate(15deg) translateY(-20px);
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  text-align: center;
  margin-bottom: 50px;
  padding: 30px;
  background: rgba(253, 224, 86, 0.1);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(253, 224, 86, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: 0 20px 40px rgba(253, 224, 86, 0.2);
}

.footer-logo img {
  max-width: 80px;
  max-height: 80px;
  filter: brightness(0) invert(1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.visit-us-label {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  font-family: "Cinzel Decorative", cursive;
}

.visit-us-label::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--secondary-color),
    transparent
  );
}

.address-info {
  text-align: center;
  line-height: 2;
}

.address-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

.address-info p:hover {
  color: var(--secondary-color);
}

.divider {
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(253, 224, 86, 0.3),
    var(--secondary-color),
    rgba(253, 224, 86, 0.3),
    transparent
  );
  align-self: stretch;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  border-radius: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.divider::before {
  top: 0;
}

.divider::after {
  bottom: 0;
}

.newsletter-section {
  text-align: center;
}

.newsletter-section h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-family: "Cinzel Decorative", cursive;
}

.newsletter-subtitle {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  margin: 0 auto;
}

.email-input {
  padding: 15px 20px;
  border: 2px solid rgba(253, 224, 86, 0.3);
  background: rgba(253, 224, 86, 0.1);
  border-radius: 50px;
  color: var(--secondary-color);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.email-input::placeholder {
  color: rgba(253, 224, 86, 0.6);
}

.email-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 20px rgba(253, 224, 86, 0.2);
  background: rgba(253, 224, 86, 0.15);
}

.subscribe-btn {
  padding: 15px 30px;
  background: linear-gradient(45deg, var(--secondary-color), #f9d71c);
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(253, 224, 86, 0.4);
}

.subscribe-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.subscribe-btn:hover::before {
  left: 100%;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(253, 224, 86, 0.2);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: rgba(253, 224, 86, 0.7);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(253, 224, 86, 0.1);
  border: 2px solid rgba(253, 224, 86, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--secondary-color), #f9d71c);
  transform: scale(0);
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  color: #000;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

.social-link i {
  position: relative;
  z-index: 1;
}

.credits {
  color: rgba(253, 224, 86, 0.7);
  font-size: 0.9rem;
}

.credits a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.credits a:hover {
  color: #f9d71c;
  text-shadow: 0 0 5px rgba(253, 224, 86, 0.5);
}

@media (max-width: 1024px) {
  .decorative-image {
    width: 150px;
    height: 200px;
  }

  .left-image {
    left: -75px;
  }

  .right-image {
    right: -75px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      rgba(253, 224, 86, 0.3),
      var(--secondary-color),
      rgba(253, 224, 86, 0.3),
      transparent
    );
  }

  .divider::before,
  .divider::after {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .divider::before {
    left: 0;
  }

  .divider::after {
    left: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .decorative-image {
    display: none;
  }

  .newsletter-form {
    flex-direction: row;
    max-width: 100%;
  }

  .email-input {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
  }

  .footer-logo img {
    max-width: 60px;
    max-height: 60px;
  }

  .visit-us-label {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}
