/* Blog Modern Design - Ultra Premium Version 2.0 */
/* Sevinçler Sağlık - Modern Blog Styling */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Sora:wght@400;600;700;800&display=swap');

:root {
    /* Primary Colors - Homepage aligned */
    --blog-primary: #00BAD1;
    --blog-primary-dark: #0099AD;
    --blog-secondary: #1A1A2E;
    --blog-accent: #00D4AA;
    
    /* Gradients */
    --blog-gradient: linear-gradient(135deg, #00BAD1 0%, #0077B6 100%);
    --blog-gradient-accent: linear-gradient(135deg, #00BAD1 0%, #00D4AA 100%);
    --blog-gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    
    /* Text Colors */
    --blog-text: #0f172a;
    --blog-text-light: #64748b;
    --blog-text-muted: #94a3b8;
    
    /* Backgrounds */
    --blog-bg: #f8fafc;
    --blog-card-bg: rgba(255, 255, 255, 0.98);
    --blog-glass: rgba(255, 255, 255, 0.85);
    
    /* Shadows */
    --blog-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --blog-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    --blog-shadow-hover: 0 25px 50px -12px rgba(0, 186, 209, 0.2);
    --blog-shadow-glow: 0 0 60px rgba(0, 186, 209, 0.25);
    
    /* Borders & Radius */
    --blog-glass-border: rgba(255, 255, 255, 0.3);
    --blog-radius-sm: 12px;
    --blog-radius-md: 16px;
    --blog-radius-lg: 24px;
    --blog-radius-xl: 32px;
    
    /* Fonts */
    --blog-font-display: 'Sora', sans-serif;
    --blog-font-body: 'Outfit', sans-serif;
    
    /* Transitions */
    --blog-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --blog-transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
    font-family: var(--blog-font-body) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADER - Premium Styling
═══════════════════════════════════════════════════════════════════════════ */
.blog-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blog-gradient);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.blog-section-title {
    font-family: var(--blog-font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--blog-secondary);
    line-height: 1.2;
    margin-bottom: 15px;
}

.blog-section-title span {
    background: var(--blog-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS SECTION - Main Container
═══════════════════════════════════════════════════════════════════════════ */
.news-section {
    background-color: var(--blog-bg);
    padding: 100px 0 100px;
    position: relative;
    z-index: 2;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(180deg, rgba(0, 186, 209, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS BLOCK - Premium Card Design
═══════════════════════════════════════════════════════════════════════════ */
.news-block {
    margin-bottom: 40px;
}

.news-block .inner-box {
    background: var(--blog-card-bg);
    border-radius: var(--blog-radius-lg);
    overflow: hidden;
    box-shadow: var(--blog-shadow);
    transition: var(--blog-transition-bounce);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.news-block .inner-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blog-gradient);
    opacity: 0;
    transition: var(--blog-transition);
}

.news-block .inner-box:hover {
    transform: translateY(-15px);
    box-shadow: var(--blog-shadow-hover);
}

.news-block .inner-box:hover::before {
    opacity: 1;
}

/* Image Box */
.news-block .image-box {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.news-block .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-block .inner-box:hover .image-box img {
    transform: scale(1.1);
}

.news-block .image-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.news-block .inner-box:hover .image-box::after {
    opacity: 1;
}

/* Category Badge */
.news-block .image-box .category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--blog-gradient);
    color: white;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 186, 209, 0.3);
}

/* Lower Content */
.news-block .lower-content {
    padding: 30px 28px 28px;
    position: relative;
}

/* Post Info */
.news-block .post-info {
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.news-block .post-info li {
    font-size: 13px;
    color: var(--blog-text-light);
    background: linear-gradient(135deg, rgba(0, 186, 209, 0.08) 0%, rgba(0, 119, 182, 0.05) 100%);
    padding: 8px 16px;
    border-radius: 100px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--blog-transition);
}

.news-block .post-info li .fa,
.news-block .post-info li .fas {
    color: var(--blog-primary);
    font-size: 12px;
}

.news-block .inner-box:hover .post-info li {
    background: linear-gradient(135deg, rgba(0, 186, 209, 0.12) 0%, rgba(0, 119, 182, 0.08) 100%);
}

/* Title */
.news-block h3 {
    font-family: var(--blog-font-display);
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--blog-text);
    letter-spacing: -0.3px;
}

.news-block h3 a {
    color: var(--blog-text);
    text-decoration: none;
    transition: var(--blog-transition);
    display: block;
}

.news-block h3 a:hover {
    color: var(--blog-primary);
}

/* Text / Excerpt */
.news-block .text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--blog-text-light);
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Button Box */
.news-block .btn-box .theme-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    width: 100%;
    border-radius: var(--blog-radius-md);
    font-family: var(--blog-font-body);
    font-weight: 700;
    font-size: 14px;
    transition: var(--blog-transition);
    background: var(--blog-bg);
    color: var(--blog-primary) !important;
    border: 2px solid rgba(0, 186, 209, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-block .btn-box .theme-btn::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.3s ease;
}

.news-block .inner-box:hover .btn-box .theme-btn {
    background: var(--blog-gradient);
    color: white !important;
    border-color: transparent;
    box-shadow: 0 10px 25px -8px rgba(0, 186, 209, 0.5);
}

.news-block .inner-box:hover .btn-box .theme-btn::after {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NO RESULTS MESSAGE
═══════════════════════════════════════════════════════════════════════════ */
.news-section h1[style*="text-align: center"] {
    font-family: var(--blog-font-display) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--blog-text-light) !important;
    background: var(--blog-card-bg);
    padding: 60px 40px;
    border-radius: var(--blog-radius-lg);
    box-shadow: var(--blog-shadow-sm);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION - Premium Styling
═══════════════════════════════════════════════════════════════════════════ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination li a,
.pagination li span {
    border: none;
    border-radius: var(--blog-radius-md);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--blog-text);
    font-family: var(--blog-font-display);
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--blog-shadow-sm);
    transition: var(--blog-transition);
}

.pagination li a:hover,
.pagination li.active span {
    background: var(--blog-gradient);
    color: white;
    box-shadow: 0 8px 20px -8px rgba(0, 186, 209, 0.5);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG DETAIL PAGE STYLES
═══════════════════════════════════════════════════════════════════════════ */
.premium-detail-container {
    background-color: var(--blog-bg);
    padding-bottom: 80px;
}

.detail-hero-section {
    position: relative;
    padding: 80px 0 60px;
    background: white;
    margin-bottom: 40px;
    overflow: hidden;
}

.detail-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 186, 209, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.detail-header {
    position: relative;
    z-index: 1;
}

.detail-header .post-category {
    display: inline-block;
    padding: 10px 24px;
    background: var(--blog-gradient);
    color: white;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0, 186, 209, 0.3);
}

.detail-header h1 {
    font-family: var(--blog-font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--blog-text);
    margin-bottom: 30px;
    letter-spacing: -1.5px;
}

.detail-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 25px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-text-light);
    font-weight: 600;
    font-size: 15px;
}

.meta-item i {
    color: var(--blog-primary);
    font-size: 18px;
}

.detail-main-image {
    position: relative;
    border-radius: var(--blog-radius-xl);
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
    margin-top: 40px;
    max-height: 500px;
    background: var(--blog-bg);
}

.detail-main-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 1s ease;
}

.detail-main-image:hover img {
    transform: scale(1.03);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BLOG CONTENT TYPOGRAPHY
═══════════════════════════════════════════════════════════════════════════ */
.blog-content .text {
    font-size: 17px;
    line-height: 1.9;
    color: #334155;
    font-weight: 400;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    font-family: var(--blog-font-display);
    color: var(--blog-text);
    font-weight: 800;
    margin-top: 2em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.blog-content h2 {
    font-size: 32px;
    letter-spacing: -1px;
}

.blog-content h3 {
    font-size: 26px;
}

.blog-content p {
    margin-bottom: 1.5em;
}

.blog-content blockquote {
    background: linear-gradient(135deg, rgba(0, 186, 209, 0.08) 0%, rgba(0, 119, 182, 0.04) 100%);
    padding: 35px 45px;
    border-radius: var(--blog-radius-lg);
    margin: 40px 0;
    font-style: italic;
    font-weight: 600;
    color: var(--blog-primary);
    position: relative;
    border: none;
    line-height: 1.7;
    border-left: 4px solid var(--blog-primary);
}

.blog-content blockquote:before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 25px;
    font-size: 80px;
    color: rgba(0, 186, 209, 0.15);
    font-family: Georgia, serif;
}

.blog-content ul,
.blog-content ol {
    margin: 30px 0;
    padding-left: 20px;
}

.blog-content ul li {
    list-style: none;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.blog-content ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--blog-primary);
    font-size: 18px;
}

.blog-content table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--blog-radius-md);
    overflow: hidden;
    margin: 40px 0;
    box-shadow: var(--blog-shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-content table th {
    background: var(--blog-bg);
    color: var(--blog-text);
    padding: 20px;
    font-weight: 700;
    text-align: left;
}

.blog-content table td {
    padding: 18px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR STYLES
═══════════════════════════════════════════════════════════════════════════ */
.sidebar {
    position: sticky;
    top: 40px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--blog-radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--blog-shadow);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.sidebar-title h3 {
    font-family: var(--blog-font-display);
    font-weight: 800;
    font-size: 20px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 2px solid var(--blog-bg);
    position: relative;
    color: var(--blog-secondary);
}

.sidebar-title h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--blog-gradient);
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 14px 20px;
    background: var(--blog-bg);
    border-radius: var(--blog-radius-sm);
    color: var(--blog-text);
    font-weight: 600;
    font-size: 14px;
    transition: var(--blog-transition);
    border: 1px solid transparent;
}

.category-list li a:hover,
.category-list li.active a {
    background: white;
    box-shadow: 0 8px 20px -6px rgba(0, 186, 209, 0.15);
    color: var(--blog-primary);
    border-color: rgba(0, 186, 209, 0.15);
    transform: translateX(5px);
}

.other-news {
    padding: 15px 0;
    border-bottom: 1px solid var(--blog-bg);
}

.other-news:last-child {
    border-bottom: none;
}

.other-news a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}

.other-news img {
    width: 70px;
    height: 70px;
    border-radius: var(--blog-radius-sm);
    object-fit: cover;
    transition: var(--blog-transition);
}

.other-news:hover img {
    transform: scale(1.05);
}

.other-news h3.title {
    font-family: var(--blog-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--blog-text);
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color 0.3s;
}

.other-news:hover h3.title {
    color: var(--blog-primary);
}

.other-news p {
    font-size: 12px;
    font-weight: 600;
    color: var(--blog-text-light);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARE BUTTONS
═══════════════════════════════════════════════════════════════════════════ */
.share-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.share-label {
    font-weight: 700;
    color: var(--blog-text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blog-bg);
    color: var(--blog-text-light);
    box-shadow: var(--blog-shadow-sm);
    transition: var(--blog-transition);
    text-decoration: none !important;
}

.share-btn:hover {
    background: var(--blog-gradient);
    color: white;
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px -8px rgba(0, 186, 209, 0.4);
}

/* ═══════════════════════════════════════════════════════════════════════════
   POST NAVIGATION
═══════════════════════════════════════════════════════════════════════════ */
.premium-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed rgba(0, 0, 0, 0.08);
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: var(--blog-radius-lg);
    box-shadow: var(--blog-shadow);
    transition: var(--blog-transition-bounce);
    text-decoration: none !important;
    border: 1px solid transparent;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-shadow-hover);
    border-color: rgba(0, 186, 209, 0.2);
}

.nav-card .nav-img {
    width: 80px;
    height: 80px;
    border-radius: var(--blog-radius-md);
    object-fit: cover;
    flex-shrink: 0;
}

.nav-card .nav-info {
    flex: 1;
}

.nav-card .nav-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: var(--blog-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 1.5px;
}

.nav-card .nav-title {
    display: block;
    font-family: var(--blog-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--blog-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .news-section {
        padding: 80px 0;
    }
}

@media (max-width: 991px) {
    .detail-header h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .detail-main-image,
    .detail-main-image img {
        height: 350px;
    }

    .premium-post-nav {
        grid-template-columns: 1fr;
    }
    
    .wow {
        visibility: visible !important;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }

    .news-block .image-box {
        height: 200px;
    }

    .news-block .lower-content {
        padding: 22px 20px 20px;
    }

    .news-block h3 {
        font-size: 18px;
    }

    .detail-header h1 {
        font-size: 26px;
    }

    .detail-main-image,
    .detail-main-image img {
        height: 250px;
        border-radius: var(--blog-radius-lg);
    }

    .detail-meta-bar {
        gap: 15px;
    }

    .meta-item {
        font-size: 13px;
    }

    .blog-content h2 {
        font-size: 24px;
    }

    .blog-content h3 {
        font-size: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.detail-main-image img {
    animation: fadeInScale 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}