/* ==============================================================================
 * FILE: nav-footer.css
 * CATEGORY: MarlonWalksLA Website - Global Footer Styling
 * ============================================================================== */

/* Base Footer Styles - Compact & Dark */
.custom-footer {
  background-color: #121826; 
  color: #ffffff; 
  padding: 2.5rem 0 1rem 0; 
  width: 100%;
  border-top: 2px solid #ff007f; /* Ernesto's Magenta */
}

.custom-footer .container {
  max-width: 1136px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Grid Layout for Top Section */
.footer-top-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px; /* Increased gap slightly for extra breathing room between columns */
  margin-bottom: 2rem; 
}

/* Brand Column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* max-width removed to allow the wide display font to fit perfectly */
  margin-right: auto; /* Pushes the link columns safely to the right side of the page */
  padding-right: 40px; /* Safety buffer before it wraps on smaller screens */
}

.footer-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  gap: 15px;
}

.footer-logo-img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
}

/* Link Columns */
.footer-links-col {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem; 
  color: #ffffff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px; 
}

.footer-list a {
  text-decoration: none;
  color: #cbd5e1; 
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center; 
  transition: color 0.2s ease;
}

.footer-list a:hover {
  color: #00e5ff; /* Ernesto's camera Cyan */
}

/* Social link wrapper specific styles */
.social-link-wrapper {
  gap: 8px; 
}

.social-logo {
  opacity: 0.8;
}

.footer-list a:hover .social-logo {
  opacity: 1; 
}

/* Review Highlight */
.highlight-link {
  color: #ffe600 !important; /* Ernesto's bright yellow hat color */
}

/* External Link Indicator Icon */
.ext-icon {
  width: 12px;
  height: 12px;
  margin-left: 6px;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.footer-list a:hover .ext-icon {
  opacity: 0.9;
}

/* Bottom Bar (Copyright & Legal) */
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 1.5rem; 
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 15px;
}

.copyright-text {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #ffffff;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .footer-top-grid {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-brand-col {
    margin-right: 0; /* Resets the wedge so items stack properly on mobile */
    padding-right: 0;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}
