/* ============================================
   HASINDER - FOOTER (footer.css)
   4 kolonlu, newsletter, sosyal, legal
   ============================================ */

.site-footer {
  background: var(--gradient-dark);
  color: var(--gray-300);
  position: relative;
  overflow: hidden;
  margin-top: var(--space-20);
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-accent);
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-16) var(--container-padding) var(--space-8);
}

/* === NEWSLETTER === */
.footer-newsletter {
  background: linear-gradient(135deg, rgba(27,54,93,0.5) 0%, rgba(46,74,127,0.3) 100%);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
  position: relative;
  overflow: hidden;
}
.footer-newsletter::before {
  content: '';
  position: absolute;
  top: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-content { flex: 1; min-width: 280px; position: relative; }
.newsletter-title {
  color: white;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  display: flex; align-items: center; gap: var(--space-2);
}
.newsletter-title i { color: var(--accent); }
.newsletter-desc { color: var(--gray-400); font-size: var(--text-sm); }
.newsletter-form { display: flex; gap: var(--space-2); position: relative; }
.newsletter-form input {
  flex: 1; min-width: 240px;
  padding: var(--space-3) var(--space-4);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  color: white;
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--transition-fast);
}
.newsletter-form input::placeholder { color: var(--gray-500); }
.newsletter-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}
.newsletter-form button {
  padding: var(--space-3) var(--space-5);
  background: var(--gradient-accent);
  color: var(--primary-dark);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: var(--space-2);
  transition: all var(--transition-base);
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* === FOOTER GRID === */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-col h3 {
  color: white;
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-2);
  display: flex; align-items: center; gap: var(--space-2);
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gradient-accent);
}
.footer-col h3 i { color: var(--accent); }

/* === BRAND COL === */
.footer-brand { max-width: 320px; }
.footer-logo {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.footer-logo-icon {
  width: 52px; height: 52px;
  background: var(--gradient-accent);
  color: var(--primary-dark);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-gold);
  flex-shrink: 0;
}
.footer-logo-icon svg { width: 32px; height: 32px; display: block; }
.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: transparent;
  box-shadow: var(--shadow-gold);
}
.footer-logo-text { display: flex; flex-direction: column; }
.footer-logo-name { font-weight: 800; font-size: var(--text-xl); color: white; }
.footer-logo-tag { font-size: 10px; color: var(--accent); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
}
.footer-social { display: flex; gap: var(--space-2); }
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-base);
}
.footer-social a svg { transition: transform 0.2s; }
.footer-social a:hover { transform: translateY(-2px); border-color: transparent; color: #fff; }
.footer-social a:hover svg { transform: scale(1.15); }
.footer-social a.social-facebook:hover { background: #1877f2; border-color: #1877f2; box-shadow: 0 6px 18px rgba(24,119,242,0.4); }
.footer-social a.social-instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-color: transparent; box-shadow: 0 6px 18px rgba(220,39,67,0.4); }
.footer-social a.social-x:hover { background: #000; border-color: #000; box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
.footer-social a.social-linkedin:hover { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 6px 18px rgba(10,102,194,0.4); }
.footer-social a.social-whatsapp:hover { background: #25d366; border-color: #25d366; box-shadow: 0 6px 18px rgba(37,211,102,0.4); }

/* === LINK COLS === */
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: var(--space-3); }
.footer-links a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--gray-400);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-links a i {
  width: 14px; height: 14px;
  color: var(--accent);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}
.footer-links a:hover i { opacity: 1; }

/* === CONTACT COL === */
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  margin-bottom: var(--space-4);
  color: var(--gray-400);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.footer-contact li i {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact a { color: var(--gray-300); text-decoration: none; transition: color var(--transition-fast); }
.footer-contact a:hover { color: var(--accent); }

/* === BOTTOM BAR === */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copyright {
  color: var(--gray-500);
  font-size: var(--text-sm);
}
.footer-copyright strong { color: var(--accent); }
.footer-legal {
  display: flex; gap: var(--space-6);
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--gray-400);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex; align-items: center; gap: var(--space-1);
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal a i { width: 12px; height: 12px; }

/* === PAYMENT METHODS === */
.footer-payments {
  display: flex; gap: var(--space-2);
  align-items: center;
  flex-wrap: wrap;
}
.payment-icon {
  background: white;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  height: 24px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.5px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; max-width: 100%; }
}
@media (max-width: 640px) {
  .footer-inner { padding: var(--space-12) var(--container-padding) var(--space-6); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .footer-brand { grid-column: span 1; }
  .footer-newsletter { flex-direction: column; align-items: stretch; padding: var(--space-6); }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}
