/* Footer – modern, koyu tema, layout uyumlu */

.apy-site-footer {
  margin-top: 0;
  border-top: none;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #fff;
  position: relative;
}

.apy-site-footer.apy-footer-new {
  padding-bottom: 0;
}

/* Üst accent çizgisi – tema rengi */
.apy-footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--apy-primary, #8f7452) 0%, #a88962 50%, var(--apy-primary, #8f7452) 100%);
  width: 100%;
}

/* Üst bölüm – kolonlar + görsel */
.apy-footer-top {
  padding: 40px;
}

.apy-footer-top .apy-container {
  display: block;
}

.apy-footer-top-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem 4rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.apy-footer-top-inner:not(.has-desktop-img) {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* Kolonlar – sol hizalı, düzenli grid */
.apy-footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem 3.5rem;
  justify-content: start;
  max-width: 100%;
}

.apy-footer-top-inner:not(.has-desktop-img) .apy-footer-columns {
  justify-content: center;
  justify-items: center;
  text-align: center;
}

.apy-footer-top-inner:not(.has-desktop-img) .apy-footer-col {
  text-align: center;
}

.apy-footer-col {
  min-width: 0;
}

.apy-footer-col-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  position: relative;
  padding-bottom: 0.5rem;
}

.apy-footer-col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--apy-primary, #8f7452);
  border-radius: 1px;
}

.apy-footer-top-inner:not(.has-desktop-img) .apy-footer-col-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.apy-footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.apy-footer-col-links li {
  margin-bottom: 0.4rem;
}

.apy-footer-col-links li:last-child {
  margin-bottom: 0;
}

.apy-footer-col-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 0.2s ease;
  display: inline-block;
  position: relative;
}

.apy-footer-col-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--apy-primary, #8f7452);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.apy-footer-col-links a:hover {
  color: var(--apy-primary, #8f7452);
}

.apy-footer-col-links a:hover::after {
  width: 100%;
}

/* Masaüstü görsel */
.apy-footer-top-img--desktop {
  justify-self: end;
  width: 100% !important;
}

.apy-footer-top-img--desktop img {
  display: block;

  height: auto;
  object-fit: cover;
  margin: 0 auto;
}

/* Mobil görsel – sadece mobilde */
.apy-footer-top-img--mobile {
  display: none;
  width: 100%;
}

.apy-footer-top-img--mobile img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Harita */
.apy-footer-map-wrap {
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.apy-footer-map {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
  background: #1f2937;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.3s ease;
}

.apy-footer-map:hover {
  filter: grayscale(0%) contrast(1);
}

/* Alt bölüm – sosyal + telif */
.apy-footer-bottom {
  padding: var(--apy-space-block) 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.apy-footer-bottom .apy-container {
  display: block;
}

.apy-footer-bottom-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.apy-footer-bottom-left {
  display: flex;
  align-items: center;
  padding-top: 20px;
}

.apy-footer-social-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: auto;
}

.apy-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.apy-footer-social-btn:hover {
  color: #fff;
  border-color: var(--apy-primary, #8f7452);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(143, 116, 82, 0.3);
}

.apy-footer-social-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Copyright */
.apy-footer-copyright {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  padding: 15px;
  text-align: center;
}

/* Mobil */
@media (max-width: 900px) {
  .apy-footer-top {
    padding: var(--apy-space-section) 0;
  }

  .apy-footer-top-inner {
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .apy-footer-top-img--mobile {
    display: block;
    order: -1;
    width: 100%;
    text-align: center;
  }

  .apy-footer-top-img--mobile img {
    max-width: 200px;
  }

  .apy-footer-top-img--desktop {
    display: none;
  }

  .apy-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 2rem;
    text-align: center;
    justify-items: center;
  }

  .apy-footer-col {
    text-align: center;
  }

  .apy-footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .apy-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .apy-footer-bottom-left {
    justify-content: center;
  }

  .apy-footer-social-wrap {
    justify-content: center;
  }

  .apy-footer-map {
    height: 260px;
  }
}

@media (max-width: 480px) {
  .apy-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Eski footer stilleri – geriye dönük uyumluluk */
.apy-footer-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 2rem 0;
}

.apy-footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.apy-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.apy-footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.apy-footer-nav a:hover {
  opacity: 0.85;
}

.apy-footer-social {
  display: flex;
  gap: 1rem;
}

.apy-footer-social a {
  color: #fff;
  display: inline-flex;
  transition: opacity 0.2s;
}

.apy-footer-social a:hover {
  opacity: 0.85;
}

.apy-footer-social svg {
  width: 24px;
  height: 24px;
}

.apy-footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.apy-footer-address {
  font-style: normal;
  line-height: 1.5;
}

.apy-footer-address-line {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.apy-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.apy-footer-tel,
.apy-footer-email {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.apy-footer-contact a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: opacity 0.2s;
}

.apy-footer-contact a:hover {
  opacity: 0.85;
}

.apy-footer-partner {
  margin: 0;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: lowercase;
}

.apy-footer-partner a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.apy-footer-partner a:hover {
  opacity: 0.85;
}