/* SF Mühendislik - Custom styles */

/* Blueprint-style technical drawing texture for service cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(to right, #0a0a0a 1px, transparent 1px),
    linear-gradient(to bottom, #0a0a0a 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Optional: subtle diagonal lines for more "technical" feel */
.service-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(10, 10, 10, 0.02) 20px,
    rgba(10, 10, 10, 0.02) 21px
  );
}

.service-card h3,
.service-card ul {
  position: relative;
  z-index: 1;
}

/* Hero fade-in on load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

/* Scroll reveal: hidden until in view */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid items (optional, can be set via JS) */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }
.scroll-reveal.delay-5 { transition-delay: 0.5s; }
.scroll-reveal.delay-6 { transition-delay: 0.6s; }

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* 1536px ve üzeri geniş ekranlarda ana font boyutunu büyüt */
@media (min-width: 1536px) {
  html {
    font-size: 18px;
  }
}

/* 2000px ve üzeri ultra geniş ekranlarda bir kademe daha büyüt */
@media (min-width: 2000px) {
  html {
    font-size: 20px;
  }
}

/* Focus styles for accessibility */
input:focus,
textarea:focus,
button:focus {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}
