/* =====================================================
   BLOG STYLES - Romantic Rose Theme
   ===================================================== */

/* Blog Container */
.blog-page {
    min-height: 100vh;
    padding-top: 100px;
    background: linear-gradient(180deg, var(--rose-50) 0%, white 50%);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.blog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1rem;
}

.blog-header h1 span {
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    color: var(--stone-600);
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Blog Card */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(244, 63, 94, 0.15);
}

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

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

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

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--stone-500);
}

.blog-card-meta i {
    color: var(--rose-400);
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-800);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--rose-500);
}

.blog-card-excerpt {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rose-500);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    color: var(--rose-600);
    gap: 0.75rem;
}

/* =====================================================
   BLOG POST DETAIL PAGE
   ===================================================== */

.blog-post-page {
    min-height: 100vh;
    padding-top: 100px;
    background: white;
}

/* Post Hero */
.blog-post-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(180deg, var(--rose-50) 0%, var(--rose-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f43f5e' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.blog-post-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.blog-post-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.blog-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--stone-800);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--stone-600);
}

.blog-post-meta i {
    color: var(--rose-400);
    margin-right: 0.5rem;
}

/* Post Content */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-post-content {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    color: var(--stone-700);
    line-height: 1.8;
}

.blog-post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 2.5rem 0 1.25rem;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content a {
    color: var(--rose-500);
    text-decoration: underline;
    text-decoration-color: var(--rose-200);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.blog-post-content a:hover {
    color: var(--rose-600);
    text-decoration-color: var(--rose-500);
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.blog-post-content ul li::marker {
    color: var(--rose-400);
}

.blog-post-content ol li::marker {
    color: var(--rose-500);
    font-weight: 600;
}

.blog-post-content strong {
    color: var(--stone-800);
    font-weight: 600;
}

.blog-post-content em {
    font-style: italic;
    color: var(--stone-600);
}

.blog-post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--rose-50);
    border-left: 4px solid var(--rose-400);
    border-radius: 0 12px 12px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--stone-700);
}

/* Gift Card Style */
.gift-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.08);
    border: 1px solid var(--rose-100);
    transition: all 0.3s ease;
}

.gift-card:hover {
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.12);
    transform: translateY(-2px);
}

.gift-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    color: white;
    border-radius: 50%;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gift-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone-800);
    margin: 0 0 0.75rem 0;
}

.gift-card p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: var(--stone-600);
    line-height: 1.7;
    margin: 0;
}

/* CTA Box */
.blog-cta-box {
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--rose-600) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: shimmer 15s infinite linear;
}

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

.blog-cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: white;
}

.blog-cta-box p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--rose-600);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Tags */
.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--stone-200);
}

.blog-tag {
    display: inline-block;
    background: var(--stone-100);
    color: var(--stone-600);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--rose-100);
    color: var(--rose-600);
}

/* Related Posts */
.blog-related {
    background: var(--stone-50);
    padding: 4rem 2rem;
}

.blog-related-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-related h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--stone-800);
    text-align: center;
    margin-bottom: 2rem;
}

/* Back Button */
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--stone-600);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.blog-back-link:hover {
    color: var(--rose-500);
    gap: 0.75rem;
}

.blog-back-link i {
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-header p {
        font-size: 1rem;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
    }

    .blog-post-hero {
        height: 300px;
    }

    .blog-post-title {
        font-size: 1.875rem;
    }

    .blog-post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .blog-post-container {
        padding: 2rem 1.5rem;
    }

    .blog-post-content {
        font-size: 1rem;
    }

    .blog-post-content h2 {
        font-size: 1.5rem;
    }

    .blog-cta-box {
        padding: 2rem 1.5rem;
    }

    .blog-cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        padding: 1rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }

    .blog-post-hero-content {
        padding: 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .gift-card,
    .blog-cta-button,
    .blog-card-link {
        transition: none;
    }

    .blog-card:hover,
    .gift-card:hover {
        transform: none;
    }

    .blog-cta-box::before {
        animation: none;
    }
}
