/* Blog Sayfası Stilleri */

/* BAŞLIK VE FİLTRELEME */
.blog-header-main {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
    animation: fadeIn 0.8s ease-out;
}

.blog-header-main .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.blog-header-main .logo i {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.blog-header-main h1 {
    font-size: 3rem;
    color: var(--gold-light);
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.tagline {
    color: var(--gold-secondary);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.blog-filters-wrapper {
    margin-bottom: 2.5rem;
    width: 100%;
    margin-top: 1.5rem;
}

.filter-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(50, 50, 50, 0.8));
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--gold-dark);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.filter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
}

.filter-group {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    display: block;
    font-size: 0.95rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-bottom: 5px;
}

.form-select,
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(20, 20, 20, 0.8);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--gold-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.search-input-group {
    display: flex;
    gap: 5px;
}

.search-input-group .form-control {
    flex: 1;
}

.btn-primary {
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* BLOG İÇERİK ALANI */
.blog-content-container {
    display: flex;
    gap: 30px;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 1.5rem;
    justify-content: flex-start;
    width: 100%;
}

.blog-list-wrapper {
    flex: 1;
    min-width: 280px;
}

.blog-sidebar {
    width: 300px;
    min-width: 300px;
}

/* Blog bilgileri için özel stiller */
.blog-info {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.blog-author {
    color: var(--gold-primary);
    font-weight: 500;
}

.blog-views {
    color: var(--gold-light);
    font-weight: 500;
}

/* Blog Kartları */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(40, 40, 40, 0.9));
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-primary);
}

.blog-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-category {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    margin: 0 0 15px;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-title a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title a:hover {
    color: var(--gold-primary);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--gold-secondary);
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: #cccccc;
    line-height: 1.5;
    flex: 1;
}

.read-more {
    display: inline-block;
    color: var(--gold-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: auto;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: var(--gold-light);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Sayfalama */
.pagination-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.page-item {
    list-style: none;
    display: inline-block;
}

.page-link {
    display: block;
    padding: 10px 15px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--gold-dark);
}

.page-link:hover {
    background-color: var(--gold-dark);
    color: var(--text-dark);
}

.page-link.active {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Sidebar */
.sidebar-widget {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9), rgba(40, 40, 40, 0.9));
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold-primary);
    color: var(--gold-light);
}

.popular-posts,
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sidebar-post:hover .post-image img {
    transform: scale(1.1);
}

.post-info {
    flex: 1;
}

.post-info h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.post-info h4 a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.post-info h4 a:hover {
    color: var(--gold-primary);
}

.post-date {
    font-size: 0.8rem;
    color: var(--gold-secondary);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.category-list a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    padding: 5px 0;
    font-size: 1.05rem;
}

.category-list a:hover {
    color: var(--gold-primary);
    transform: translateX(8px);
}

/* BLOG DETAY SAYFASI */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
    background: rgba(30, 30, 30, 0.6);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 0.7rem;
    margin: 0 8px;
    color: var(--gold-dark);
}

.breadcrumbs span {
    color: var(--gold-primary);
    font-weight: 500;
}

.blog-detail-content {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95), rgba(35, 35, 35, 0.95));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 40px;
    position: relative;
}

.blog-detail-header {
    padding: 30px;
    position: relative;
}

.blog-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.blog-detail-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin: 0 0 20px;
    line-height: 1.3;
}

.blog-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-body {
    padding: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-detail-body h2, 
.blog-detail-body h3, 
.blog-detail-body h4 {
    color: var(--gold-light);
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-detail-body p {
    margin-bottom: 20px;
}

.blog-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

.blog-detail-body ul, 
.blog-detail-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-detail-body li {
    margin-bottom: 10px;
}

.blog-detail-body blockquote {
    margin: 25px 0;
    padding: 20px 30px;
    border-left: 4px solid var(--gold-primary);
    background-color: rgba(20, 20, 20, 0.5);
    font-style: italic;
    color: var(--gold-light);
    border-radius: 0 10px 10px 0;
}

.blog-detail-footer {
    padding: 25px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.blog-tags {
    flex: 1;
}

.tags-label, 
.share-label {
    font-weight: 500;
    color: var(--gold-light);
    margin-right: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-tag:hover {
    background-color: var(--gold-primary);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.blog-share {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.facebook {
    background: #3b5998;
}

.twitter {
    background: #1da1f2;
}

.whatsapp {
    background: #25d366;
}

.email {
    background: #555;
}

/* İLGİLİ YAZLAR BÖLÜMÜ */
.related-posts-section {
    margin-top: 40px;
}

.related-title {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-primary);
    position: relative;
}

.related-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gold-primary);
}

/* YÜKLEME ANİMASYONU */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: var(--gold-light);
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--gold-primary);
    animation: pulse 1.5s infinite;
}

.loading-spinner.small i {
    font-size: 1.5rem;
    margin-bottom: 0;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* RESPONSIVE AYARLAR */
@media (max-width: 992px) {
    .blog-content-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
        min-width: 100%;
    }
    
    .blog-detail-footer {
        flex-direction: column;
    }
    
    .blog-share {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-detail-title {
        font-size: 2rem;
    }
    
    .blog-header-main h1 {
        font-size: 2.2rem;
    }
} 