/* Index sayfasına özel stiller */
.hero-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO CARD - İKİ BUTON YAN YANA
============================================ */

/* İki buton container */
.hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Ortak buton stilleri */
.hero-btn {
    padding: 14px 12px;
    border-radius: 14px;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.hero-btn:active {
    transform: scale(0.96);
}

/* Sol Buton - GPS Sürüş (Primary) */
.hero-btn-primary {
    background: white;
    color: var(--accent);
}

.hero-btn-primary:active {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Sağ Buton - Manuel Rota (Secondary) */
.hero-btn-secondary {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255,255,255,0.35);
}

.hero-btn-secondary:active {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

/* Buton İkon */
.hero-btn-icon {
    font-size: 24px;
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

/* Primary buton ikonu farklı renk */
.hero-btn-primary .hero-btn-icon {
    filter: grayscale(0);
}

/* İçerik (Başlık + Alt yazı) */
.hero-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex: 1;
}

/* Buton Başlığı */
.hero-btn-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* Buton Alt Yazısı */
.hero-btn-subtitle {
    font-size: 10px;
    opacity: 0.8;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Primary buton alt yazısı */
.hero-btn-primary .hero-btn-subtitle {
    color: var(--text-secondary);
}

/* Secondary buton alt yazısı */
.hero-btn-secondary .hero-btn-subtitle {
    color: rgba(255,255,255,0.9);
}

/* Hover efekti (desktop için) */
@media (hover: hover) {
    .hero-btn:hover {
        transform: translateY(-2px);
    }
    
    .hero-btn-primary:hover {
        box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
    }
    
    .hero-btn-secondary:hover {
        background: rgba(255,255,255,0.25);
    }
}

/* Küçük ekranlar için responsive */
@media (max-width: 360px) {
    .hero-btn {
        padding: 12px 10px;
        gap: 8px;
    }
    
    .hero-btn-icon {
        font-size: 22px;
    }
    
    .hero-btn-title {
        font-size: 13px;
    }
    
    .hero-btn-subtitle {
        font-size: 9px;
    }
}
/* ============================================
   HERO SECTION İÇERİK STİLLERİ SONU
============================================ */

.greeting {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    margin-bottom: 4px;
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.hero-stat {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 12px;
    text-align: center;
}

.hero-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.hero-stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
    font-weight: 500;
}

.goal-achievement {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

.achievement-badge {
    font-size: 48px;
    margin-bottom: 10px;
    animation: bounce 1s infinite;
}

.achievement-text {
    color: white;
    font-size: 14px;
    line-height: 1.6;
}

.achievement-text strong {
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.bonus-text {
    color: #ffd700;
    font-weight: bold;
}
/*
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

.btn-icon {
    font-size: 22px;
    animation: pulse 2s ease-in-out infinite;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    animation: slideUp 0.7s ease-out 0.2s both;
}

.action-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 16px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.action-card:active {
    transform: scale(0.96);
}

.action-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: block;
}

.action-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.action-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Rota Bölümleri */
.routes-section {
    margin-top: 32px;
    animation: slideUp 0.7s ease-out 0.4s both;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.view-all {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.view-all:active {
    opacity: 0.7;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.route-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
}

.route-card:active {
    transform: scale(0.96);
}

.route-image {
    width: 100%;
    aspect-ratio: 3/4;
    /*height: 200px;*/
    background-size: cover;
    background-position: center;
    position: relative;
}

.route-difficulty {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.difficulty-kolay {
    background: rgba(34, 197, 94, 0.9);
}

.difficulty-orta {
    background: rgba(251, 146, 60, 0.9);
}

.difficulty-zor {
    background: rgba(239, 68, 68, 0.9);
}

.route-rating {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 8px;
}

.route-info {
    padding: 12px;
}

.route-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.route-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.route-distance {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.route-distance svg {
    color: var(--accent);
}

.route-city {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.route-author {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border);
}

.author-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-route {
    position: relative;
}

.featured-route::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.3;
}

/* Animasyonlar */
/*@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* ============================================
   SOSYAL AKIŞ SECTION
============================================ */
.social-feed-section {
    margin-top: 32px;
    animation: slideUp 0.7s ease-out 0.3s both;
    display: none; /* SOSYAL AKIŞ ŞİMDİLİK GİZLENDİ */
}

.social-feed {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-md);
}

/* Feed Item - Her Aktivite Satırı */
.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.feed-item:hover {
    background: var(--bg-primary);
}

.feed-item:active {
    transform: scale(0.98);
}

/* Her aktivite arasına ince çizgi */
.feed-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
}

/* Sol taraftaki ikon badge */
.feed-icon-badge {
    position: absolute;
    left: 8px;
    top: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
}

.ride-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.comment-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.badge-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Avatar */
.feed-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
    margin-left: 8px; /* Badge için yer açıyor */
}

/* İçerik Alanı */
.feed-content {
    flex: 1;
    min-width: 0;
}

.feed-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feed-user {
    font-weight: 700;
    color: var(--text-primary);
}

.feed-action {
    color: var(--text-secondary);
    font-weight: 500;
}

.feed-action strong {
    color: var(--accent);
    font-weight: 700;
}

/* Meta Bilgiler */
.feed-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.feed-time {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Responsive - Küçük ekranlarda */
@media (max-width: 380px) {
    .feed-avatar {
        width: 38px;
        height: 38px;
    }
    
    .feed-text {
        font-size: 13px;
    }
    
    .meta-item {
        font-size: 11px;
    }
}


/* ============================================
   AYLIK HEDEF KARTI
============================================ */
.monthly-goal-card {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 100%
    );
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
    animation: slideUp 0.7s ease-out 0.15s both;
    position: relative;
    overflow: hidden;
}

/* Arka planda hafif pattern */
.monthly-goal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* Header */
.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.goal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.goal-month {
    font-size: 12px;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* Progress Container */
.goal-progress-container {
    position: relative;
    z-index: 1;
}

/* Sayılar */
.goal-numbers {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.goal-current {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -1px;
}

.goal-separator {
    font-size: 24px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.goal-target {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Progress Bar */
.progress-bar-wrapper {
    margin-bottom: 12px;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #2563eb 0%, 
        #3b82f6 50%, 
        #8b5cf6 100%
    );
    border-radius: 12px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* Progress bar glow efekti */
.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6)
    );
    animation: shimmer 2s infinite;
}
/*
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}*/

/* Yüzde ve Kalan */
.goal-percentage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.percentage-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.remaining-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Alt İstatistikler */
.goal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.goal-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 20px;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Dark mode için ek ayarlar */
[data-theme="dark"] .monthly-goal-card {
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%
    );
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .progress-bar-bg {
    background: rgba(15, 23, 42, 0.8);
}

/* Responsive - Küçük ekranlar */
@media (max-width: 380px) {
    .monthly-goal-card {
        padding: 20px;
    }
    
    .goal-current {
        font-size: 28px;
    }
    
    .goal-target {
        font-size: 18px;
    }
    
    .goal-stats {
        grid-template-columns: 1fr;
    }
}

/* SENİN ŞEHRİNDEKİ ROTALAR BAŞI */
.location-routes-section {
    margin-top: 32px;
    animation: slideUp 0.7s ease-out 0.2s both;
}

/* Header */
.location-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.location-title-wrapper {
    flex: 1;
}

.location-pin {
    font-size: 20px;
    margin-right: 4px;
}

.location-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

.location-subtitle strong {
    color: var(--accent);
    font-weight: 700;
}

.view-all-btn {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.view-all-btn:active {
    transform: scale(0.95);
    background: var(--accent);
    color: white;
}

/* Horizontal Scroll Container */
.horizontal-scroll-container {
    position: relative;
    margin: 0 -16px; /* Container padding'i aş */
    padding: 0 16px;
}

.routes-horizontal-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding-bottom: 8px;
}

/* Scrollbar gizle */
.routes-horizontal-scroll::-webkit-scrollbar {
    display: none;
}

/* Scroll Hint Arrows */
.scroll-hint {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.left-hint {
    left: 8px;
}

.right-hint {
    right: 8px;
}

/* Scroll hint'i sadece scroll varsa göster */
.horizontal-scroll-container:hover .scroll-hint {
    opacity: 0.8;
}

/* Location Route Card - MOBİL DİKEY ORAN */
.location-route-card {
    flex: 0 0 180px; /* Daha dar - telefon genişliği */
    max-width: 180px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    cursor: pointer;
    transition: all var(--transition-base);
}

.location-route-card:active {
    transform: scale(0.96);
}

/* Görsel - 3:4 Oran (Telefon Fotoğrafı) */
.location-route-image {
    width: 100%;
    height: 240px; /* Dikey görsel */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Yakınlık Badge */
.proximity-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.badge-emoji {
    font-size: 13px;
}

.badge-text {
    text-transform: uppercase;
}

/* Yakınlık Badge Renkleri */
.proximity-badge.very-close {
    background: rgba(34, 197, 94, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.proximity-badge.close {
    background: rgba(37, 99, 235, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.proximity-badge.far {
    background: rgba(100, 116, 139, 0.95);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Puan Badge */
.location-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
}

/* İçerik - Mobilde daha sıkı padding */
.location-route-content {
    padding: 12px; /* 14px'ten 12px'e düşürdük */
}

/* Mesafe Bilgisi */
.distance-info {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.distance-info svg {
    color: var(--accent);
}

.distance-text {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Başlık - Mobilde daha kompakt */
.location-route-title {
    font-size: 14px; /* Biraz küçülttük */
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Max 2 satır */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px; /* Sabit yükseklik - hizalama için */
}

/* Meta Bilgiler */
.location-route-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.route-length {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.route-length svg {
    color: var(--accent);
}

.route-difficulty-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.route-difficulty-tag.difficulty-kolay {
    background: #43be60;
    color: #059669;
}

.route-difficulty-tag.difficulty-orta {
    background: #d39e00;
    color: #d97706;
}

.route-difficulty-tag.difficulty-zor {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Paylaşan */
.location-route-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-mini-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--border);
}

.author-mini-name {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Haritada Gör Butonu */
.map-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
    border-radius: 14px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
}

.map-view-btn:active {
    background: var(--accent);
    color: white;
    transform: scale(0.97);
}

.map-view-btn svg {
    transition: transform var(--transition-base);
}

.map-view-btn:active svg {
    transform: scale(1.1);
}

/* Dark Mode */
[data-theme="dark"] .proximity-badge.very-close {
    background: rgba(34, 197, 94, 0.9);
}

[data-theme="dark"] .proximity-badge.close {
    background: rgba(37, 99, 235, 0.9);
}

[data-theme="dark"] .proximity-badge.far {
    background: rgba(100, 116, 139, 0.9);
}

/* Responsive - Küçük Ekranlar (iPhone SE, vb.) */
@media (max-width: 380px) {
    .location-route-card {
        flex: 0 0 165px; /* Biraz daha dar */
        max-width: 165px;
    }
    
    .location-route-image {
        aspect-ratio: 3/4;
        /*height: 220px;*/ /* Orantılı küçültme */
    }
    
    .location-route-title {
        font-size: 14px;
    }
}

/* Büyük Telefonlar (iPhone Pro Max, vb.) */
@media (min-width: 400px) and (max-width: 767px) {
    .location-route-card {
        flex: 0 0 190px; /* Biraz daha geniş */
        max-width: 190px;
    }
    
    .location-route-image {
        aspect-ratio: 3/4;
        /* height: 253px; */ /* 4:3 oranı koru */
    }
}

/* Tablet ve üstü - Yatay kartlara geri dön */
@media (min-width: 768px) {
    .routes-horizontal-scroll {
        gap: 16px;
    }
    
    .location-route-card {
        flex: 0 0 280px;
        max-width: 280px;
    }
    
    .location-route-image {
        aspect-ratio: 4/3;
        /*height: 200px;*/ /* Tablet için dengeli */
    }
}

/* Daha Fazla Yükle Butonu */
.load-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px auto 0;
    padding: 12px 24px;
    background: transparent;
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    color: var(--text-secondary, #6b7280);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--bg-secondary, #f9fafb);
    border-color: var(--primary-color, #10b981);
    color: var(--primary-color, #10b981);
}

.load-more-btn:active {
    transform: scale(0.98);
}

.load-more-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.load-more-btn.loading .load-more-icon {
    animation: rotate 1s linear infinite;
}

.load-more-btn.hidden {
    display: none;
}

.load-more-icon {
    transition: transform 0.3s ease;
}

.load-more-btn:hover .load-more-icon {
    transform: translateY(2px);
}
/*
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}*/

/* ============================================
   ARAÇLAR VİTRİNİ (Hero altı)
============================================ */
.tools-showcase {
    margin-top: 18px;
    animation: slideUp 0.7s ease-out 0.12s both;
}

.tools-hint{
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* Mobil odaklı: alt alta 2 büyük kart */
.tools-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

.tool-card{
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 16px;
    cursor: pointer;
    transition: all var(--transition-base);

    /* Tema uyumlu yüzey */
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* Aktif basış */
.tool-card:active{
    transform: scale(0.985);
}

/* Hafif “premium” parıltı: tema uyumlu */
.tool-card::before{
    content:'';
    position:absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 10%,
        rgba(59, 130, 246, 0.12),
        transparent 55%
    );
    pointer-events:none;
    opacity: 0.9;
}

/* Kenar glow (accent ile uyumlu) */
.tool-card::after{
    content:'';
    position:absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.28),
        rgba(139, 92, 246, 0.18)
    );
    z-index: -1;
    opacity: 0.22;
}

/* Üst sıra */
.tool-top{
    display:flex;
    align-items:center;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.tool-icon{
    font-size: 26px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    display:flex;
    align-items:center;
    justify-content:center;

    background: var(--bg-primary-alt);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

/* Badge */
.tool-badge{
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2px;
    padding: 6px 10px;
    border-radius: 999px;

    background: var(--bg-primary-alt);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

/* İçerik */
.tool-content{
    position: relative;
    z-index: 1;
}

.tool-title{
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    margin-bottom: 6px;
}

.tool-subtitle{
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 12px;
}

/* Alt meta satırı */
.tool-meta{
    display:flex;
    align-items:center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.tool-domain{
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.tool-cta{
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

/* Kartlara karakter: sadece üstte hafif renk perdesi */
.tool-card-time{
    background:
        linear-gradient(135deg,
            rgba(37, 99, 235, 0.10) 0%,
            rgba(37, 99, 235, 0.00) 55%
        ),
        var(--bg-secondary);
}

.tool-card-card{
    background:
        linear-gradient(135deg,
            rgba(139, 92, 246, 0.10) 0%,
            rgba(139, 92, 246, 0.00) 55%
        ),
        var(--bg-secondary);
}

/* Dark mode’da glow çok bağırmasın */
[data-theme="dark"] .tool-card::before{
    opacity: 0.55;
}
[data-theme="dark"] .tool-card::after{
    opacity: 0.16;
}

/* Çok küçük ekranlar */
@media (max-width: 360px){
    .tool-title{ font-size: 15px; }
    .tool-subtitle{ font-size: 12px; }
    .tool-icon{ width: 42px; height: 42px; }
}
/* ============================================
   ARAÇLAR VİTRİNİ (Hero altı) SON
============================================ */

/* ============================================
   ANA SAYFA — SON BLOG YAZILARI
============================================ */
.homepage-blog-section {
    margin-top: 32px;
}

.homepage-blog-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 50px;
}

/* Skeleton loader */
.blog-skeleton {
    height: 110px;
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.blog-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(148, 163, 184, 0.12) 50%,
        transparent 100%
    );
    animation: skeleton-loading 1.4s infinite;
}

/* Blog kartı */
.homepage-blog-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.homepage-blog-card:active {
    transform: scale(0.97);
    box-shadow: var(--shadow-md);
}

@media (hover: hover) {
    .homepage-blog-card:hover {
        border-color: var(--accent);
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
        transform: translateY(-1px);
    }
}

/* Kapak fotoğrafı */
.hbc-thumb {
    width: 82px;
    height: 82px;
    border-radius: var(--radius-md);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-primary-alt);
    border: 1px solid var(--border);
}

.hbc-thumb-placeholder {
    width: 82px;
    height: 82px;
    border-radius: var(--radius-md);
    background: var(--bg-primary-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

/* İçerik */
.hbc-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Kategori etiketi */
.hbc-kategori {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Başlık */
.hbc-baslik {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Özet */
.hbc-ozet {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Alt meta */
.hbc-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 2px;
}

.hbc-meta-item {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.hbc-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
}

/* Küçük ekranlar */
@media (max-width: 360px) {
    .hbc-thumb,
    .hbc-thumb-placeholder {
        width: 70px;
        height: 70px;
    }

    .hbc-baslik {
        font-size: 13px;
    }
}
/* ============================================
   ANA SAYFA — SON BLOG YAZILARI SONU
============================================ */