/* ===================================
   Enhanced Blog-Specific Styles
   The CreativeEye - Updated Design
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Yeseva+One&display=swap');

/* Override body text with DM Sans */
body {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Keep Yeseva One for headers */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Yeseva One', serif;
}

/* Navigation Updates */
.main-nav {
    background-color: var(--dark-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-menu a {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Blog Index Header */
.blog-header {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    text-align: center;
}

.blog-header h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.blog-intro {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

/* Blog Listing */
.blog-listing {
    padding: 80px 0;
    background-color: var(--light-color);
}

.blog-list-item {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.blog-list-image {
    overflow: hidden;
}

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

.blog-list-item:hover .blog-list-image img {
    transform: scale(1.08);
}

.blog-list-content {
    padding: 40px 40px 40px 0;
}

.blog-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-list-content h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.blog-list-content h2 a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.blog-list-content h2 a:hover {
    color: var(--primary-color);
}

.blog-list-content > p {
    margin-bottom: 25px;
    line-height: 1.8;
}

/* Individual Blog Post */
.blog-post {
    background-color: white;
}

/* Updated Post Header - 50% Less Height */
.post-header {
    position: relative;
    height: 30vh;
    min-height: 225px;
    overflow: hidden;
}

.post-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 60px 20px 30px;
}

/* Remove date and subtitle from hero */
.post-date {
    display: none;
}

.post-subtitle {
    display: none;
}

.post-header h1 {
    font-size: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Post Content */
.post-content {
    padding: 80px 0;
}

.post-content .container {
    max-width: 800px;
}

.lead-paragraph {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.post-content p {
    margin-bottom: 25px;
}

.post-content h2 {
    color: var(--primary-color);
    margin: 50px 0 25px;
}

/* Enhanced Blockquote with Image */
.post-content blockquote {
    position: relative;
    background-color: var(--light-color);
    border-left: 5px solid var(--primary-color);
    padding: 40px 40px 40px 45%;
    margin: 50px 0;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--secondary-color);
    min-height: 250px;
    display: flex;
    align-items: center;
}

.post-content blockquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Specific blockquote images for each blog */
.blog-sketchbook blockquote::before {
    background-image: url('images/PWC/PWC-sketch-to-brand.jpg?w=600');
}

.blog-photography blockquote::before {
    background-image: url('images/OMG-new-halfhero-left.jpg?w=600');
}

.blog-hand-drawn blockquote::before {
    background-image: url('images/concept-sketched-interior-shop.jpg?w=600');
}

.blog-original-art blockquote::before {
    background-image: url('images/Microsoft/Microsoft-big-brother-graphics.jpg?w=600');
}

/* In-Content Image */
.content-image {
    margin: 50px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-image figcaption {
    padding: 20px;
    background-color: var(--light-color);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--secondary-color);
    text-align: center;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #f8f6f3, #fff);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.highlight-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.highlight-box p {
    margin-bottom: 15px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Image Callout */
.image-callout {
    background-color: var(--secondary-color);
    color: white;
    padding: 40px;
    margin: 40px 0;
    border-radius: 10px;
}

.image-callout h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.image-callout p {
    margin-bottom: 15px;
}

/* CTA Inline */
.cta-inline {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 50px;
    margin: 60px 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(217, 78, 40, 0.2);
}

.cta-inline h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cta-inline p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 18px 45px;
    border-radius: 50px;
    font-family: 'Yeseva One', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Lists */
.post-content ol {
    list-style-position: outside;
    padding-left: 25px;
    margin-bottom: 25px;
}

.post-content ol li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.post-content ol li strong {
    color: var(--primary-color);
}

.post-content ul li strong {
    color: var(--primary-color);
}

/* Post Footer */
.post-footer {
    background-color: var(--light-color);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.author-info img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

.author-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-info p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-to-blog,
.next-post {
    font-family: 'Yeseva One', serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.back-to-blog:hover,
.next-post:hover {
    color: var(--accent-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: bold;
    font-family: 'Yeseva One', serif;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Responsive Blog Styles */
@media (max-width: 968px) {
    .blog-header h1 {
        font-size: 3rem;
    }

    .post-header h1 {
        font-size: 2.2rem;
    }

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

    .blog-list-image {
        height: 250px;
    }

    .blog-list-content {
        padding: 30px;
    }

    .post-content blockquote {
        padding: 40px 30px 40px 45%;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .blog-header {
        padding: 60px 0 50px;
    }

    .blog-header h1 {
        font-size: 2.5rem;
    }

    .blog-intro {
        font-size: 1.2rem;
    }

    .post-header {
        height: 25vh;
        min-height: 200px;
    }

    .post-header h1 {
        font-size: 1.8rem;
    }

    .lead-paragraph {
        font-size: 1.25rem;
    }

    .post-content blockquote {
        padding: 30px;
        font-size: 1.15rem;
        flex-direction: column;
        min-height: auto;
    }

    .post-content blockquote::before {
        position: relative;
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .author-info {
        flex-direction: column;
        text-align: center;
    }

    .post-navigation {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .post-header h1 {
        font-size: 1.5rem;
    }

    .post-content {
        padding: 50px 0;
    }

    .author-info img {
        width: 100px;
        height: 100px;
    }

    .cta-inline {
        padding: 30px 20px;
    }

    .cta-inline h3 {
        font-size: 1.4rem;
    }
}