/* ============================================================
   SAUDI EXPAT GUIDE — footer.css
   Footer Styles
   © 2026 Saudi Expats Guide
============================================================ */

/* ── Footer Main ── */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding-top: 60px;
}

/* ── Footer Top Section ── */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── Footer Brand Column ── */
.footer-brand .footer-logo {
  display: inline-block;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand .logo-main {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--white);
  display: block;
}

.footer-brand .logo-main span {
  color: var(--gold);
}

.footer-brand .logo-tagline {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: var(--weight-medium);
  color: var(--gold);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--leading-loose);
  margin-bottom: 20px;
  max-width: 280px;
}

/* ── Social Links ── */
.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
  text-decoration: none;
}

.footer-social a:hover {
  background-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ── Footer Columns ── */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--weight-semi);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--teal);
  font-size: 16px;
  line-height: 1;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

/* ── Footer Contact Info ── */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: var(--teal);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* ── Footer Newsletter ── */
.footer-newsletter {
  margin-top: 16px;
}

.footer-newsletter p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.footer-newsletter-form {
  display: flex;
  gap: 8px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-form input:focus {
  border-color: var(--teal);
  background-color: rgba(255, 255, 255, 0.12);
}

.footer-newsletter-form button {
  padding: 10px 16px;
  background-color: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: var(--weight-semi);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background-color: var(--teal-dark);
  transform: translateY(-1px);
}

/* ── Footer Middle — Stats Bar ── */
.footer-stats {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  justify-content: center;
  gap: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-stat-item {
  text-align: center;
}

.footer-stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--gold);
  display: block;
}

.footer-stat-item .stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  display: block;
}

/* ── Footer Bottom ── */
.footer-bottom {
  background-color: var(--navy-dark);
  padding: 18px 24px;
  margin-bottom: 80px;
}

.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.footer-bottom p a {
  color: var(--gold);
  text-decoration: none;
}

.footer-bottom p a:hover {
  color: var(--gold-light);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--gold);
}

/* ── Responsive Footer ── */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-stats {
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter-form button {
    width: 100%;
  }
}