/* Kalpten Günler — Ana CSS */

:root {
    --primary: #e63946;
    --primary-light: #fff0f3;
    --secondary: #1d3557;
    --accent: #457b9d;
    --success: #2a9d8f;
    --text: #1d3557;
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-soft: #fff9fa;
    --border: #fce4ec;
}

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

/* Özel scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* Transition genel */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Kutu açma animasyonu */
@keyframes boxOpen {
    0% { transform: scale(1) rotateY(0deg); }
    50% { transform: scale(1.1) rotateY(90deg); }
    100% { transform: scale(1) rotateY(0deg); }
}

.box-opening {
    animation: boxOpen 0.6s ease-in-out;
}

/* Pulse animasyonu (bugünkü kutu) */
@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); }
}

.animate-pulse {
    animation: gentlePulse 2s ease-in-out infinite;
}

/* Line clamp (taşma kontrol) */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

/* Mobil optimizasyonlar */
@media (max-width: 640px) {
    .font-display {
        font-size: 90%;
    }
}

/* PWA standalone modda */
@media (display-mode: standalone) {
    body {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
}
