/* ==================== MOBİL MENÜ (OVERLAYSİZ TASARIM) ==================== */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 99999;
    padding: 80px 0 20px 0;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu.active {
    right: 0;
}

.menu a {
    display: block;
    padding: 15px 25px;
    color: #1e293b;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
    position: relative;
    z-index: 100000;
    cursor: pointer;
}

.menu a:active {
    background: #fee2e2;
    color: #dc2626;
}

.menu a:hover {
    background: #fef2f2;
    color: #dc2626;
    padding-left: 35px;
}

/* Overlay kaldırıldı - artık yok */

/* ==================== FAQ ACCORDION ==================== */
.faq-item .faq-a {
    display: none;
}

.faq-item.active .faq-a {
    display: block !important;
    animation: slideDown 0.4s ease-out;
}

.faq-item.active .faq-q i {
    transform: rotate(180deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== CUSTOM SCROLLBAR ==================== */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

/* ==================== ANIMATIONS ==================== */
@keyframes blob {
    0%, 100% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* ==================== iOS SAFE AREA ==================== */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* ==================== SMOOTH TRANSITIONS ==================== */
* {
    -webkit-tap-highlight-color: transparent;
}

a, button {
    -webkit-user-select: none;
    user-select: none;
}

/* ==================== PROSE IMPROVEMENTS ==================== */
.prose {
    max-width: none;
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.prose h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.prose h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose a {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.prose a:hover {
    text-decoration: underline;
}

.prose img {
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    .menu.active {
        padding-top: 80px;
    }
}

/* ==================== NAV SHADOW ==================== */
.nav {
    transition: box-shadow 0.3s ease;
}

/* ==================== LOADING STATES ==================== */
img[data-src] {
    opacity: 0.5;
    transition: opacity 0.3s;
}

img[data-src]:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ==================== HOVER EFFECTS ==================== */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* ==================== RESPONSIVE HELPERS ==================== */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .nav,
    .mobile-menu,
    footer,
    .fixed {
        display: none !important;
    }
}