/* assets/css/style.css */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #34495e;
    --accent-color: #f39c12;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    /* Anasayfadan geldi */
    --gradient-primary: linear-gradient(135deg, #e74c3c, #c0392b);
    /* Anasayfadan */
    --gradient-secondary: linear-gradient(135deg, #34495e, #2c3e50);
    /* Anasayfadan */
}

.navbar.fixed-top {
    width: 100%;
    left: 0;
    /* Eğer position ile ilgili bir sorun varsa */
    right: 0;
    /* Eğer position ile ilgili bir sorun varsa */
    /* Emin olmak için */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    /* Sadece arkaplanın tam genişlikte olması için bu gerekmeyebilir, iç container padding sağlar */
    padding-right: 0;
    /* Sadece arkaplanın tam genişlikte olması için bu gerekmeyebilir */
}

/* Navbar'ın içindeki container, içeriği ortalamaya devam etmeli */
.navbar.fixed-top>.container,
.navbar.fixed-top>.container-fluid {
    /* Bu zaten Bootstrap varsayılanı ama emin olalım */
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    /* Bootstrap değişkenleri */
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

* {
    /* Anasayfadan geldi, genel bir reset olarak iyi */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    /* Karşılaştırmadan geldi, anasayfada line-height vs vardı, birleştirilebilir */
    line-height: 1.6;
    /* Anasayfadan */
    color: #333;
    /* Anasayfadan */
    overflow-x: hidden;
    /* Anasayfadan */
    padding-top: 70px;
    /* fixed-top navbar için boşluk */
}

/* Navigation - Her iki sayfada da var, anasayfadaki daha gelişmiş olanı alalım */
.navbar {
    background: var(--gradient-primary);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
    transition: all 0.3s ease;

}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    /* Anasayfa daha büyük */
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}



/* Hero Section (Anasayfa) */
.hero-section {
    background: var(--gradient-secondary);
    color: white;
    padding: 6rem 0;
    /* Karşılaştırma sayfası için 4rem idi, bu daha iyi */
    position: relative;
    overflow: hidden;
    /* Anasayfadan gelen ::before ve .hero-content stilleri buraya */
}

.hero-section::before {
    /* Anasayfadan */
    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="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
}

.hero-content {
    /* Anasayfadan */
    position: relative;
    z-index: 2;
}

.hero-title {
    /* Anasayfadan */
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    /* Anasayfadan */
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    /* Anasayfadan */
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-hero {
    /* Anasayfadan */
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0.5rem;
}

.btn-hero:hover {
    /* Anasayfadan */
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
    color: white;
}

.btn-hero-outline {
    /* Anasayfadan */
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero-outline:hover {
    /* Anasayfadan */
    background: white;
    color: var(--secondary-color);
}

/* --- Karşılaştırma Sayfasından Genel Elementler (Anasayfaya da uyarlanabilir) --- */
.search-container {
    /* Ortak kullanılabilir, Anasayfa search-section içinde daha detaylısı var */
    background: white;
    border-radius: 15px;
    /* Anasayfada 20px, karar verilmeli */
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Anasayfada 0 15px 50px */
    /* margin-top: -2rem; Karşılaştırma için özeldi */
    position: relative;
    z-index: 10;
}

.btn-primary {
    /* Bootstrap üzerine yazıyor, genel butonlar için iyi */
    background: var(--primary-color);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    /* Bootstrap üzerine yazıyor */
    background: #c0392b;
    transform: translateY(-2px);
}

.search-input {
    /* Genel arama inputu için */
    border-radius: 25px;
    /* Anasayfada 50px, karar verilmeli */
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    /* Anasayfada 1rem 1.5rem, font-size:1.1rem */
    transition: border-color 0.3s ease;
}

.search-input:focus {
    /* Genel arama inputu için */
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}


/* Phone Cards - Anasayfadaki daha gelişmiş, onu temel alalım */
/* `.phone-card` genel adı kalsın, detaylar `phone_card_mini.php`'de düzenlenecek */
.phone-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    /* Anasayfada 2rem */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    /* Kartlar arası boşluk için eklendi */
}

.phone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.07), transparent);
    /* 0.1'den 0.07'ye düşürüldü, daha subtle */
    transition: left 0.5s ease;
}

.phone-card:hover::before {
    left: 100%;
}

.phone-card:hover {
    transform: translateY(-8px);
    /* -10px'den -8px'e düşürüldü */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    /* 0 20px 50px'den düşürüldü */
    border-color: var(--primary-color);
}

.phone-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 1rem;
    /* 1.5rem'den */
}

.phone-image {
    width: 100%;
    max-width: 180px;
    /* 200px'den */
    height: 200px;
    /* 250px'den, mini kart için daha uygun */
    object-fit: contain;
    transition: transform 0.3s ease;
    margin: 0 auto;
    /* Karşılaştırma kartından geldi, iyi bir ekleme */
    display: block;
    /* Karşılaştırma kartından geldi */
}

.phone-card:hover .phone-image {
    transform: scale(1.05);
}

/* Rating Badge - Hem anasayfa hem karşılaştırma için ortak */
/* Karşılaştırmadaki rating-badge class'ı kullanılabilir, anasayfadaki konumlandırmayı koruyarak */
.rating-badge {
    /* Konumlandırma Anasayfadaki gibi, stil Karşılaştırmadaki gibi */
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 45px;
    /* 50px'den */
    height: 45px;
    /* 50px'den */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    /* 0.9rem'den */
    /* Karşılaştırma sayfasındaki rating badge'de margin: 1rem auto vardı, bu absolut pozisyon için gereksiz */
}


.phone-info {
    /* Anasayfa telefon kartı için */
    text-align: center;
}

.phone-name {
    font-size: 1.15rem;
    /* 1.3rem'den, mini kart için */
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    /* 0.5rem'den */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Uzun isimler için */
}

.phone-brand {
    color: #666;
    margin-bottom: 0.5rem;
    /* 1rem'den */
    font-size: 0.9rem;
}

.phone-price {
    font-size: 1.3rem;
    /* 1.5rem'den */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    /* 1rem'den */
}

.phone-specs-summary {
    /* Anasayfa telefon kartı için özel, `phone-specs` değil */
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 40px;
    /* Yaklaşık 2 satır için */
    overflow: hidden;
}

.phone-actions {
    /* Anasayfa telefon kartı için */
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    /* Kartın altına yaslamak için */
}

.btn-view-details,
.btn-add-compare {
    /* Anasayfa için `btn-view` ve `btn-compare` yerine daha açıklayıcı */
    flex: 1;
    padding: 0.6rem;
    /* 0.75rem'den */
    border-radius: 8px;
    /* 10px'den */
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-details {
    background: var(--primary-color);
    border: none;
    color: white;
}

.btn-view-details:hover {
    background: #c0392b;
    color: white;
}

.btn-add-compare {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-add-compare:hover {
    background: var(--primary-color);
    color: white;
}


/* Section Title (Ortak Stil) */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}


/* Featured Phones Section (Anasayfa) - Yeni adı Latest Phones Section */
.latest-phones-section {
    /* `featured-section` yerine */
    padding: 5rem 0;
    background: var(--light-bg);
}


/* Brand Categories Section (Anasayfa) */
.brands-section {
    padding: 5rem 0;
    background: white;
    /* Anasayfada white, daha iyi */
}

.brand-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    height: 100%;
    /* Eşit yükseklik için */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brand-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.brand-icon {
    font-size: 2.5rem;
    /* 3rem'den */
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.brand-icon img {
    /* Eğer marka logoları resim olarak gelirse */
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.2rem;
    /* 1.3rem'den */
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.3rem;
    /* 0.5rem'den */
}

.brand-count {
    color: #666;
    font-size: 0.9rem;
}


/* Stats Section (Anasayfa) */
.stats-section {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}


/* Footer (Ortak stil) - Anasayfadaki daha kapsamlı, onu alalım */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f39c12;
    /* Vurgu için accent color */
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}


/* Animations (Ortak) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    /* Başlangıçta görünmez */
}

/* Loading Animation (Ortak) */
.loading {
    display: none;
    /* JS ile kontrol edilecek */
    text-align: center;
    padding: 3rem;
}

.spinner {
    /* Anasayfa loading stili */
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.loading p {
    margin-top: 1rem;
    color: var(--secondary-color);
}


/* Responsive Design (Anasayfadan gelen daha kapsamlı) */
@media (max-width: 991px) {

    /* lg breakpoint */
    .hero-section {
        text-align: center;
    }

    .hero-section img {
        margin-top: 2rem;
        max-width: 250px !important;
    }
}

@media (max-width: 768px) {

    /* md breakpoint */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .search-container {
        /* Bu genel .search-container için */
        padding: 1.5rem;
    }

    /* Anasayfa spesifik .search-section .search-container için ayrı bir kural gerekebilir */
    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-section {
        text-align: center;
        /* Mobil için daha iyi olabilir */
    }

    .social-icons {
        justify-content: center;
        /* Mobil için ortalamak */
    }
}

@media (max-width: 576px) {

    /* sm breakpoint */
    .hero-section {
        padding: 4rem 0;
    }

    .btn-hero {
        display: block;
        margin: 0.5rem auto;
        /* Ortalamak için */
        text-align: center;
    }

    .phone-actions {
        flex-direction: column;
    }

    .phone-name {
        font-size: 1.1rem;
    }

    .phone-price {
        font-size: 1.2rem;
    }

    .hero-section img {
        max-width: 200px !important;
    }
}

/* Anasayfadaki Search Section (index.php'ye özel) */
.home-search-section {
    background: white;
    padding: 3rem 0;
    margin-top: -3rem;
    /* Hero section üzerine çıkması için */
    position: relative;
    z-index: 10;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.home-search-container {
    /* .search-container'dan miras alır ama bazı ekler/farklılıklar */
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    /* Daha fazla padding */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.home-search-input {
    /* .search-input'dan miras alır */
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

.home-search-btn {
    /* .btn-primary'den miras alır */
    padding: 1rem 2rem;
    border-radius: 50px;
}

.filter-section {
    background-color: #f8f9fa;
    /* var(--light-bg) */
}

.filter-section .form-label.small {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.filter-section .form-select-sm,
.filter-section .form-control-sm {
    font-size: 0.875rem;
}

/* all_phones.php - Phone Card (phone_card_list.php için) */
.phone-card {
    /* Bu genel phone-card'ı zaten style.css'te tanımlamıştık, gerekirse ince ayar yapılabilir */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.phone-card .card-title a:hover {
    color: var(--primary-color) !important;
}

/* Sayfalama stilleri (Bootstrap zaten temel stilleri sağlar ama gerekirse özelleştirilebilir) */
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-link:hover {
    color: #c0392b;
    /* Koyu primary */
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}



/* Phone Details Page Specific Styles */
.phone-details-container .card-header h4 {
    font-weight: 600;
}

.phone-details-container .table th {
    font-weight: 600;
    background-color: #f8f9fa;
    /* var(--light-bg) */
    border-bottom-width: 1px;
    white-space: nowrap;
}

.phone-details-container .table td {
    vertical-align: middle;
}

.phone-details-container .sticky-top {
    z-index: 1010;
    /* Navbar'dan (1030) düşük, diğer içerikten yüksek */
}

/* İnceleme metni için daha okunaklı font */
.review-content p {
    font-family: 'Georgia', serif;
    /* Veya tercih ettiğiniz okunaklı bir font */
    line-height: 1.7;
    font-size: 1.1rem;
    color: #444;
}

/* Compare Page Specific Styles */
.phone-card.selected {
    /* Karşılaştırma sayfasındaki kartlar için özel */
    border-color: var(--primary-color);
    transform: translateY(0);
    /* Hover efekti burada gereksiz */
}

.phone-card.selected:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    /* Sabit hover gölgesi */
}

.vs-text {
    /* Daha önce genel style.css'e eklemiş olmalısın, eğer yoksa */
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
}

.comparison-table-container .table th[scope="col"] {
    white-space: nowrap;
}

.comparison-table-container .table td,
.comparison-table-container .table th[scope="row"] {
    vertical-align: middle;
    font-size: 0.9rem;
}

.comparison-table-container .table th[scope="row"] {
    background-color: #f8f9fa;
    font-weight: 600;
}

.z-index-1 {
    z-index: 1;
    /* Butonun resmin üzerine gelmesi için */
}

.btn-add-compare-list {
    position: relative;
    /* Diğer position değerleriyle çakışmaması için */
    z-index: 2;
    /* stretched-link'in varsayılanından yüksek bir değer */
}

.border-dashed {
    border: 2px dashed #dee2e6 !important;
    /* var(--border-color) */
}

.table-responsive {
    /* Scrollbar görünürlüğü için */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* iOS için smooth scroll */
}

.brands-section .brand-card {
    background-color: #fff;
    /* Veya var(--light-bg) */
    border-radius: 15px;
    /* Zaten var */
    transition: all 0.3s ease;
    /* Zaten var */
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    /* Yükseklik ayarı */
}

.brands-section .brand-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.brands-section .brand-icon {
    /* font-size zaten inline olarak ayarlandı */
    transition: transform 0.3s ease;
}

.brands-section .brand-card:hover .brand-icon {
    transform: scale(1.1);
}

.brands-section .brand-card:hover .brand-name {
    color: var(--primary-color);
}

.brands-section .brand-name {
    transition: color 0.3s ease;
    margin-top: 0.5rem;
}

/* Resim logolar için ek stil (eğer kullanılacaksa) */

.brands-section .brand-card img {
    max-height: 50px;
    filter: grayscale(50%) opacity(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brands-section .brand-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

body.dark-mode {
    background-color: #1a1a2e;
    /* Koyu lacivert-mor gibi */
    color: #e0e0e0;
    /* Açık gri metin */
}

body.dark-mode .navbar {
    /* Gece modunda navbar rengini değiştirebilirsiniz veya varolan gradient kalabilir */
    /* background: linear-gradient(135deg, #2c3e50, #1f2b38); */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .navbar-brand,
body.dark-mode .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.dark-mode .navbar-nav .nav-link:hover,
body.dark-mode .navbar-nav .nav-link.active {
    color: white !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    outline: none !important;
    /* Odaklanma çerçevesini kaldırır */
    box-shadow: none !important;
    /* Olası gölgeleri kaldırır */
    border: none !important;
}

.phone-details-container .btn-outline-primary:hover,
.phone-details-container .btn-outline-danger:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
}

.navbar-nav .nav-link.active {
    color: white !important;
    /* Metin rengi tam beyaz ve net olsun */
    position: relative;
    /* Alt çizginin konumlandırılması için gerekli */
    font-weight: 600;
    /* Aktif link biraz daha kalın görünebilir */
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    /* Çizginin metne olan uzaklığı (padding-bottom ile de yapılabilir) */
    left: 0.5rem;
    /* Linkin padding'i ile aynı hizada başlaması için (margin: 0 0.5rem) */
    right: 0.5rem;
    /* Linkin padding'i ile aynı hizada bitmesi için */
    height: 3px;
    /* Çizginin kalınlığı */
    background-color: white;
    /* Çizginin rengi */
    border-radius: 2px;
    /* Çizgi kenarları hafif yuvarlak olsun */
}

body.dark-mode .hero-section {
    /* Gece modu için hero section arkaplanı, metin rengi zaten beyazdı */
    background: linear-gradient(135deg, #23233b, #1a1a2e);
}

body.dark-mode .hero-title {
    color: #f5f5f5;
}

body.dark-mode .hero-subtitle {
    color: #b0b0b0;
}

body.dark-mode .search-container,
/* Karşılaştırma sayfası için */
body.dark-mode .home-search-container,
/* Anasayfa arama */
body.dark-mode .filter-section,
body.dark-mode .phone-card,
body.dark-mode .brand-card,
body.dark-mode .card {
    /* Genel kartlar için (phone_details, compare) */
    background-color: #2c2c44;
    /* Biraz daha açık koyu */
    border-color: #40405f;
    /* Kenarlık rengi */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.dark-mode .phone-card:hover,
body.dark-mode .brand-card:hover {
    border-color: var(--primary-color);
    /* Vurgu için ana renk kalsın */
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
    /* Ana renkle uyumlu gölge */
}


body.dark-mode .phone-name,
body.dark-mode .phone-name a,
body.dark-mode .brand-name,
body.dark-mode .section-title h2,
body.dark-mode .card-title,
body.dark-mode .card-title a {
    color: #f0f0f0;
    /* Açık renk metin */
}

body.dark-mode .phone-brand,
body.dark-mode .text-muted,
body.dark-mode .spec-label,
/* Karşılaştırma tablosu */
body.dark-mode .section-title p,
body.dark-mode .alert.alert-info,
body.dark-mode .alert.alert-warning {
    /* Bilgilendirme kutuları */
    color: #c0c0c0 !important;
    /* Metin rengi önemli */
}

body.dark-mode .phone-specs-summary,
body.dark-mode small {
    color: #a0a0a0 !important;
}


body.dark-mode .table-striped>tbody>tr:nth-of-type(odd)>* {
    /* Karşılaştırma tablosu çizgileri */
    --bs-table-accent-bg: rgba(255, 255, 255, 0.03);
    /* Çok hafif bir arkaplan */
    color: #d0d0d0;
}

body.dark-mode .table-striped>tbody>tr:nth-of-type(even)>* {
    color: #d0d0d0;
}

body.dark-mode .table th {
    color: #e0e0e0;
    background-color: #3a3a55;
    /* Tablo başlığı arkaplanı */
}

body.dark-mode .table-bordered {
    border-color: #4f4f70;
}


body.dark-mode .stats-section {
    /* Zaten koyu bir gradienti vardı, belki biraz daha koyulaştırılabilir veya aynı kalabilir */
}

body.dark-mode .footer {
    background: #1f1f33;
    /* Footer için daha da koyu */
    color: #b0b0c0;
}

body.dark-mode .footer-title {
    color: var(--accent-color);
    /* Footer başlıkları vurgulu kalsın */
}

body.dark-mode .footer-link {
    color: #a0a0b0;
}

body.dark-mode .footer-link:hover {
    color: #e0e0e0;
}

body.dark-mode .social-icon {
    background: rgba(255, 255, 255, 0.05);
    color: #b0b0c0;
}

body.dark-mode .social-icon:hover {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

body.dark-mode .btn-outline-primary:hover {
    color: white;
    background-color: var(--primary-color);
}

body.dark-mode .btn-outline-secondary {
    color: #a0a0b0;
    border-color: #555;
}

body.dark-mode .btn-outline-secondary:hover {
    color: #1a1a2e;
    background-color: #a0a0b0;
}

/* Placeholder renkleri vs. de ayarlanabilir */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #252538;
    color: #e0e0e0;
    border-color: #40405f;
}

body.dark-mode .form-control::placeholder {
    color: #888;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background-color: #252538;
    color: #e0e0e0;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.35);
}

/* Pagination dark mode */
body.dark-mode .pagination .page-link {
    background-color: #2c2c44;
    border-color: #40405f;
    color: var(--primary-color);
}

body.dark-mode .pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

body.dark-mode .pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #252538;
    border-color: #40405f;
}

body.dark-mode .pagination .page-link:hover {
    background-color: #3a3a55;
    color: #c0392b;
}

.border-dashed {
    border: 2px dashed #ced4da !important;
    /* Bootstrap'in varsayılan border'ını ezer */
}

/* Yapışkan tablo başlıkları için */
.sticky-col-header {
    position: sticky;
    left: 0;
    z-index: 11 !important;
    /* thead'in z-index'inden yüksek olmalı */
    background-color: var(--bs-table-bg-thread, #212529) !important;
    /* Koyu tema başlık rengi */
    width: 220px;
    /* Sabit genişlik */
    min-width: 200px;
}

.sticky-col {
    position: sticky;
    left: 0;
    z-index: 5 !important;
    /* Diğer hücrelerden yüksek olmalı */
    background-color: #f8f9fa !important;
    /* thead'den farklı bir açık renk */
    width: 220px;
    min-width: 200px;
}

body.dark-mode .sticky-col {
    background-color: #3a3a55 !important;
    /* Koyu tema için */
}

body.dark-mode .sticky-col-header {
    background-color: #212529 !important;
    /* Koyu tema için (thead ile aynı) */
}

/* 5 telefon için custom col-lg-2dot4 (opsiyonel) - width: 20% daha iyi olabilir*/
@media (min-width: 992px) {

    /* lg ve üzeri */
    .col-lg-2dot4 {
        /* Bu class'ı `compare.php`deki col class ayarlama kısmında kullanmalısınız */
        flex: 0 0 auto;
        width: 20%;
    }
}

.card-img-top {
    max-height: 180px !important;
    /* Görüntüyü biraz küçülttüm kartlarda */
    object-fit: contain;
}

.phone-card .card-title {
    font-size: 0.9rem !important;
    /* Model adını biraz küçülttüm */
    line-height: 1.2;
    min-height: 2.4em;
    /* Yaklaşık 2 satır */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 2 satır sonra ... */
    -webkit-box-orient: vertical;
}

.ozellikler p {
    margin: 5px 5px;
    line-height: 1.2;
}

.btn-add-to-compare {
    position: relative;
    z-index: 10;
}

/* Related Phones */
.related-phones {
    margin-bottom: 3rem;
}

.related-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.related-phones {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* ============================================= */
/*       PHONE DETAILS PAGE - YENİ STİLLER       */
/* ============================================= */

/* Ana Yapı ve Başlık Alanı */
.phone-details-header {
    margin-bottom: 1.5rem;
}

.phone-details-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.phone-details-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Sol Taraftaki Sabit Menü (Sidebar) */
.phone-sidebar {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Yapışkan (sticky) davranış için */
    position: sticky;
    top: 90px;
    /* Navbar yüksekliği + biraz boşluk */
}

.phone-sidebar-image-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.phone-sidebar-image {
    max-height: 350px;
    object-fit: contain;
}

.phone-sidebar-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.phone-sidebar-brand {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: block;
}

.phone-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Beğeni Sayacı (Admin panelden aktif edilince görünür) */
.like-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.like-counter i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Sidebar Özellik Listesi */
.sidebar-specs {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.sidebar-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-specs li:last-child {
    border-bottom: none;
}

.sidebar-specs .spec-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.sidebar-specs .spec-value {
    color: #555;
    text-align: right;
}


/* Sağ Taraftaki İçerik Alanı */
.phone-content-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.card-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-section-title .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
    vertical-align: middle;
}


/* Hızlı Bakış Kutusu */
.quick-look-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color:;
    transition: background-color 0.2s ease;
}

.quick-look-item:hover {
    background-color: ;
}

.quick-look-item .icon {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
}

.quick-look-item .details {
    margin-left: 1rem;
    flex: 1;
}

.quick-look-item .label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.quick-look-item .value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
}


/* Fiyat Takibi Kutusu (Admin panelden aktif edilince görünür) */
.price-summary-box {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    height: 100%;
}

.price-summary-box.current {
    background-color: #3498db;
}

.price-summary-box.lowest {
    background-color: #2ecc71;
}

.price-summary-box.highest {
    background-color: #e74c3c;
}

.price-summary-box .price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.price-summary-box .price-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.price-chart-container {
    margin-top: 1.5rem;
}

.price-chart-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.price-alerts .alert {
    display: flex;
    align-items: center;
}

.price-alerts .alert i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Yeni Sekme Stilleri */
.phone-tabs .nav-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.phone-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    /* Border ile hizalamak için */
}

.phone-tabs .nav-link:hover,
.phone-tabs .nav-link:focus {
    color: var(--primary-color);
}

.phone-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

.phone-tabs .tab-content {
    padding-top: 1rem;
}

/* Teknik Özellikler Tablosu */
.specs-table td:first-child {
    width: 40%;
}

@media (max-width: 767px) {

    .specs-table td,
    .specs-table td:first-child {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    .specs-table td:first-child {
        background-color: var(--light-bg);
        border-bottom: none;
    }

    .specs-table td:last-child {
        padding-top: 0.25rem;
        padding-bottom: 1rem;
    }

    .phone-sidebar {
        position: static;
        margin-bottom: 1.5rem;
    }
}

.bg-secondary {
    background-color: #343a40 !important;
    /* Koyu arkaplan */
}

.breadcrumb-dark .breadcrumb-item a {
    color: #adb5bd;
    text-decoration: none;
}

.breadcrumb-dark .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-dark .breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-dark .breadcrumb-item+.breadcrumb-item::before {
    color: #adb5bd;
}

.phone-main-title {
    font-weight: 700;
    font-size: 2.5rem;
}

.phone-main-subtitle {
    color: #ced4da;
    font-size: 1.1rem;
}

/* Sol Sidebar */
.phone-sidebar {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    top: 90px;
    /* Sabitlendiğinde Navbar'dan ne kadar aşağıda duracağı */
}

.phone-sidebar-image-wrapper {
    text-align: center;
    margin-bottom: 1rem;
}

.phone-sidebar-image {
    max-height: 300px;
    object-fit: contain;
}

.phone-sidebar-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
    text-align: center;
}

.phone-sidebar-brand {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.phone-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* AJAX Beğeni Butonu Stilleri */
.like-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-like {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 600;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
}

.btn-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-like .icon-like {
    color: #868e96;
    transition: all 0.2s ease-in-out;
}

.btn-like.liked {
    background-color: #fa5252;
    border-color: #fa5252;
    color: #fff;
}

.btn-like.liked .icon-like {
    color: #fff;
    animation: heartBeat 0.4s ease-in-out;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Sidebar Özellik Listesi */
.sidebar-specs {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.sidebar-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid #f1f3f5;
}

.sidebar-specs li:last-child {
    border-bottom: none;
}

.sidebar-specs .spec-label {
    font-weight: 600;
    color: #495057;
}

.sidebar-specs .spec-value {
    color: #6c757d;
}

/* Sağ İçerik Kartları */
.content-card {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.content-card .card-header {
    background-color: transparent;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
}

.card-title-icon {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title-icon .badge {
    font-size: 0.7rem;
}

/* Kısa Bakış Bölümü */
.quick-look-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
    height: 100%;
}

.quick-look-icon-wrapper {
    font-size: 1.1rem;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-look-item .details {
    margin-left: 1rem;
}

.quick-look-item .label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.quick-look-item .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
}

/* Fiyat Takibi Bölümü */
.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-danger-soft {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-info-soft {
    background-color: rgba(13, 202, 240, 0.1);
}

.bg-warning-soft {
    background-color: rgba(255, 193, 7, 0.1);
}

.border-info {
    border-color: rgba(13, 202, 240, 0.4) !important;
}

.border-warning {
    border-color: rgba(255, 193, 7, 0.4) !important;
}


.price-summary-box {
    padding: 1rem;
    border-radius: 8px;
}

.price-summary-box .price-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.price-summary-box .price-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.alert-box {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
    gap: 1rem;
}

.alert-box-icon {
    font-size: 1.5rem;
}

/* Yeni Sekme Stilleri */
.phone-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    padding: 0 1.25rem;
}

.phone-tabs .nav-link {
    border: none;
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    margin: 0 1rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    /* Border ile hizalamak için */
}

.phone-tabs .nav-link:hover,
.phone-tabs .nav-link:focus {
    color: #0d6efd;
}

.phone-tabs .nav-link.active {
    color: #0d6efd;
    background-color: transparent;
    border-color: #0d6efd;
}

.phone-tabs .tab-content {
    padding: 1.5rem;
}

/* Özellikler Tablosu */
.specs-category {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.specs-category:first-of-type {
    margin-top: 0;
}

.specs-table {
    font-size: 0.9rem;
}

.specs-table td:first-child {
    width: 40%;
    font-weight: 500;
}

/* Responsive Düzenlemeler */
@media (max-width: 991px) {
    .phone-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 767px) {
    .phone-main-title {
        font-size: 2rem;
    }

    .specs-table td,
    .specs-table td:first-child {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    .specs-table td:first-child {
        background-color: #f8f9fa;
        padding-top: 0.75rem;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }

    .specs-table tr {
        display: block;
        margin-bottom: 1rem;
        border-bottom: 1px solid #dee2e6;
    }

    .specs-table td:last-child {
        padding-top: 0;
        padding-bottom: 0.75rem;
    }
}

.btn-outline-danger.favorited {
    background-color: #cf4031;
    color: #fff;
}

.btn-outline-danger.favorited .icon-favorite {
    font-weight: 900;
    /* Dolu kalp için (Font Awesome Pro gerekir, regular için aynı kalır) */
}

.content-card .card-body p.text-muted {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    /* Biraz daha koyu bir metin rengi */
}

/* 4. Teknik Özellikler tablosunun zebra desenini kaldırıp yeniden stillendirme */
.specs-table {
    border: none;
    /* Tablonun kendi dış çerçevesini kaldır */
}

.specs-table tr {
    border-bottom: 1px solid #e9ecef;
    /* Her satırın altına ince bir çizgi ekle */
}

.specs-table td {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: none !important;
    /* Bootstrap'in üst çizgisini kaldır */
}

/* Tablonun başlık stilini (specs-category) de biraz daha belirgin yapalım */
.specs-category {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 2rem;
    padding-bottom: 0.75rem;
    color: #343a40;
}

.specs-category:first-of-type {
    margin-top: 0.5rem;
}

.comment-item.pending-approval {
    opacity: 0.65;
    border-left: 4px solid var(--accent-color);
    padding-left: 1rem;
    background-color: #fffbe6;
    /* Hafif sarımsı bir arkaplan */
    border-radius: 8px;
}

.comment-item.pending-approval .comment-author::after {
    content: '(Onay Bekliyor)';
    font-size: 0.8rem;
    font-weight: normal;
    color: #856404;
    margin-left: 8px;
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 4px;
}

/* İnceleme içeriğindeki HTML etiketlerinin daha düzgün görünmesi için */
.review-full-content {
    line-height: 1.8;
    color: #343a40;
}

.review-full-content h2,
.review-full-content h3,
.review-full-content h4 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.review-full-content p {
    margin-bottom: 1.25rem;
}

.review-full-content ul,
.review-full-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.review-full-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-left: 0;
    font-style: italic;
    color: #555;
    background-color: var(--light-bg);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rating-select {
    display: flex;
    flex-direction: row-reverse;
    /* Yıldızların sağdan sola seçilmesini sağlar */
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.rating-select input {
    display: none;
}

.rating-select label {
    cursor: pointer;
    font-size: 1.75rem;
    /* Yıldız boyutu */
    color: #e0e0e0;
    /* Seçilmemiş yıldız rengi */
    padding: 0 0.1rem;
    transition: color 0.2s;
}

.rating-select label:hover,
.rating-select label:hover~label,
.rating-select input:checked~label {
    color: var(--accent-color);
    /* #f39c12 */
}

/* Yorum Listesi ve Öğeleri */
.comments-list {
    margin-top: 2rem;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comment-item:last-child {
    border-bottom: none;
    /* Son yorumun altındaki çizgiyi kaldır */
    padding-bottom: 0;
}

.comment-item:first-child {
    padding-top: 0;
}

.comment-avatar {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.comment-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.comment-rating {
    font-size: 0.9rem;
    /* Yorum içindeki yıldızların boyutu */
}

.comment-text {
    margin-top: 0.5rem;
    line-height: 1.6;
    color: #343a40;
}