/* ============================================
   MOBTAKER - Footer Component
   ============================================ */

.footer {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-8);
  }
}

/* Footer Brand */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo img {
  height: 78px;
  width: auto;
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-heading);
}

.footer-logo-text span {
  color: var(--color-accent);
}

.footer-description {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.footer-social-link:hover {
  background-color: var(--color-accent);
  color: white;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

/* Footer Column */
.footer-column h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--text-muted);
  font-size: var(--text-lg);
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 40px;
}

.footer-link:hover {
  color: var(--color-accent);
}

/* Footer Contact */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 18px;
  height: 18px;
}

.footer-contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-contact-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-value {
  font-size: var(--text-base);
  color: var(--text);
}

.footer-contact-value a {
  color: var(--text);
  transition: color var(--transition-fast);
}

.footer-contact-value a:hover {
  color: var(--color-accent);
}

/* Phone Numbers */
.footer-phones {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

.footer-phone-flag {
  font-size: var(--text-base);
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  [dir="rtl"] .footer-bottom {
    text-align: right;
  }
}

.footer-copyright {
  font-size: var(--text-base);
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.footer-legal a {
  font-size: var(--text-base);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text);
}
