/* İlanım - Custom CSS */

:root {
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --letgo-dark: #1a1a1a;
    --letgo-card: #2c2c2c;
    --letgo-border: #444444;
    --letgo-text: #ffffff;
    --letgo-text-muted: #aaaaaa;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

/* Letgo Tarzı Mobil Stiller */
@media (max-width: 991.98px) {
    body {
        background-color: var(--letgo-dark);
        color: var(--letgo-text);
        padding-top: 130px; /* Header için boşluk */
        padding-bottom: 70px; /* Footer için boşluk */
    }
    
    .mobile-content {
        background: var(--letgo-dark);
        min-height: 100vh;
    }
    
    /* Vitamin Reklamı */
    .vitamin-ad {
        padding: 20px 0;
    }
    
    .vitamin-card {
        background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
        border-radius: 15px;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        overflow: hidden;
    }
    
    .vitamin-content {
        flex: 1;
    }
    
    .btn-vitamin {
        background: #3498db;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 8px 20px;
        font-weight: 600;
        font-size: 14px;
    }
    
    .vitamin-image {
        flex-shrink: 0;
        margin-left: 15px;
    }
    
    .phone-mockup {
        width: 60px;
        height: 100px;
        background: #333;
        border-radius: 10px;
        position: relative;
        border: 2px solid #555;
    }
    
    .phone-screen {
        background: #fff;
        margin: 5px;
        height: 88px;
        border-radius: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 8px;
    }
    
    .app-icon {
        background: #f39c12;
        color: white;
        padding: 2px 4px;
        border-radius: 3px;
        font-size: 6px;
        margin-bottom: 5px;
    }
    
    /* Sepete Ekle Banner */
    .sepete-ekle-banner {
        background: #2c3e50;
        padding: 15px 0;
    }
    
    /* İlan Kartları */
    .listings-container {
        padding: 20px 0;
    }
    
    .listing-card-mobile {
        background: var(--letgo-card);
        border-radius: 15px;
        overflow: hidden;
        margin-bottom: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    .listing-image-mobile {
        position: relative;
        height: 180px;
        overflow: hidden;
    }
    
    .listing-image-mobile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .listing-badges-mobile {
        position: absolute;
        top: 10px;
        left: 10px;
    }
    
    .badge-featured,
    .badge-new {
        background: #f39c12;
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 10px;
        font-weight: 600;
    }
    
    .trusted-seller {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background: rgba(46, 204, 113, 0.9);
        color: white;
        padding: 4px 8px;
        border-radius: 12px;
        font-size: 10px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .btn-favorite-mobile {
        position: absolute;
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-favorite-mobile.active {
        color: #e74c3c;
    }
    
    .listing-content-mobile {
        padding: 15px;
        color: white;
    }
    
    .listing-price-mobile {
        font-size: 18px;
        font-weight: 700;
        color: #f39c12;
        margin-bottom: 8px;
    }
    
    .listing-title-mobile {
        font-size: 14px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .listing-title-mobile a {
        color: white !important;
    }
    
    .listing-stats-mobile {
        display: flex;
        gap: 15px;
        margin-bottom: 10px;
        font-size: 12px;
        color: #bbb;
    }
    
    .listing-date-mobile {
        font-size: 11px;
        color: #888;
        margin-bottom: 15px;
    }
    
    .listing-actions-mobile {
        display: flex;
        gap: 8px;
    }
    
    .listing-actions-mobile .btn {
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 15px;
        flex: 1;
    }
    
    /* Mobil Header - Letgo Tarzı */
    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1020;
        transition: transform 0.3s ease;
        background-color: #1a1a1a;
    }
    
    .mobile-header.hidden {
        transform: translateY(-100%);
    }
    
    .mobile-top-bar {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        border-bottom: 1px solid #333;
    }
    
    .letgo-logo {
        font-family: 'Arial', sans-serif;
        font-style: italic;
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: -1px;
    }
    
    .city-selector select {
        background: transparent !important;
        color: white !important;
        border: none !important;
        font-size: 0.9rem;
        max-width: 120px;
    }
    
    .city-selector select option {
        background: #333;
        color: white;
    }
    
    .mobile-search-section {
        background: #1a1a1a;
        padding: 15px 0;
        border-bottom: 1px solid #333;
    }
    
    .search-input-wrapper {
        position: relative;
    }
    
    .search-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #666;
        z-index: 2;
    }
    
    .search-input {
        background: #333;
        border: none;
        border-radius: 25px;
        padding: 15px 20px 15px 45px;
        color: white;
        font-size: 16px;
        width: 100%;
    }
    
    .search-input::placeholder {
        color: #999;
    }
    
    .search-input:focus {
        background: #444;
        box-shadow: none;
        border: none;
        color: white;
    }
    
    .mobile-categories-section {
        background: #1a1a1a;
        padding: 10px 0;
        border-bottom: 1px solid #333;
    }
    
    .categories-scroll {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .categories-scroll::-webkit-scrollbar {
        display: none;
    }
    
    .category-item {
        flex-shrink: 0;
        text-align: center;
    }
    
    .category-link {
        text-decoration: none;
        color: white;
        display: block;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 8px auto;
        transition: transform 0.2s ease;
    }
    
    .category-icon:hover {
        transform: scale(1.05);
    }
    
    .category-icon i {
        font-size: 20px;
    }
    
    .category-item span {
        font-size: 12px;
        font-weight: 500;
        color: white;
        display: block;
    }
    
    /* Kategori Renkleri */
    .bg-purple { background: #8e44ad !important; }
    .bg-teal { background: #16a085 !important; }
    .bg-yellow { background: #f39c12 !important; }
    .bg-orange { background: #e67e22 !important; }
    .bg-pink { background: #e91e63 !important; }
    
    /* Mobil Footer Navigation - Letgo Tarzı */
    .mobile-footer-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #1a1a1a;
        border-top: 1px solid #333;
        z-index: 1000;
        padding: 8px 0 12px 0;
    }
    
    .mobile-nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #888;
        padding: 8px 4px;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .mobile-nav-link i {
        font-size: 20px;
        margin-bottom: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link span {
        font-size: 11px;
        font-weight: 500;
        line-height: 1;
    }
    
    .mobile-nav-link.active,
    .mobile-nav-link:hover {
        color: #dc3545;
    }
    
    .mobile-nav-link.active i,
    .mobile-nav-link:hover i {
        color: #dc3545;
    }
    
    /* Orta buton (Sat) özel stil - Letgo tarzı */
    .mobile-nav-center {
        position: relative;
    }
    
    .mobile-nav-center-btn {
        background: #dc3545;
        color: white;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -25px auto 5px auto;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        transition: all 0.3s ease;
    }
    
    .mobile-nav-center:hover .mobile-nav-center-btn {
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
    }
    
    .mobile-nav-center-btn i {
        font-size: 22px;
        margin-bottom: 0;
    }
    
    .mobile-nav-center span {
        color: #dc3545;
        font-weight: 600;
    }
}

/* Masaüstü Letgo Tarzı Stiller */
@media (min-width: 992px) {
    /* Hero Section */
    .hero-section {
        background: var(--gradient-primary);
        color: white;
        position: relative;
        overflow: hidden;
    }
    
    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="white" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
        background-size: cover;
    }
    
    /* Hero Slider */
    .hero-slider {
        position: relative;
        height: 100vh;
        min-height: 600px;
    }
    
    .hero-slide {
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .carousel-indicators {
        bottom: 30px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin: 0 5px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 5%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
        margin: 0.5rem;
    }
    
    .hero-image img {
        border-radius: 1rem;
        box-shadow: var(--shadow-lg);
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        position: relative;
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        bottom: -0.5rem;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
    
    /* Category Cards */
    .category-card {
        transition: all 0.3s ease;
        display: block;
    }
    
    .category-card:hover {
        transform: translateY(-5px);
        text-decoration: none !important;
    }
    
    .category-card .card {
        border: none;
        transition: all 0.3s ease;
    }
    
    .category-card:hover .card {
        box-shadow: var(--shadow-lg);
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        color: white;
    }
    
    /* Listing Cards */
    .listing-card {
        background: white;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: all 0.3s ease;
        position: relative;
    }
    
    .listing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    .listing-card.featured {
        border: 2px solid var(--warning-color);
    }
    
    .listing-image {
        position: relative;
        overflow: hidden;
        height: 200px;
    }
    
    .listing-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .listing-card:hover .listing-image img {
        transform: scale(1.05);
    }
    
    .listing-badges {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        z-index: 2;
    }
    
    .listing-badges .badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
        border-radius: 0.5rem;
    }
    
    .btn-favorite {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        z-index: 2;
    }
    
    .btn-favorite:hover {
        background: white;
        color: var(--danger-color);
        transform: scale(1.1);
    }
    
    .btn-favorite.active {
        color: var(--danger-color);
    }
    
    .listing-content {
        padding: 1.25rem;
    }
    
    .listing-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .listing-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.75rem;
    }
    
    .listing-meta {
        display: flex;
        justify-content: space-between;
        font-size: 0.875rem;
        color: var(--secondary-color);
        margin-bottom: 1rem;
    }
    
    .listing-user {
        border-top: 1px solid #eee;
        padding-top: 1rem;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .user-name {
        font-size: 0.875rem;
        font-weight: 500;
    }
    
    .user-rating {
        font-size: 0.75rem;
        color: var(--secondary-color);
    }
    
    /* Compact Listing Cards */
    .listing-card.compact .listing-image {
        height: 150px;
    }
    
    .listing-card.compact .listing-content {
        padding: 1rem;
    }
    
    .listing-card.compact .listing-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .listing-card.compact .listing-price {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .listing-card.compact .listing-meta {
        font-size: 0.75rem;
        margin-bottom: 0;
    }
    
    /* CTA Section */
    .cta-section {
        background: var(--gradient-primary);
        color: white;
        padding: 4rem 0;
    }
    
    /* Category Menu */
    .category-menu {
        white-space: nowrap;
    }
    
    .category-link {
        color: var(--dark-color);
        font-size: 0.9rem;
        font-weight: 500;
        transition: color 0.3s ease;
    }
    
    .category-link:hover {
        color: var(--primary-color);
        text-decoration: none;
    }
    
    /* Hover Effects */
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .hover-lift:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }
    
    /* Form Styles */
    .form-control {
        border-radius: 0.5rem;
        border: 1px solid #ddd;
        padding: 0.75rem 1rem;
        transition: all 0.3s ease;
    }
    
    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
        }
        
        .section-title {
            font-size: 2rem;
        }
        
        .category-menu {
            padding: 0.5rem 0;
        }
        
        .listing-card .listing-content {
            padding: 1rem;
        }
        
        .hero-slide {
            height: 70vh;
            min-height: 500px;
        }
        
        .hero-slider {
            height: 70vh;
            min-height: 500px;
        }
    }
    
    @media (max-width: 576px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .hero-buttons .btn {
            display: block;
            width: 100%;
            margin: 0.5rem 0;
        }
        
        .listing-meta {
            flex-direction: column;
            gap: 0.25rem;
        }
        
        .hero-slide {
            height: 60vh;
            min-height: 400px;
        }
        
        .hero-slider {
            height: 60vh;
            min-height: 400px;
        }
    }
    
    /* Letgo Tarzı Masaüstü Stiller */
    .desktop-content {
        background-color: #f8f9fa;
    }
    
    /* Masaüstü Letgo Tarzı Navbar */
    .navbar-letgo {
        background: var(--primary-color);
        padding: 15px 0;
    }
    
    .navbar-letgo .navbar-brand {
        color: white;
        font-weight: 700;
        font-size: 1.8rem;
    }
    
    .navbar-letgo .nav-link {
        color: rgba(255,255,255,0.9);
        font-weight: 500;
        padding: 0.5rem 1rem;
        transition: all 0.3s ease;
    }
    
    .navbar-letgo .nav-link:hover {
        color: white;
        transform: translateY(-2px);
    }
    
    .navbar-letgo .btn-outline-light:hover {
        background-color: white;
        color: var(--primary-color);
    }
    
    /* Masaüstü Letgo Tarzı Arama */
    .search-form-letgo {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .search-form-letgo .form-control {
        border-radius: 30px 0 0 30px;
        border: none;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .search-form-letgo .btn {
        border-radius: 0 30px 30px 0;
        padding: 12px 25px;
    }
    
    /* Masaüstü Letgo Tarzı Kategori Kartları */
    .category-card-letgo {
        text-align: center;
        padding: 20px;
        border-radius: 10px;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }
    
    .category-card-letgo:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    .category-icon-letgo {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 15px;
        font-size: 30px;
        color: white;
    }
    
    .category-title-letgo {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }
    
    .category-count-letgo {
        color: var(--secondary-color);
        font-size: 0.9rem;
    }
    
    /* Masaüstü Letgo Tarzı İlan Kartları */
    .listing-card-letgo {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        margin-bottom: 30px;
    }
    
    .listing-card-letgo:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    .listing-image-letgo {
        position: relative;
        height: 220px;
        overflow: hidden;
    }
    
    .listing-image-letgo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .listing-card-letgo:hover .listing-image-letgo img {
        transform: scale(1.1);
    }
    
    .listing-badge-letgo {
        position: absolute;
        top: 15px;
        left: 15px;
        background: var(--primary-color);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
    }
    
    .listing-favorite-letgo {
        position: absolute;
        top: 15px;
        right: 15px;
        background: white;
        color: #999;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }
    
    .listing-favorite-letgo:hover {
        transform: scale(1.1);
        color: var(--primary-color);
    }
    
    .listing-favorite-letgo.active {
        color: var(--primary-color);
    }
    
    .listing-content-letgo {
        padding: 20px;
    }
    
    .listing-price-letgo {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 10px;
    }
    
    .listing-title-letgo {
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 15px;
        line-height: 1.4;
    }
    
    .listing-info-letgo {
        display: flex;
        justify-content: space-between;
        color: var(--secondary-color);
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .listing-seller-letgo {
        display: flex;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eee;
    }
    
    .seller-avatar-letgo {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .seller-name-letgo {
        font-weight: 600;
        font-size: 0.9rem;
    }
    
    .seller-rating-letgo {
        color: #f39c12;
        font-size: 0.8rem;
    }
}

/* Animasyon Sınıfları */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

/* Yükleme Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Yardımcı Sınıflar */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-custom {
    box-shadow: var(--shadow);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-lg);
}

.border-radius-lg {
    border-radius: 1rem;
}

.border-radius-xl {
    border-radius: 1.5rem;
}

/* İlan Detay Sayfası - Letgo Tarzı */
.listing-detail-page {
    background: #1a1a1a;
    min-height: 100vh;
    padding-bottom: 100px;
}

.listing-detail-header {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #1a1a1a;
    color: white;
}

.back-button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    padding: 0;
    margin-right: 15px;
}

.listing-detail-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    padding: 0;
}

.listing-detail-gallery {
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
}

.gallery-dot.active {
    background: white;
    transform: scale(1.2);
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.listing-detail-info {
    padding: 20px;
    color: white;
}

.listing-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 10px;
}

.listing-detail-title-main {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.listing-detail-location {
    font-size: 14px;
    color: #bbb;
    margin-bottom: 10px;
}

.listing-detail-views {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #bbb;
    margin-bottom: 20px;
}

.listing-detail-description {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
}

.listing-detail-dates {
    font-size: 13px;
    color: #888;
    margin-bottom: 30px;
}

.listing-detail-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-offer {
    flex: 1;
    background: white;
    color: #1a1a1a;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-chat {
    flex: 2;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.listing-detail-seller {
    background: #2c2c2c;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.seller-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-info {
    flex: 1;
}

.seller-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.seller-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #f39c12;
    font-size: 14px;
    margin-bottom: 5px;
}

.seller-date {
    font-size: 12px;
    color: #888;
}

.btn-follow {
    background: transparent;
    border: 1px solid #888;
    color: white;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-follow.following {
    background: rgba(255,255,255,0.1);
    border-color: transparent;
}

/* Masaüstü İlan Detay Sayfası */
.desktop-listing-detail {
    padding: 40px 0;
}

.listing-gallery-desktop {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.listing-gallery-desktop img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.listing-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-info-desktop {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.listing-price-desktop {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.listing-title-desktop {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.listing-meta-desktop {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.listing-description-desktop {
    margin-bottom: 30px;
    line-height: 1.8;
}

.listing-actions-desktop {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-offer-desktop {
    flex: 1;
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-chat-desktop {
    flex: 2;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seller-card-desktop {
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.seller-avatar-desktop {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    object-fit: cover;
}

.seller-name-desktop {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.seller-rating-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #f39c12;
    font-size: 16px;
    margin-bottom: 15px;
}

.seller-stats-desktop {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.seller-stat {
    text-align: center;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--secondary-color);
}

.btn-follow-desktop {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.btn-message-desktop {
    width: 100%;
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
}

/* Similar Listings */
.similar-listings-desktop {
    margin-top: 40px;
}

.similar-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Teklif Modal */
.offer-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.offer-modal .modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
}

.offer-modal .modal-body {
    padding: 30px;
}

.offer-price-input {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
}

.offer-slider {
    margin: 30px 0;
}

.offer-note {
    margin-bottom: 20px;
}

.offer-modal .modal-footer {
    border-top: none;
    padding: 0 30px 30px;
}

.btn-send-offer {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-weight: 600;
}

/* Mesajlar Sayfası - Letgo Tarzı */
.messages-list-page {
    background: #1a1a1a;
    min-height: 100vh;
    padding-bottom: 100px;
}

.messages-header {
    padding: 20px 15px;
    border-bottom: 1px solid #333;
}

.messages-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
}

.messages-header h1 i {
    color: #dc3545;
    margin-right: 10px;
}

.messages-search-container {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
}

.messages-search-bar {
    position: relative;
    margin-bottom: 15px;
}

.messages-search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.messages-search-bar input {
    width: 100%;
    background: #333;
    border: none;
    border-radius: 20px;
    padding: 12px 15px 12px 40px;
    color: white;
}

.messages-search-bar input::placeholder {
    color: #999;
}

.messages-tabs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
}

.messages-tab-btn {
    background: #333;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    white-space: nowrap;
}

.messages-tab-btn.active {
    background: #dc3545;
}

.messages-list {
    padding: 0 20px;
}

.message-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    text-decoration: none;
    color: white;
}

.message-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.message-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-item-content {
    flex: 1;
    min-width: 0; /* Flexbox içinde text-overflow için gerekli */
}

.message-item-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 5px;
}

.message-item-user {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.message-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 5px;
}

.message-item-text {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-item-text.unread {
    color: white;
    font-weight: 500;
}

.message-item-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: 10px;
    min-width: 50px;
}

.message-item-time {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.message-item-badge {
    background: #dc3545;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-bottom: 5px;
}

.message-item-options {
    color: #888;
    font-size: 14px;
}

.empty-messages {
    text-align: center;
    padding: 50px 20px;
    color: #888;
}

.empty-messages i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-messages h5 {
    font-size: 18px;
    color: white;
    margin-bottom: 10px;
}

.empty-messages p {
    margin-bottom: 20px;
}

.btn-explore {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* Aktif Konuşma */
.active-conversation {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #1a1a1a;
}

.conversation-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #2c2c2c;
    border-bottom: 1px solid #444;
}

.back-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.conversation-user {
    display: flex;
    align-items: center;
    flex: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-size: 16px;
    font-weight: 600;
    color: black;
}

.options-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
}

.conversation-listing-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #2c2c2c;
    border-bottom: 1px solid #444;
}

.listing-preview {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
}

.listing-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-details {
    flex: 1;
}

.listing-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-price {
    font-size: 14px;
    font-weight: 700;
    color: #f39c12;
}

.listing-link {
    color: #888;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.conversation-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #1a1a1a;
}

.message-date {
    text-align: center;
    margin: 20px 0;
}

.message-date span {
    background: rgba(255,255,255,0.1);
    color: #bbb;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.message.own {
    align-items: flex-end;
}

.message-content {
    max-width: 80%;
    border-radius: 15px;
    overflow: hidden;
}

.message-text {
    padding: 12px 15px;
    font-size: 14px;
    line-height: 1.5;
}

.message.own .message-content {
    background: #dc3545;
    color: white;
    border-bottom-right-radius: 5px;
}

.message:not(.own) .message-content {
    background: #2c2c2c;
    color: white;
    border-bottom-left-radius: 5px;
}

.message-time {
    font-size: 11px;
    padding: 5px 15px;
    text-align: right;
}

.message.own .message-time {
    color: rgba(255,255,255,0.7);
}

.message:not(.own) .message-time {
    color: #888;
}

.empty-chat {
    text-align: center;
    padding: 50px 0;
    color: #888;
}

.quick-messages-container {
    padding: 10px 15px;
    background: #2c2c2c;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.quick-messages-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-messages-scroll::-webkit-scrollbar {
    display: none;
}

.quick-message-btn {
    background: #444;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    white-space: nowrap;
}

.message-input-container {
    padding: 15px;
    background: #2c2c2c;
}

.message-form {
    display: flex;
}

.message-input-wrapper {
    display: flex;
    align-items: center;
    background: #444;
    border-radius: 25px;
    padding: 5px;
    width: 100%;
}

.message-input {
    flex: 1;
    background: none;
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 16px;
}

.message-input:focus {
    outline: none;
}

.send-button {
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Güvenilir Satıcı Rozeti - Masaüstü */
.trusted-seller-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(46, 204, 113, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.trusted-seller-badge.small {
    padding: 3px 8px;
    font-size: 10px;
}