/* =========================================================
   Haliç Çevre – main.css
   Son katman: site geneli ince ayarlar
   ========================================================= */

/* WP align sınıfları */
.alignnone  { margin: 0.5rem 0; }
.aligncenter{ display: block; margin-inline: auto; }
.alignleft  { float: left; margin: 0.5rem 1rem 0.5rem 0; }
.alignright { float: right; margin: 0.5rem 0 0.5rem 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--color-text-light); text-align: center; margin-top: 0.25rem; }

/* Gallery */
.gallery { display: grid; gap: var(--space-sm); }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }

/* Site main wrapper */
.home-wrapper { display: flex; flex-direction: column; }

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width .1s linear;
}

/* ── Cursor glow ── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9999;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(12,77,162,.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: left .1s ease, top .1s ease;
  display: none;
}
@media (pointer: fine) { #cursor-glow { display: block; } }

/* Customizer overlay */
body.customize-partial-refreshing .hero,
body.customize-partial-refreshing .service-card {
  opacity: .7;
  transition: opacity 0.3s ease;
}

/* Print */
@media print {
  .site-header,
  .site-footer,
  .scroll-top,
  #halic-ai-widget { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}
