/**
 * Footer Styles
 * Modern dark footer with 3 columns
 */

/* ============================================
   FOOTER SECTION
   ============================================ */
.site-footer {
  background-color: #262626;
  color: #E5E5E5;
  padding: var(--spacing-xl) 0 0;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ============================================
   FOOTER CONTENT (3 COLUMNS)
   ============================================ */
.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */
.footer-column {
  display: flex;
  flex-direction: column;
}

/* ============================================
   FOOTER HEADINGS
   ============================================ */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* ============================================
   COLUMN 1: ABOUT WITH LOGO
   ============================================ */
.footer-about {
  padding-right: var(--spacing-md);
}

.footer-logo {
  margin-bottom: var(--spacing-md);
  max-width: 250px;
}

.footer-logo img {
  width: auto;
  max-height: 120px;
  display: block;
}

.footer-brand {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #B8B8B8;
  margin-bottom: var(--spacing-md);
}

/* Social Links */
.footer-social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: #B8B8B8;
  transition: all var(--transition-base);
  position: relative;
  z-index: 10;
}

.social-link:hover {
  background-color: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ============================================
   COLUMN 2: CONTACT INFORMATION
   ============================================ */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #B8B8B8;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-gold);
}

.contact-item a {
  color: #B8B8B8;
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-item a:hover {
  color: var(--color-gold);
}

/* ============================================
   COLUMN 3: OPENING TIMES
   ============================================ */
.opening-times-simple {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.opening-time-line {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #E5E5E5;
}

/* ============================================
   FOOTER BOTTOM BAR
   ============================================ */
.footer-bottom {
  padding: var(--spacing-md) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  margin: 0;
  font-size: 0.875rem;
  color: #888;
}

.footer-legal-nav {
  display: flex;
}

.footer-legal-menu {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 0.875rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-legal-menu li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.footer-legal-menu li:not(:last-child)::after {
  content: '|';
  color: #555;
  margin: 0 var(--spacing-sm);
}

.footer-legal-menu a {
  color: #888;
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-legal-menu a:hover {
  color: var(--color-gold);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  right: var(--spacing-lg);
  bottom: var(--spacing-lg);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-gold));
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(139, 21, 56, 0.4);
}

.back-to-top svg {
  stroke-width: 2.5;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }

  .footer-hours {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .site-footer {
    padding: var(--spacing-lg) 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
  }

  .footer-column {
    padding-right: 0;
  }

  .footer-about {
    padding-right: 0;
  }

  .footer-logo {
    max-width: 200px;
  }

  .footer-logo img {
    max-height: 60px;
  }

  .footer-brand {
    font-size: 1.25rem;
  }

  .footer-description {
    font-size: 0.875rem;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }

  .contact-item {
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
  }

  .opening-time-line {
    font-size: 0.875rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    right: var(--spacing-md);
    bottom: var(--spacing-md);
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-social-links {
    flex-wrap: wrap;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }

}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-footer {
    background-color: transparent;
    color: #000;
    border-top: 2px solid #000;
  }

  .footer-social-links,
  .back-to-top,
  .footer-legal-menu {
    display: none;
  }

  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-heading {
    color: #000;
  }

  .contact-item,
  .footer-description,
  .opening-time-line {
    color: #333;
  }
}
