/**
 * Granoza Foods — Footer Stylesheet
 * 
 * Implements:
 * - Dark forest green background (#064E2B / #033D22)
 * - Subtle upper golden border / curved golden accent
 * - 4-Column responsive grid layout
 * - Soft cream logo container
 * - Tagline, quick links, contact info, location, and social placeholders
 * - Separate copyright bar with brand motto
 */

.site-footer {
  background-color: var(--color-dark-green);
  color: var(--color-white);
  position: relative;
  padding-top: 5rem;
  border-top: 4px solid var(--color-golden-wheat);
  z-index: 10;
  overflow: hidden;
}

/* Subtle botanical background glow */
.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(217, 154, 22, 0.12) 0%, rgba(3, 61, 34, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}

/* COLUMN 1: Brand & Logo */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-box {
  background-color: var(--bg-warm-cream);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  width: fit-content;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-golden-wheat);
}

.footer-logo-img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-golden-wheat);
  font-style: italic;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* COLUMN HEADINGS */
.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-warm-cream);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-golden-wheat);
}

/* COLUMN 2: Quick Links */
.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.footer-link::before {
  content: '›';
  color: var(--color-golden-wheat);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.footer-link:hover {
  color: var(--color-golden-wheat);
  transform: translateX(5px);
}

.footer-link:hover::before {
  transform: translateX(3px);
}

/* COLUMN 3: Contact Info */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--color-golden-wheat);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.footer-contact-item a:hover {
  color: var(--color-golden-wheat);
  text-decoration: underline;
}

/* COLUMN 4: Location & Socials */
.footer-location-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.footer-location-box i {
  color: var(--color-golden-wheat);
  font-size: 1.25rem;
  margin-top: 3px;
}

.footer-social-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-golden-wheat);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.footer-social-icons {
  display: flex;
  gap: 0.85rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background-color: var(--color-golden-wheat);
  color: var(--color-dark-green);
  border-color: var(--color-golden-wheat);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* COPYRIGHT BAR */
.footer-copyright-bar {
  background-color: #022615;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.copyright-motto {
  color: var(--color-golden-wheat);
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
  }

  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
  }

  .footer-tagline {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  .site-footer {
    padding-top: 3rem;
  }

  .copyright-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo-img {
    height: 48px;
  }
}
