/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background: var(--green-darker);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-16) 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Logo Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  background: #ffffff;
  padding: 5px 8px;
  border-radius: var(--radius-md);
  display: block;
}

.footer-logo-text h3 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.footer-tagline-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 4px 0 0 0;
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}

/* Footer Columns */
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-links a::before {
  content: '›';
  font-size: 1rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Footer Contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-item i {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover {
  color: var(--white);
}

/* Footer Social */
.footer-social-section h4 {
  color: var(--white);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-social-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
  border-radius: var(--radius-full);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-base);
  color: var(--white);
}

.footer-social a.fb { background: #1877f2; }
.footer-social a.yt { background: #ff0000; }
.footer-social a.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social a.li { background: #0077b5; }

.footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Tagline Badge */
.footer-tagline {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-align: center;
}

.footer-tagline p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--gold-light);
  margin: 0;
  line-height: 1.5;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: var(--gold-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== Responsive Footer ===== */
@media (max-width: 1200px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-8);
  }

  .footer-social-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: var(--space-10) 0 calc(var(--space-10) + var(--mobile-bottom-bar-height) + var(--safe-area-bottom));
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-bottom: var(--space-8);
  }

  .footer-logo {
    gap: 10px;
  }

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

  .footer-logo-text h3 {
    font-size: 1.05rem;
  }

  .footer-col h4 {
    margin-bottom: var(--space-3);
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    padding: 3px 0;
    font-size: 0.88rem;
  }

  .footer-contact-item {
    gap: 10px;
    font-size: 0.88rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.78rem;
    padding: 18px 0;
  }
}

