/* Blog Page Styles */

/* Hero Section */
.blog-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--accent-rose) 100%);
    text-align: center;
}

.blog-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
}

.blog-hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.category-filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--accent-rose);
    background: transparent;
    color: var(--primary-pink);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    font-family: var(--font-body);
}

.category-filter-btn.active,
.category-filter-btn:hover {
    background: var(--primary-pink);
    color: var(--white);
}

/* Featured Post */
.featured-post {
    padding: 4rem 0;
    background: var(--white);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.placeholder-video {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-rose), var(--soft-lavender));
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-bg {
    background: linear-gradient(45deg, #ff6b9d, #e8d5ff);
}

.large-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.large-play::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 25px solid var(--primary-pink);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 8px;
}

.large-play:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-pink);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-text h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.featured-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.post-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.post-category.vlog {
    background: rgba(255, 107, 157, 0.2);
    color: var(--primary-pink);
}

.post-category.blog {
    background: rgba(139, 21, 56, 0.2);
    color: var(--deep-burgundy);
}

.post-category.tips {
    background: rgba(255, 215, 0, 0.2);
    color: #B8860B;
}

.post-category.behind-scenes {
    background: rgba(232, 213, 255, 0.2);
    color: #8b1538;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-actions {
    display: flex;
    gap: 1rem;
}

.share-btn {
    background: transparent;
    border: 2px solid var(--primary-pink);
    color: var(--primary-pink);
}

.share-btn:hover {
    background: var(--primary-pink);
    color: var(--white);
}

/* Blog Posts Grid */
.blog-posts {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--warm-cream) 0%, rgba(255, 107, 157, 0.05) 100%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Post Cards */
.post-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    opacity: 1;
    transform: translateY(0);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.2);
}

.post-card.hidden {
    display: none;
}

.post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-rose), var(--soft-lavender));
}

.vlog-bg {
    background: linear-gradient(45deg, #ff6b9d, #e8d5ff);
}

.blog-bg {
    background: linear-gradient(45deg, #8b1538, #ff6b9d);
}

.tips-bg {
    background: linear-gradient(45deg, #ffd700, #ffc2d1);
}

.behind-scenes-bg {
    background: linear-gradient(45deg, #e8d5ff, #fef7f0);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid var(--primary-pink);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.play-button:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.post-duration-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--deep-burgundy);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.post-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-content .post-meta {
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.read-more:hover {
    color: var(--deep-burgundy);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--white);
    text-align: center;
}

.newsletter-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--accent-rose);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
    border-radius: 50px;
}

.newsletter-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-categories {
        gap: 0.5rem;
    }

    .category-filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-image {
        height: 300px;
    }

    .featured-text h2 {
        font-size: 2rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }

    .blog-hero-content h1 {
        font-size: 2rem;
    }

    .featured-text h2 {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-content h3 {
        font-size: 1.3rem;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }
}

/* Animation for posts */
@keyframes postSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: postSlideIn 0.6s ease-out forwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }

/* Filter Animation */
.posts-grid.filtering .post-card {
    transition: all 0.3s ease;
}

.post-card.fade-out {
    opacity: 0;
    transform: scale(0.8);
}

.post-card.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Special effects for video posts */
.post-card[data-category="vlogs"] {
    border: 2px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(45deg, var(--primary-pink), var(--secondary-pink)) border-box;
}

.post-card[data-category="vlogs"]:hover {
    border-color: var(--primary-pink);
}
