/* ===================================
   AI FAMA FOOTER STYLES
   Clean, editorial footer with brand colors
   =================================== */

.site-footer {
  background: #1C1C1E; /* AI Fama primary dark */
  color: #8E8E93; /* AI Fama secondary gray */
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 10;
  width: 100%;
  clear: both;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* ===================================
   MAIN FOOTER CONTENT
   =================================== */

.footer-main {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(142, 142, 147, 0.2); /* Subtle separator */
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 48px !important;
}

/* Brand Column */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  margin: 0 0 16px 0;
}

.footer-logo a {
  font-size: 24px;
  font-weight: 700;
  color: #F6F5F2; /* AI Fama warm background (works as light text) */
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: #8E8E93; /* AI Fama secondary */
  margin-bottom: 24px;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(246, 245, 242, 0.08); /* Subtle white overlay */
  border-radius: 50%;
  color: #8E8E93;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: #9C7A4B; /* AI Fama accent */
  color: #F6F5F2;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Footer Columns */
.footer-col {
  display: block;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #F6F5F2; /* Light warm text */
  margin-bottom: 16px;
}

.footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links li {
  margin-bottom: 12px !important;
  display: block !important;
}

.footer-links a {
  font-size: 15px;
  color: #8E8E93; /* AI Fama secondary */
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #9C7A4B; /* AI Fama accent */
}

/* ===================================
   FOOTER NEWSLETTER (Compact)
   =================================== */

.footer-newsletter {
  padding: 32px 0;
  background: rgba(0, 0, 0, 0.3); /* Slightly darker section */
  border-bottom: 1px solid rgba(142, 142, 147, 0.2);
}

.newsletter-compact {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 32px !important;
}

.newsletter-compact-content {
  flex-shrink: 0;
}

.newsletter-compact-title {
  font-size: 18px;
  font-weight: 600;
  color: #F6F5F2; /* Light warm text */
  margin: 0 0 4px 0;
}

.newsletter-compact-text {
  font-size: 14px;
  color: #8E8E93; /* AI Fama secondary */
  margin: 0;
}

.newsletter-compact-form {
  display: flex !important;
  gap: 12px !important;
  max-width: 400px !important;
  flex: 1 !important;
}

.newsletter-compact-input {
  flex: 1;
  padding: 12px 16px;
  font-size: 15px;
  background: rgba(246, 245, 242, 0.05); /* Very subtle light overlay */
  border: 1px solid rgba(142, 142, 147, 0.3);
  border-radius: 6px;
  color: #F6F5F2;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-compact-input::placeholder {
  color: #8E8E93;
}

.newsletter-compact-input:focus {
  outline: none;
  border-color: #9C7A4B; /* AI Fama accent */
  background: rgba(246, 245, 242, 0.08);
}

.newsletter-compact-button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  background: #9C7A4B; /* AI Fama accent */
  color: #F6F5F2;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.newsletter-compact-button:hover {
  background: #736045; /* Darker brown on hover */
}

/* ===================================
   FOOTER BOTTOM BAR
   =================================== */

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 14px !important;
}

.footer-copyright {
  color: #8E8E93; /* AI Fama secondary */
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  color: #8E8E93;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #9C7A4B; /* AI Fama accent */
}

.footer-legal .separator {
  color: rgba(142, 142, 147, 0.5);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }

  .newsletter-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .newsletter-compact-form {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .site-footer {
    margin-top: 0;
    padding-top: 0;
  }

  .footer-main {
    padding: 40px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(142, 142, 147, 0.2);
  }
  
  .footer-logo a {
    font-size: 22px;
  }
  
  .footer-tagline {
    font-size: 14px;
  }
  
  .footer-heading {
    font-size: 13px;
    margin-bottom: 14px;
  }
  
  .footer-links a {
    font-size: 14px;
  }

  .footer-newsletter {
    padding: 20px 0;
  }
  
  .newsletter-compact-title {
    font-size: 16px;
  }
  
  .newsletter-compact-text {
    font-size: 13px;
  }

  .newsletter-compact-form {
    flex-direction: column;
    gap: 10px;
  }
  
  .newsletter-compact-input {
    padding: 11px 14px;
    font-size: 14px;
  }

  .newsletter-compact-button {
    width: 100%;
    padding: 11px 20px;
    font-size: 14px;
  }
  
  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    font-size: 13px !important;
  }
  
  .footer-copyright {
    font-size: 13px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 13px;
  }
  
  .footer-legal a {
    font-size: 13px;
  }
}

/* ===================================
   ALTERNATIVE: MINIMAL FOOTER
   (Use this if you want even cleaner)
   =================================== */

/* Alternative minimal footer styles commented out
.site-footer {
  background: #F6F5F2;
  color: #8E8E93;
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid #E0DED9;
}

.footer-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-minimal-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-minimal-links a {
  color: #8E8E93;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-minimal-links a:hover {
  color: #9C7A4B;
}

@media (max-width: 768px) {
  .footer-minimal {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-minimal-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
End alternative styles */