/*
================================================================================
BLOG ARTICLE STYLES
================================================================================
This CSS file contains all styles for blog articles.
Edit this file to customize the look and feel of blog posts.

Changes will take effect immediately - just refresh your browser.
================================================================================
*/

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

/* Main container for blog content */
.blog-container {
    font-family: 'Inter', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Large serif title (used in hero, section headers) */
.blog-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 5.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Subtitle text (appears below title in hero) */
.blog-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    opacity: 1;
    max-width: 600px;
}

/* Section headings */
.section-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 2rem;
}

/* Body text for intro sections */
.intro-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 100%;
    font-weight: 300;
}

/* Text for profile sections */
.profile-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: #333;
}

/* Two-column text on desktop (materials section) */
.materials-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    color: #444;
    column-count: 1;
}

@media (min-width: 768px) {
    .materials-text {
        column-count: 2;
        column-gap: 4rem;
    }
}

/* Large feature title */
.hygge-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 2rem;
}

/* Feature description text */
.hygge-text {
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #333;
}

/* Two-column footer text */
.hygge-footer-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 4rem;
    column-count: 1;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hygge-footer-text {
        column-count: 2;
        column-gap: 4rem;
    }
}

/* Large material list item */
.material-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    line-height: 1.2;
}


/* =============================================================================
   HERO SECTION
   ============================================================================= */

/* Full-width hero with background image */
.blog-hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
}

/* Dark gradient overlay on hero */
.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Content container within hero */
.blog-hero-content {
    position: absolute;
    bottom: 10rem;
    left: 0;
    color: white;
    z-index: 2;
    padding-left: 15px;
}


/* =============================================================================
   LAYOUT SECTIONS
   ============================================================================= */

/* Standard section with bottom margin */
.blog-section {
    margin-bottom: 10rem;
}

/* Two-column intro layout */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: start;
    padding-top: 0;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

/* Left column of intro grid */
.intro-col-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 0;
}

/* Right column (pushed down for stagger effect) */
.intro-col-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 15rem;
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .intro-col-left {
        padding-top: 0;
    }
    
    .intro-col-right {
        padding-top: 0;
    }
}


/* =============================================================================
   IMAGE COMPONENTS
   ============================================================================= */

/* Image wrapper with hover effect */
.intro-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

/* Left column image (taller aspect ratio) */
.intro-col-left .intro-image-container {
    aspect-ratio: 2/3;
}

/* Larger aspect ratio variant */
.intro-image-container.large {
    aspect-ratio: 4/5;
}

/* Image with zoom on hover */
.intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.intro-image:hover {
    transform: scale(1.03);
}

/* Grayscale filter for images */
.grayscale {
    filter: grayscale(100%);
}


/* =============================================================================
   PROFILE SECTION
   ============================================================================= */

/* Profile layout wrapper */
.profile-section-container {
    position: relative;
    overflow: hidden;
}

/* Vertical rotated name */
.profile-name-vertical {
    font-family: 'Bodoni Moda', serif;
    font-size: 8rem;
    font-weight: 700;
    color: #000;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    left: -20px;
    bottom: 0;
    white-space: nowrap;
    line-height: 0.8;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 992px) {
    .profile-name-vertical {
        position: static;
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 3.5rem;
        margin-bottom: 1rem;
        display: block;
        line-height: 1.1;
    }
}


/* =============================================================================
   MATERIALS SECTION
   ============================================================================= */

.materials-list {
    margin-top: 4rem;
}


/* =============================================================================
   PAGE BACKGROUND & COLORS
   ============================================================================= */

/* Blog page background color */
.blog-page {
    background: #F2EFE9;
    color: #2D2D2D;
}

/* Text selection highlight color (terracotta) */
.blog-page ::selection {
    background: #C07A50;
    color: white;
}


/* =============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================= */

@media (max-width: 992px) {
    .blog-title {
        font-size: 3.5rem;
    }

    .blog-hero {
        height: 60vh;
    }
}


/* =============================================================================
   CUSTOM STYLES
   ============================================================================= */

/*
You can add custom styles directly in your .ejs file using a <style> tag:

<style>
    .my-custom-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        padding: 4rem;
    }
    
    .my-custom-title {
        font-size: 6rem;
        color: white;
    }
</style>

<section class="my-custom-section">
    <h2 class="my-custom-title">Custom Design!</h2>
</section>
*/
