/* Modern Footer Styles */
.site-footer {
  width: 100%;
  max-width: none;
  border-radius: 0;
  
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.75) 100%
  );
  
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  padding: clamp(20px, 3vw, 30px) clamp(20px, 4vw, 40px) clamp(14px, 2vw, 20px);
  margin: 0;
  
  /* Ensure footer is at the bottom */
  margin-top: auto;
  
  /* Smooth scroll anchor positioning */
  scroll-margin-top: 90px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(18px, 2vw, 24px);
  text-align: left;
  align-items: start;
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand a {
  display: inline-flex;
  text-decoration: none;
}

.footer-brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--text, #ffffff);
  margin: 0;
  letter-spacing: 0.5px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  max-width: 280px;
}

/* Footer Sections */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text, #ffffff);
  margin: 0 0 4px 0;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Contact Items */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent, #B76E79);
  opacity: 0.9;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 180ms ease;
  border-bottom: 1px solid transparent;
}

.footer-contact-item a:hover {
  color: var(--accent, #B76E79);
  border-bottom-color: var(--accent, #B76E79);
}

/* Footer Actions */
.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--text, #ffffff);
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.footer-button svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-button:hover,
.footer-button:focus {
  background: var(--accent, #B76E79);
  border-color: var(--accent, #B76E79);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
  outline: none;
}

.footer-button:active {
  transform: translateY(0);
}

/* Footer Text Links */
.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.footer-text-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-text-link:hover,
.footer-text-link:focus {
  color: var(--accent, #B76E79);
  border-bottom-color: var(--accent, #B76E79);
  outline: none;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}

@media (min-width: 769px) and (max-width: 1150px) {
  .footer-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .footer-brand-logo {
    width: 80px;
    height: 80px;
  }
}

/* Responsive Layout */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  
  .footer-brand,
  .footer-contact,
  .footer-actions,
  .footer-links {
    align-items: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
  
  .footer-buttons {
    width: 100%;
    max-width: 300px;
  }

  .footer-text-link {
    width: auto;
  }
}
