/* ========================================== */
/* BLOG STYLES - SEFRESH.com
/* ========================================== */

/* Blog Hero Section */
.blog-hero-section {
    background: linear-gradient(135deg, #001a33 0%, #003d66 50%, #0099cc 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    position: relative;
}

.blog-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.blog-hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.blog-search-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-form {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.blog-search-btn {
    background: var(--teal, #0099cc);
    border: none;
    padding: 0 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-search-btn:hover {
    background: var(--deep-blue, #001a33);
}

/* Blog Content Section */
.blog-content-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Categories Filter */
.blog-categories-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.filter-label {
    font-weight: 600;
    color: var(--deep-blue, #001a33);
}

.filter-link {
    padding: 8px 18px;
    background: white;
    border-radius: 30px;
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-link:hover,
.filter-link.active {
    background: var(--teal, #0099cc);
    color: white;
}

/* Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    height: 220px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post-card:hover .post-overlay {
    opacity: 1;
}

.post-overlay i {
    font-size: 2rem;
    color: white;
}

.placeholder-thumbnail {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.post-content {
    padding: 20px;
}

.post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cat-badge {
    background: rgba(0, 153, 204, 0.1);
    color: var(--teal, #0099cc);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cat-badge:hover {
    background: var(--teal, #0099cc);
    color: white;
}

.post-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.post-title a {
    color: var(--deep-blue, #001a33);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--teal, #0099cc);
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.75rem;
    color: #999;
}

.post-meta i {
    margin-right: 5px;
}

.post-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal, #0099cc);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    gap: 12px;
    color: var(--deep-blue, #001a33);
}

/* Pagination */
.blog-pagination {
    text-align: center;
    margin-top: 30px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: var(--deep-blue, #001a33);
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-pagination .page-numbers.current {
    background: var(--teal, #0099cc);
    color: white;
}

.blog-pagination .page-numbers:hover:not(.current) {
    background: var(--teal, #0099cc);
    color: white;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.widget-header i {
    font-size: 1.3rem;
    color: var(--teal, #0099cc);
}

.widget-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.about-logo {
    width: 80px;
    margin-bottom: 15px;
}

.about-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--teal, #0099cc);
    text-decoration: none;
    font-weight: 600;
}

.categories-list,
.recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li,
.recent-list li {
    margin-bottom: 12px;
}

.categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-list li a:hover {
    color: var(--teal, #0099cc);
    padding-left: 5px;
}

.cat-count {
    color: #999;
    font-size: 0.8rem;
}

.recent-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
}

.recent-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-thumb.placeholder {
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.recent-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 5px;
    color: var(--deep-blue, #001a33);
}

.recent-date {
    font-size: 0.7rem;
    color: #999;
}

.instagram-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    border-radius: 15px;
    color: white;
    margin-bottom: 15px;
}

.instagram-profile i {
    font-size: 2rem;
}

.btn-follow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: #e4405f;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    transform: translateY(-2px);
    color: white;
}

.cta-widget {
    background: linear-gradient(135deg, #001a33, #003d66);
    color: white;
    text-align: center;
}

.cta-widget i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-cta-wa:hover {
    transform: translateY(-2px);
    color: white;
}

/* CTA Banner */
.blog-cta-section {
    padding: 60px 0;
    background: #f0f4f8;
}

.cta-banner {
    background: linear-gradient(135deg, #001a33, #003d66);
    border-radius: 30px;
    padding: 50px;
    text-align: center;
    color: white;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 15px;
}

.cta-banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--teal, #0099cc);
    color: white;
}

.btn-primary:hover {
    background: var(--deep-blue, #001a33);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--deep-blue, #001a33);
    transform: translateY(-2px);
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
}

.no-posts-found i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 25px;
    background: var(--teal, #0099cc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        padding: 30px 20px;
    }
    
    .cta-banner-buttons {
        flex-direction: column;
    }
    
    .blog-search-input {
        padding: 12px 15px;
    }
}

