/* === Tailwind CDN Fallback — CDN yoksa site okunabilir === */
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: #0f172a;
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 96px 0;
}

/* Legal/policy pages — remove section padding for compact layout */
.legal-content section {
  padding: 0;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

button,
a {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

/* === Skip Link === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0f172a;
  color: #ffffff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* === Focus Ring === */
*:focus-visible {
  outline: 2px solid #d48a56;
  outline-offset: 2px;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Print Styles === */
@media print {
  header,
  footer,
  .fab {
    display: none !important;
  }
  section {
    padding: 24px 0;
    break-inside: avoid;
  }
}

/* === Accordion (SSS) === */
details > summary {
  list-style: none; /* remove default arrow */
}
details > summary::-webkit-details-marker {
  display: none; /* remove default arrow for Safari */
}

/* Modern Grid Accordion (Zero-JS) */
details .accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease-in-out;
}

details[open] .accordion-content {
  grid-template-rows: 1fr;
}

details .accordion-inner {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  details .accordion-content {
    transition: none !important;
  }
}

/* === Scroll Progress Indicator === */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: #d48a56;
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #scroll-progress {
    display: none !important;
  }
}

/* === Hide Scrollbar Utility === */
.hide-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

/* === WhatsApp Pulse Animation === */
@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.animate-whatsapp-pulse {
  animation: whatsapp-pulse 2s infinite;
}

/* === Section Images === */
.section-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.section-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.section-image-container:hover img {
  transform: scale(1.03);
}

/* Hero image float effect */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-image-wrapper {
  animation: hero-float 4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-wrapper {
    animation: none !important;
  }
  .section-image-container:hover img {
    transform: none !important;
  }
}

/* === Typewriter Cursor === */
.typewriter-cursor::after {
  content: "|";
  color: currentColor;
  font-weight: 300;
  animation: typewriter-blink 1s step-end infinite;
}

@keyframes typewriter-blink {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* === Marquee Animations === */
@keyframes marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.animate-marquee-left {
  animation: marquee-left 60s linear infinite;
}

.animate-marquee-right {
  animation: marquee-right 60s linear infinite;
}

