/* Kafkas Yapı - Custom Typography & Theme Enhancements */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-brand-500: #d97706;
  --color-brand-600: #b45309;
  --color-dark-bg: #1A120B;
}

body {
  font-family: var(--font-sans);
  background-color: #FAF7F2;
  color: #1A120B;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-fadeIn {
  animation: fadeIn 0.3s ease-out forwards;
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1ebd8;
}
::-webkit-scrollbar-thumb {
  background: #b45309;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #78350f;
}

/* Parchment and Wooden UI Styles */
.wooden-card {
  background-color: #1F1610;
  border: 4px solid #8C6243;
}

.wooden-header {
  background-color: #2E1E14;
  border-bottom: 2px solid #543622;
}

.parchment-content {
  background-color: #FAF7F2;
  color: #1A120B;
}

.parchment-box {
  background-color: #EFE8DC;
  border: 1px solid #D8CDBA;
}

/* Prose Styling for Blog & Policy content */
.prose h2, .prose h3, .prose h4 {
  color: #1A120B;
  font-weight: 900;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.prose p {
  margin-bottom: 1em;
  line-height: 1.7;
}
.prose ul, .prose ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
  list-style-type: disc;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose strong {
  color: #1A120B;
  font-weight: 800;
}

/* Floating WhatsApp Button Pulse */
.whatsapp-pulse {
  animation: pulseSubtle 2.5s infinite;
}

/* Mobile Specific Optimizations & Safe Areas */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
  .whatsapp-pulse {
    bottom: 82px !important;
  }
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
