/* ============================================
   DEMKA EMLAK - FOOTER ULTRA PREMIUM CSS
   Yeniden Tasarlandı
============================================ */

.footer {
  background: #0A0A0A;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  padding: 100px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 20px;
}

/* Footer Brand */
.footer-col-about {
  padding-right: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  display: inline-block;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.footer-logo span {
  background: var(--color-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-about {
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.85;
  font-size: 0.95rem;
  max-width: 380px;
  margin-bottom: 32px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

/* Footer Columns */
.footer-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  padding-bottom: 14px;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--color-gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.50);
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
}

.footer-link::before {
  content: '→';
  font-size: 0.75rem;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.95);
  padding-left: 6px;
}

.footer-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   FOOTER İLETİŞİM - DÜZGÜN DİZİLİM
============================================ */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.93rem;
  line-height: 1;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--color-gold);
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 2px;
}

.contact-item span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.30);
  font-size: 0.85rem;
  gap: 20px;
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.50);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.30);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: var(--color-gold-gradient);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 895; /* WhatsApp barın (990) altında kal */
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 36px rgba(197, 160, 89, 0.5);
}

/* Mobilde WhatsApp/Ara barının üstüne çıkmasın */
@media (max-width: 768px) {
  .scroll-top {
    bottom: 90px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   RESPONSIVE FOOTER
============================================ */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer-col-about {
    padding-right: 0;
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 80px 0 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-col-about {
    grid-column: span 1;
  }
  .footer-about {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    /* Mobil sticky bar altında kalmasın */
    padding-bottom: 80px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}
