/* Starkopi custom styles */

/* Nav active link */
.nav-link.active {
  color: #CC2222;
  font-weight: 600;
}
.dark .nav-link.active {
  color: #E53535;
}

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

/* Scroll-reveal animasyon */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sayaç animasyonu */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
.counter-value {
  animation: countUp 0.6s ease forwards;
}

/* Kart hover efekti */
.product-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(204, 34, 34, 0.10);
}
.dark .product-card:hover {
  box-shadow: 0 12px 32px rgba(229, 53, 53, 0.12);
}

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(135deg, #fff 0%, #fef5f5 50%, #fff5f5 100%);
}
.dark .hero-gradient {
  background: linear-gradient(135deg, #0F0F0F 0%, #160909 50%, #0F0F0F 100%);
}

/* Fiyat hesaplama form */
.calc-input {
  @apply w-full px-3 py-2.5 text-sm rounded-lg border border-[#DDD] dark:border-[#333]
         bg-white dark:bg-[#1A1A1A] text-[#1A1A1A] dark:text-[#F0F0F0]
         focus:outline-none focus:ring-2 focus:ring-[#CC2222] focus:border-transparent
         transition-colors;
}

.calc-label {
  @apply block text-xs font-semibold text-[#555] dark:text-[#999] mb-1.5 uppercase tracking-wide;
}

/* Fiyat kutusu pulse animasyonu */
@keyframes pricePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.price-pulse {
  animation: pricePulse 0.4s ease;
}

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid #e0e0e0;
  border-top-color: #CC2222;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Stripe pattern (dekoratif) */
.stripe-bg {
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    rgba(204,34,34,0.04) 6px,
    rgba(204,34,34,0.04) 12px
  );
}

/* Tipografi */
.section-title {
  @apply font-heading font-bold text-3xl sm:text-4xl text-[#1A1A1A] dark:text-[#F0F0F0];
}
.section-subtitle {
  @apply text-[#666] dark:text-[#888] text-base sm:text-lg mt-3 leading-relaxed;
}
