/* Targeted restoration: keep the existing visual style while removing the unwanted side card and theme control. */
.night-toggle { display: none !important; }
.why-visual { display: none !important; }
.why-grid { grid-template-columns: minmax(0, 1fr) !important; max-width: 860px; margin-inline: auto; }
.why-content { width: 100%; }

/* Replace text labels with recognizable brand marks. YouTube stays inactive until a panel URL exists. */
.footer-social a[href*="instagram.com"],
.footer-social a[href*="facebook.com"],
.footer-social a[href*="youtube.com"] {
  width: 42px; height: 42px; padding: 0 !important; display: inline-flex;
  align-items: center; justify-content: center; font-size: 0 !important;
  color: #d1d5db; border-radius: 50%;
}
.footer-social a[href*="instagram.com"]::before,
.footer-social a[href*="facebook.com"]::before,
.footer-social a[href*="youtube.com"]::before,
.footer-social:not(:has(a[href*="youtube.com"]))::after {
  content: ""; display: block; width: 21px; height: 21px; background: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
}
.footer-social a[href*="instagram.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2.2A2.8 2.8 0 0 0 4.2 7v10A2.8 2.8 0 0 0 7 19.8h10a2.8 2.8 0 0 0 2.8-2.8V7A2.8 2.8 0 0 0 17 4.2zm5 2.1a5.7 5.7 0 1 1 0 11.4 5.7 5.7 0 0 1 0-11.4zm0 2.2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zm5.95-3.35a1.35 1.35 0 1 1 0 2.7 1.35 1.35 0 0 1 0-2.7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2.2A2.8 2.8 0 0 0 4.2 7v10A2.8 2.8 0 0 0 7 19.8h10a2.8 2.8 0 0 0 2.8-2.8V7A2.8 2.8 0 0 0 17 4.2zm5 2.1a5.7 5.7 0 1 1 0 11.4 5.7 5.7 0 0 1 0-11.4zm0 2.2a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zm5.95-3.35a1.35 1.35 0 1 1 0 2.7 1.35 1.35 0 0 1 0-2.7z'/%3E%3C/svg%3E");
}
.footer-social a[href*="facebook.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.4c0-3.03 1.79-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.96H15.8c-1.49 0-1.95.93-1.95 1.88v2.29h3.32l-.53 3.49h-2.79V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.07C24 5.4 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.05V9.4c0-3.03 1.79-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.96H15.8c-1.49 0-1.95.93-1.95 1.88v2.29h3.32l-.53 3.49h-2.79V24C19.61 23.1 24 18.1 24 12.07z'/%3E%3C/svg%3E");
}
.footer-social a[href*="youtube.com"]::before,
.footer-social:not(:has(a[href*="youtube.com"]))::after {
  background: #b8b8b8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12s0 3.8.5 5.8a3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1c.5-2 .5-5.8.5-5.8s0-3.8-.5-5.8ZM9.6 15.6V8.4L15.8 12z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31 31 0 0 0 0 12s0 3.8.5 5.8a3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1c.5-2 .5-5.8.5-5.8s0-3.8-.5-5.8ZM9.6 15.6V8.4L15.8 12z'/%3E%3C/svg%3E");
}
.footer-social:not(:has(a[href*="youtube.com"]))::after { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-sizing: border-box; padding: 10px; }

/* 2026-10-15: requested contact map and homepage metadata adjustments */
.map-container iframe { filter: none !important; }
@media (min-width: 768px) {
  .hero-meta { flex-wrap: nowrap !important; gap: 10px !important; }
  .hero-meta .meta-item { flex: 0 0 auto; white-space: nowrap; }
}


/* Mobil: projeye ulaşım düğmeleri ekrana sığsın; alt marka ve açıklama rahat okunsun. */
@media (max-width: 767px) {
  *:has(> a[href*="05334048565"]):has(> a[href*="/projects"]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  *:has(> a[href*="05334048565"]):has(> a[href*="/projects"]) > a[href*="05334048565"],
  *:has(> a[href*="05334048565"]):has(> a[href*="/projects"]) > a[href*="/projects"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
  footer a[href="/"] {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  footer a[href="/"] img {
    width: 72px !important;
    max-width: 22vw !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
  footer p {
    padding-right: 76px !important;
    box-sizing: border-box !important;
  }
}


/* Fallback CTA pair used by the current homepage content. */
@media (max-width: 767px) {
  *:has(> a[href*="/contact"]):has(> a[href*="/projects"]) {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  *:has(> a[href*="/contact"]):has(> a[href*="/projects"]) > a[href*="/contact"],
  *:has(> a[href*="/contact"]):has(> a[href*="/projects"]) > a[href*="/projects"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }
}


/* İstenen tekrar eden Meydan Park satış çağrısı bandını kaldır. */
section:has(a[href*="05334048565"]):has(a[href*="/projects"]) {
  display: none !important;
}
