/* Premium Blog Post Styling */

/* Import premium fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables for Premium Theme */
:root {
    --primary-dark: #0A0F1A;
    --primary-accent: #E94D4E;
    --primary-gold: #FFC94A;
    --secondary-gold: #B9810D;
    --text-primary: #1A1A1A;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-accent: #F1F5F9;
    --border-light: #E2E8F0;
    --border-medium: #CBD5E0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #FFC94A 0%, #B9810D 100%);
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Premium Typography */
.blog-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-date {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 50px;
    display: inline-block;
    border: 1px solid var(--border-light);
    font-weight: 500;
}

/* Premium Content Summary */
.content-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.content-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.content-summary h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.content-summary p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.content-summary .summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.content-summary .summary-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.content-summary .summary-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.content-summary .summary-item strong {
    color: var(--primary-accent);
    font-weight: 600;
}

/* Premium Video Section */
.blog-video-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.blog-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233, 77, 78, 0.1) 0%, rgba(255, 201, 74, 0.1) 100%);
    pointer-events: none;
}

.video-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.video-title i {
    color: var(--primary-accent);
    font-size: 1.5rem;
}

.video-frame-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: black;
}

.video-frame {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
}

/* Premium Key Takeaways */
.key-takeaways {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.key-takeaways::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.key-takeaways h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.key-takeaways .takeaway-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.key-takeaways .takeaway-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.key-takeaways .takeaway-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-accent);
}

.key-takeaways .takeaway-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.key-takeaways .takeaway-number {
    color: var(--primary-accent);
    font-weight: 700;
    font-size: 1.25rem;
    min-width: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.key-takeaways .takeaway-content {
    flex: 1;
}

.key-takeaways .takeaway-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Premium Blog Content */
.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--gradient-accent);
}

.blog-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Premium Tags */
.resource-tags {
    margin: 1.5rem 0;
}

.resource-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0.5rem 0.25rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.resource-tags .tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: white;
}

/* Premium Breadcrumb */
nav[aria-label="Breadcrumb"] {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

nav[aria-label="Breadcrumb"] .resource-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav[aria-label="Breadcrumb"] .resource-link:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .content-summary,
    .key-takeaways {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .content-summary .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .video-frame {
        height: 250px;
    }
    
    .blog-video-container {
        padding: 1.5rem;
    }
}

/* Premium Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-summary,
.key-takeaways,
.blog-video-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-accent);
}
