﻿/* ================================================
   Reçber - Modern Stil Dosyası (2026)
   Ultra-Modern Design System
   ================================================ */

/* Scrollbar gizleme (kategori bar) */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Genel Geçişler - 2026 Standartları */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

/* Modern Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    border: 1px solid #e5e7eb;
}

.glass-dark {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Modern Typography */
body {
    font-variant-ligatures: common-ligatures;
    letter-spacing: -0.011em;
    background: #f8fafc;
    color: #1f2937;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
    font-weight: 700;
}

/* Görsel galeri */
.gallery-thumb {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 0.75rem;
}
.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #22c55e;
    opacity: 1;
    transform: scale(1.05);
}
.gallery-thumb:not(.active) {
    opacity: 0.5;
}

/* Kart hover efektleri */
.listing-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.listing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* Favori butonu animasyonu */
.fav-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.fav-btn:hover {
    transform: scale(1.2);
}
.fav-btn.active {
    color: #ef4444;
}

/* Loading spinner */
.spinner {
    border: 3px solid rgba(0,0,0,0.08);
    border-top-color: #22c55e;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Görsel yükleme alanı */
.upload-zone {
    border: 2px dashed #d4d4d8;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #fafafa;
}
.upload-zone:hover,
.upload-zone.dragover {
    border-color: #22c55e;
    background: #f0fdf4;
    transform: scale(1.01);
}

/* Mesaj baloncukları */
.msg-bubble-sent {
    background: #16a34a;
    color: white;
    border-radius: 1.25rem 1.25rem 0.375rem 1.25rem;
}
.msg-bubble-received {
    background: #f5f5f4;
    color: #1c1917;
    border-radius: 1.25rem 1.25rem 1.25rem 0.375rem;
}

/* Smooth page transitions */
main {
    animation: fadeIn 0.25s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* İlan detay galeri */
.main-image {
    aspect-ratio: 16/10;
    object-fit: cover;
    border-radius: 1rem;
}

/* Stat kartları */
.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Placeholder görsel */
.no-image {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.no-image i {
    font-size: 3rem;
    color: #94a3b8;
}

/* Form girdileri genel */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    border-color: #22c55e;
}

/* Buton genel geçiş */
button, a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* İlan Ver Butonu - Premium Emerald */
.ilan-ver-btn {
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #059669 0%, #10b981 40%, #34d399 100%);
    background-size: 200% 200%;
    border: none;
    box-shadow: 
        0 1px 2px rgba(5, 150, 105, 0.3),
        0 4px 12px rgba(5, 150, 105, 0.2),
        0 8px 24px rgba(5, 150, 105, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    animation: ilan-gradient 4s ease infinite;
    border-radius: 0.75rem;
}

@keyframes ilan-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Parlak üst kenar çizgisi */
.ilan-ver-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    pointer-events: none;
}

/* Kayar ışık efekti */
.ilan-ver-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.ilan-ver-btn:hover::after {
    left: 125%;
}

.ilan-ver-btn:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 40%, #10b981 100%);
    background-size: 200% 200%;
    box-shadow: 
        0 2px 4px rgba(5, 150, 105, 0.3),
        0 8px 20px rgba(5, 150, 105, 0.25),
        0 14px 36px rgba(5, 150, 105, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.ilan-ver-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.2);
    transition-duration: 0.1s;
}

/* İlan Ver ikon pulse */
.ilan-ver-btn .ilan-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 10px;
    transition: all 0.3s ease;
}

.ilan-ver-btn:hover .ilan-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Navbar scroll efekti */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

/* Pulse animasyonu */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.25; }
}
.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #22c55e, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom selection color */
::selection {
    background: rgba(22, 163, 74, 0.2);
    color: #0f172a;
}

/* Table hover rows */
table tbody tr {
    transition: background-color 0.15s ease;
}

/* Skeleton loading placeholder */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ================================================
   2026 Modern Enhancements
   ================================================ */

/* Smooth Ticker Animation */
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-animate {
    animation: ticker-scroll 30s linear infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.2);
}

/* Blink Animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-blink {
    animation: blink 2s ease-in-out infinite;
}

/* Slide Up Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out;
}

/* Kurumsal sade görünüm için ortak yumuşatma */
.rounded-2xl {
    border-radius: 0.875rem;
}

.shadow-2xl {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10) !important;
}

@keyframes pulse-slow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.85; transform: scale(0.98); } } .animate-pulse-slow { animation: pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite; } .custom-scrollbar::-webkit-scrollbar { width: 6px; } .custom-scrollbar::-webkit-scrollbar-track { background: transparent; } .custom-scrollbar::-webkit-scrollbar-thumb { background-color: #e2e8f0; border-radius: 20px; } .custom-scrollbar::-webkit-scrollbar-thumb:hover { background-color: #cbd5e1; }

