/* Page Detail Styles */
.page-detail-wrapper {
    margin-bottom: 3rem;
}

.page-detail-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.page-detail-header {
    padding: 2.5rem 2rem 1.5rem;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    color: white;
    position: relative;
}

.page-detail-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #FF8C5A;
}

.page-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.page-detail-subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 400;
}

.page-detail-content {
    padding: 3rem 2.5rem 2.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.page-detail-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #FF6B35;
    display: inline-block;
}

.page-detail-content h2:first-child {
    margin-top: 0;
}

.page-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
}

.page-detail-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.page-detail-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.page-detail-content ul,
.page-detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.page-detail-content ul li,
.page-detail-content ol li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.page-detail-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.page-detail-content a {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.page-detail-content a:hover {
    border-bottom-color: #FF6B35;
}

.page-detail-content blockquote {
    border-left: 4px solid #FF6B35;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.page-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-detail-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.page-detail-content table th,
.page-detail-content table td {
    padding: 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.page-detail-content table th {
    background: #FF6B35;
    color: white;
    font-weight: 600;
}

.page-detail-content table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Info Box */
.info-box {
    background: #FFF5F2;
    border-left: 4px solid #FF6B35;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.info-box-title {
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box-title i {
    font-size: 1.2rem;
}

/* Contact Info (for İletişim page) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-info-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.contact-info-item:hover {
    background: #FFF5F2;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.contact-info-item i {
    font-size: 2.5rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-info-item p {
    margin: 0;
    color: #666;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #FF6B35;
}

.trending-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

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

.trending-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.trending-post-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.trending-post-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.trending-post-content h4 a:hover {
    color: #FF6B35;
}

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

.category-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

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

.category-list a {
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a:hover {
    color: #FF6B35;
}

.category-count {
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Quick Links Widget */
.quick-links-widget {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.quick-links-widget .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    margin-bottom: 0.8rem;
}

.quick-links-list a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    padding: 0.5rem;
    border-radius: 6px;
}

.quick-links-list a:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 1rem;
}

.quick-links-list a i {
    font-size: 0.9rem;
}

/* Meta Info */
.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #595959;
}

.meta-info i {
    color: #FF6B35;
}

@media (max-width: 768px) {
    .page-detail-title {
        font-size: 1.8rem;
    }

    .page-detail-content {
        font-size: 1rem;
        padding: 2rem 1.5rem;
    }

    .page-detail-content h2 {
        font-size: 1.5rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}
