/* ===================================
   BLOG PAGE STYLES
   Ultra Modern & Corporate Design
   =================================== */

/* AOS animations will be loaded from main.js */

/* Blog page now uses standard page-header styles from main CSS */

/* ===================================
   BLOG PAGE HEADER
   =================================== */
.page-header {
    background: linear-gradient(135deg, #000000 0%, #050005 35%, #0a001a 50%, #050005 65%, #000000 100%);
    padding: 120px 0 80px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.page-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-title .highlight {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 400;
}

/* ===================================
   BLOG GRID CONTAINER
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ===================================
   BLOG CATEGORIES & SEARCH SECTION
   =================================== */
.blog-categories {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.blog-search-container {
    width: 100%;
    max-width: 500px;
}

.blog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-search-box:focus-within {
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.blog-search-icon {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
    font-size: 1rem;
}

.blog-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 12px 15px;
    font-size: 1rem;
    outline: none;
}

.blog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-search-btn {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.blog-search-btn:hover {
    transform: translateX(3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.blog-category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-category-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-category-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* ===================================
   BLOG POSTS SECTION
   =================================== */
.blog-posts {
    background: linear-gradient(135deg, #000000 0%, #050005 35%, #0a001a 50%, #050005 65%, #000000 100%);
    padding: 80px 0;
    min-height: 100vh;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
    cursor: pointer;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.blog-post:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-post:hover::before {
    opacity: 1;
}

.blog-post-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.blog-post-placeholder {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-post-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.blog-post-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-post-date, .blog-post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-post-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.blog-post-author::before {
    content: '👤';
    font-size: 0.8rem;
}

.blog-post h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-post p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    margin-top: auto;
}

.blog-read-more:hover {
    color: #ec4899;
    transform: translateX(5px);
}

.blog-read-more::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

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

/* ===================================
   BLOG NEWSLETTER SECTION
   =================================== */
.blog-newsletter-section {
    background: linear-gradient(135deg, #000000 0%, #050005 35%, #0a001a 50%, #050005 65%, #000000 100%);
    padding: 100px 0 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.blog-newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blog-newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-newsletter-content h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.blog-newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Newsletter section footer'a yapışık */
.blog-newsletter-section + .footer {
    margin-top: 0 !important;
}

.blog-newsletter-form {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.blog-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 300px;
    padding: 20px 30px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.1rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.blog-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.blog-newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 4px rgba(139, 92, 246, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.blog-newsletter-form .btn {
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-newsletter-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.blog-newsletter-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(139, 92, 246, 0.4),
        0 0 0 2px rgba(139, 92, 246, 0.2);
}

.blog-newsletter-form .btn:hover::before {
    left: 100%;
}

/* ===================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =================================== */

/* Mobile First - Base styles for mobile */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    padding: 0 15px;
    max-width: 100%;
}

.blog-post {
    margin: 0;
    max-width: 100%;
    width: 100%;
}

.blog-post-content {
    padding: 20px;
}

/* Tablet Portrait */
@media (min-width: 480px) {
    .blog-posts-grid {
        padding: 0 20px;
        gap: 25px;
    }
    
    .blog-post-content {
        padding: 25px;
    }
}

/* Tablet Landscape */
@media (min-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-top: 40px;
        padding: 0 30px;
    }
    
    .blog-post-content {
        padding: 30px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .blog-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

/* ===================================
   MOBILE SPECIFIC OPTIMIZATIONS
   =================================== */

/* Mobile touch targets */
@media (max-width: 768px) {
    .blog-category-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
        font-size: 0.9rem;
        touch-action: manipulation;
    }
    
    .blog-search-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        touch-action: manipulation;
    }
    
    .blog-read-more {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        padding: 12px 0;
        touch-action: manipulation;
    }
    
    .blog-post {
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(139, 92, 246, 0.2);
    }
    
    .blog-post:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Mobile typography */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .blog-post h3 {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .blog-post p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Mobile spacing */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px 0;
    }
    
    .blog-categories {
        padding: 20px 0;
    }
    
    .blog-posts {
        padding: 60px 0;
    }
    
    .blog-newsletter-section {
        padding: 60px 0 40px 0;
    }
}

/* Mobile search box */
@media (max-width: 768px) {
    .blog-search-box {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .blog-search-input {
        text-align: center;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .blog-search-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile category buttons */
@media (max-width: 768px) {
    .blog-category-buttons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0 10px;
    }
    
    .blog-category-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}
    
    .blog-newsletter-content h3 {
        font-size: 2.5rem;
    }
    
    .blog-newsletter-content p {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    
    .blog-newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .blog-newsletter-form input[type="email"] {
        min-width: 100%;
        max-width: 400px;
        padding: 18px 25px;
        font-size: 1rem;
    }
    
    .blog-newsletter-form .btn {
        padding: 18px 35px;
        font-size: 1rem;
    }
    
    .blog-category-buttons {
        gap: 10px;
    }
    
    .blog-category-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .blog-search-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .blog-search-box {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .blog-search-input {
        text-align: center;
    }
}

@media (max-width: 480px) {
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post h3 {
        font-size: 1.2rem;
    }
    
    .blog-newsletter-section {
        padding: 60px 0 50px 0;
    }
    
    .blog-newsletter-content h3 {
        font-size: 2rem;
    }
    
    .blog-newsletter-content p {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }
    
    .blog-newsletter-form input[type="email"] {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .blog-newsletter-form .btn {
        padding: 16px 30px;
        font-size: 0.95rem;
    }
    
    .blog-category-buttons {
        gap: 8px;
    }
    
    .blog-category-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* ===================================
   ANIMATIONS & EFFECTS
   =================================== */
.blog-post {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.blog-post:nth-child(1) { animation-delay: 0.1s; }
.blog-post:nth-child(2) { animation-delay: 0.2s; }
.blog-post:nth-child(3) { animation-delay: 0.3s; }
.blog-post:nth-child(4) { animation-delay: 0.4s; }
.blog-post:nth-child(5) { animation-delay: 0.5s; }

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

/* Hover effects for category buttons */
.blog-category-btn {
    position: relative;
    overflow: hidden;
}

.blog-category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.blog-category-btn:hover::before {
    left: 100%;
}

/* Smooth transitions for blog interactive elements only */
.blog-categories,
.blog-posts,
.blog-newsletter-section,
.blog-post,
.blog-category-btn,
.blog-search-box,
.blog-search-btn,
.blog-read-more {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Blog specific scrollbar styles removed to prevent conflicts */

/* ===================================
   HOVER EFFECTS & ANIMATIONS
   =================================== */
.blog-post .hover-scale {
    transform: scale(1.05) !important;
    transition: transform 0.3s ease !important;
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.success-message i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===================================
   BLOG NEWSLETTER CTA
   =================================== */
.blog-newsletter-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 50%, #1a1a1a 100%);
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.blog-newsletter-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-newsletter-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.blog-newsletter-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.blog-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 12px;
    background: rgba(45, 27, 105, 0.3);
    border-radius: 50px;
    padding: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 16px 24px;
    font-size: 1rem;
    outline: none;
    border-radius: 50px;
}

.newsletter-input-group input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input-group .btn {
    background: #ffffff;
    color: #2d1b69;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.newsletter-input-group .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.newsletter-input-group .btn i {
    margin-right: 8px;
}

/* ===================================
   DYNAMIC BLOG CARDS
   =================================== */
.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
}

.blog-card-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-meta i {
    color: #8b5cf6;
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.read-more i {
    transition: transform 0.3s ease;
}

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

/* No blogs message */
.no-blogs-message {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.no-blogs-message i {
    font-size: 4rem;
    margin-bottom: 24px;
    color: #64748b;
}

.no-blogs-message h3 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.no-blogs-message p {
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Error message */
.error-message {
    text-align: center;
    padding: 80px 20px;
    color: #94a3b8;
}

.error-message i {
    font-size: 4rem;
    margin-bottom: 24px;
    color: #ef4444;
}

.error-message h3 {
    color: #ffffff;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.error-message button {
    background: #64748b;
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.error-message button:hover {
    background: #475569;
    transform: translateY(-2px);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .blog-categories {
        padding: 20px 0;
    }
    
    .blog-controls {
        gap: 20px;
    }
    
    .blog-search-container {
        max-width: 100%;
    }
    
    .blog-search-box {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .blog-search-input {
        text-align: center;
    }
    
    .blog-category-buttons {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .blog-category-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .blog-newsletter-section {
        padding: 60px 0;
        margin-top: 60px;
    }
    
    .blog-newsletter-content h2 {
        font-size: 2rem;
    }
    
    .blog-newsletter-content p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .newsletter-input-group input[type="email"] {
        text-align: center;
    }
    
    .newsletter-input-group .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-category-buttons {
        gap: 6px;
    }
    
    .blog-category-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .blog-newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-newsletter-content p {
        font-size: 0.95rem;
    }
}

/* ===================================
   PAGINATION STYLES
   Ultra Modern with Amazing Effects
   =================================== */

.pagination-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.pagination-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: paginationGlow 6s ease-in-out infinite alternate;
}

@keyframes paginationGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    animation: paginationSlideIn 0.8s ease-out;
}

@keyframes paginationSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Pagination Info */
.pagination-info {
    flex: 1;
    animation: infoFloat 3s ease-in-out infinite;
}

@keyframes infoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.pagination-text {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pagination-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.pagination-text:hover::before {
    left: 100%;
}

.pagination-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.pagination-text strong {
    color: #ffffff;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 700;
    animation: numberPulse 2s ease-in-out infinite;
    position: relative;
}

.pagination-text strong::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.3s ease;
    z-index: -1;
}

.pagination-text strong:hover::after {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1);
}

@keyframes numberPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.6));
    }
}

.pagination-total {
    color: #64748b;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.pagination-text:hover .pagination-total {
    color: #94a3b8;
}

/* Pagination Navigation */
.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 0.75rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: navFloat 4s ease-in-out infinite;
}

.pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pagination:hover::before {
    opacity: 1;
}

.pagination:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.2);
}

@keyframes navFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #94a3b8;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: itemBounce 2s ease-in-out infinite;
}

.pagination-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 12px;
    transform: scale(0.8);
}

.pagination-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.pagination-item:hover {
    color: #ffffff;
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.pagination-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.pagination-item:hover::after {
    width: 100px;
    height: 100px;
}

.pagination-item:hover i,
.pagination-item:hover span {
    position: relative;
    z-index: 2;
    animation: textShake 0.5s ease-in-out;
}

.pagination-item.active {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
    animation: activePulse 2s ease-in-out infinite;
}

@keyframes itemBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-1px);
    }
}

@keyframes textShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-2px);
    }
    75% {
        transform: translateX(2px);
    }
}

@keyframes activePulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
        transform: translateY(-2px) scale(1);
    }
    50% {
        box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
        transform: translateY(-3px) scale(1.05);
    }
}

.pagination-item.disabled {
    color: #475569;
    cursor: not-allowed;
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.pagination-item.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.1);
}

.pagination-item.disabled::before {
    display: none;
}

.pagination-dots {
    color: #64748b;
    font-weight: 600;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

/* Quick Jump */
.pagination-jump {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: jumpFloat 3s ease-in-out infinite;
}

@keyframes jumpFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-1px);
    }
}

.jump-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jump-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.jump-form:hover::before {
    left: 100%;
}

.jump-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.jump-input {
    width: 70px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.jump-input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: scale(1.05);
}

.jump-input::-webkit-outer-spin-button,
.jump-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.jump-input[type=number] {
    -moz-appearance: textfield;
}

.jump-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.jump-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.jump-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.jump-btn:hover::before {
    opacity: 1;
}

.jump-btn:hover i {
    position: relative;
    z-index: 2;
    animation: buttonSpin 0.6s ease-in-out;
}

.jump-btn:active {
    transform: translateY(-1px) scale(1.05);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .pagination-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .pagination {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination-info {
        order: 1;
    }
    
    .pagination-jump {
        order: 3;
        justify-content: center;
    }
    
    .pagination-item {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    
    .jump-form {
        padding: 0.5rem 0.6rem;
    }
    
    .jump-input {
        width: 50px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .jump-btn {
        width: 32px;
        height: 32px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .pagination-section {
        padding: 30px 0;
    }
    
    .pagination-text {
        font-size: 0.8rem;
    }
    
    .pagination-total {
        font-size: 0.7rem;
    }
    
    .pagination {
        padding: 0.4rem;
        gap: 0.4rem;
    }
    
    .pagination-item {
        min-width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
    
    .pagination-item.prev span,
    .pagination-item.next span {
        display: none;
    }
    
    .pagination-dots {
        height: 32px;
        font-size: 0.7rem;
        padding: 0 4px;
    }
    
    .jump-form {
        padding: 0.4rem 0.5rem;
        gap: 0.4rem;
    }
    
    .jump-input {
        width: 45px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .jump-btn {
        width: 28px;
        height: 28px;
        font-size: 0.6rem;
    }
}
