/* ===== PAGE BLOG - DESIGN PREMIUM ===== */

/* Blog Hero Section */
.blog-hero-section {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, var(--tech-gradient-1), var(--tech-gradient-2));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0 100px;
    overflow: hidden;
}

.dots-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(0, 180, 219, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: dotsMove 20s linear infinite;
}

@keyframes dotsMove {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

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

.blog-hero-title {
    font-size: 68px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blog-hero-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

/* Blog Search */
.blog-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

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

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--tech-gradient-3);
    box-shadow: 0 0 30px rgba(0, 180, 219, 0.5);
}

.search-box i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    margin-right: 15px;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    padding: 15px 20px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Blog Content Section */
.blog-content-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

/* Blog Card Premium */
.blog-card-premium {
    position: relative;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Blog Image */
.blog-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.blog-card-premium:hover .blog-image-wrapper img {
    transform: scale(1.15);
}

/* Category Badge */
.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--tech-gradient-3), var(--primary-color));
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 180, 219, 0.4);
    z-index: 2;
}

/* Blog Overlay */
.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 180, 219, 0.9), 
        rgba(47, 85, 212, 0.9));
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.blog-card-premium:hover .blog-overlay {
    opacity: 1;
}

.overlay-link {
    width: 70px;
    height: 70px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tech-gradient-3);
    font-size: 24px;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.blog-card-premium:hover .overlay-link {
    transform: scale(1);
}

.overlay-link:hover {
    background: var(--tech-gradient-3);
    color: #ffffff;
    transform: scale(1.15);
}

/* Blog Content */
.blog-content-wrapper {
    padding: 30px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-color);
}

.blog-meta i {
    color: var(--tech-gradient-3);
    font-size: 14px;
}

.meta-author {
    font-weight: 600;
}

.blog-title {
    margin-bottom: 18px;
}

.blog-title a {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--tech-gradient-3);
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 25px;
}

/* Read More Link */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tech-gradient-3);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.blog-read-more::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--tech-gradient-3);
    transition: width 0.3s ease;
}

.blog-read-more:hover::before {
    width: calc(100% - 30px);
}

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

.blog-read-more:hover {
    gap: 15px;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero-title {
        font-size: 42px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-image-wrapper {
        height: 240px;
    }
    
    .blog-meta {
        gap: 12px;
    }
    
    .meta-read {
        display: none;
    }
}

