/* ============================================
   PREMIUM FOOTER - GLASSMORPHISM
   Luxury footer with all features
   ============================================ */

/* Footer Main */
.footer {
  position: relative;
  background: linear-gradient(180deg, #0D0D0D 0%, #000000 100%);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(201, 169, 89, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer__main {
  padding: 100px 0 60px;
  position: relative;
  z-index: 1;
}

/* Footer Grid */
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

/* Company Section */
.footer__company {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 1rem;
  font-weight: 600;
  color: #C9A959;
  margin: 0;
}

.footer__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Social Media */
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__social-link:hover {
  background: rgba(201, 169, 89, 0.2);
  border-color: rgba(201, 169, 89, 0.3);
  color: #C9A959;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(201, 169, 89, 0.2);
}

/* Footer Sections */
.footer__section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding-left: 0;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: -16px;
  width: 6px;
  height: 1px;
  background: #C9A959;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer__link:hover {
  color: #C9A959;
  padding-left: 16px;
}

.footer__link:hover::before {
  opacity: 1;
  left: 0;
}

/* Working Hours */
.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.footer__hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 0.875rem;
}

.footer__hours-day {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.footer__hours-time {
  color: #C9A959;
  font-weight: 600;
}

.footer__hours-time--closed {
  color: rgba(255, 255, 255, 0.4);
}

/* Contact Info */
.footer__contact-info {
  margin-top: 20px;
}

.footer__contact-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer__contact-item svg {
  color: #C9A959;
  flex-shrink: 0;
}

.footer__contact-item a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer__contact-item a:hover {
  color: #C9A959;
}

/* Newsletter */
.footer__newsletter-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.footer__newsletter {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.footer__newsletter-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(201, 169, 89, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 169, 89, 0.1);
}

.footer__newsletter-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9A959 0%, #E5D4A6 100%);
  border: none;
  border-radius: 12px;
  color: #1D1D1F;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(201, 169, 89, 0.3);
}

.footer__newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 89, 0.5);
}

/* Map Link */
.footer__map {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.footer__map:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 89, 0.3);
  transform: translateY(-2px);
}

.footer__map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__map:hover .footer__map-link {
  color: #C9A959;
}

/* Footer Bottom */
.footer__bottom {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

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

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer__legal-link:hover {
  color: #C9A959;
}

.footer__legal-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
}

/* Back To Top - Enhanced from app.js */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #C9A959 0%, #E5D4A6 100%);
  border: none;
  border-radius: 50%;
  color: #1D1D1F;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201, 169, 89, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(201, 169, 89, 0.6);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.back-to-top:hover::before {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  .footer__company {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer__main {
    padding: 60px 0 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__company {
    grid-column: auto;
  }

  .footer__social {
    flex-wrap: wrap;
  }

  .footer__bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer__legal {
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer__main {
    padding: 48px 0 32px;
  }

  .footer__grid {
    gap: 32px;
  }

  .footer__logo {
    height: 40px;
  }

  .footer__section-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .footer__newsletter {
    flex-direction: column;
  }

  .footer__newsletter-btn {
    width: 100%;
  }

  .footer__hours li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer__social-link {
    width: 40px;
    height: 40px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Performance */
@media (prefers-reduced-motion: reduce) {
  .footer__link,
  .footer__social-link,
  .footer__newsletter-btn,
  .footer__map,
  .back-to-top {
    transition-duration: 0.01ms !important;
  }
}
