/* ============================================================
   MATCHUMNEWS.COM - NEUBRUTALIST NEWS SITE STYLES
   ============================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #1A1A1A;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

p {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    font-weight: 400;
}

/* Hero Title */
.hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* Section Headings */
.section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #F5F1E8;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.manifesto-title {
    color: #D4883A;
    margin-bottom: 1.5rem;
}

/* Card Headlines */
.card-headline {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    line-height: 1.3;
    color: #1A1A1A;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

/* ============================================================
   PARALLAX SECTIONS
   ============================================================ */

.parallax-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ============================================================
   SECTION 1: HERO
   ============================================================ */

.hero-section {
    background-color: #F5F1E8;
    border-bottom: 8px solid #1A1A1A;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #3A3632;
    max-width: 600px;
    font-weight: 400;
}

/* ============================================================
   SECTION 2: FEATURED NEWS CARDS
   ============================================================ */

.featured-section {
    background-color: #2D5F3E;
    border-bottom: 8px solid #1A1A1A;
}

.featured-section .section-heading {
    color: #F5F1E8;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background-color: #F5F1E8;
    border: 3px solid #1A1A1A;
    padding: 2rem;
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 4px 4px 0px rgba(26, 26, 26, 0.2);
}

.news-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(26, 26, 26, 0.3);
}

/* Category Tags */
.card-tag {
    position: absolute;
    top: -8px;
    left: 12px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    white-space: nowrap;
    transform: rotate(-3deg);
    border: 2px solid #1A1A1A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.politics-tag {
    background-color: #2D5F3E;
    color: #F5F1E8;
}

.economics-tag {
    background-color: #D4883A;
    color: #F5F1E8;
}

.culture-tag {
    background-color: #C95B4A;
    color: #F5F1E8;
}

/* Card Content */
.card-excerpt {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #3A3632;
    font-size: clamp(0.95rem, 1.1vw, 1rem);
    line-height: 1.5;
}

.card-footer {
    border-top: 2px solid #1A1A1A;
    padding-top: 1rem;
}

.card-date {
    font-size: 0.85rem;
    color: #3A3632;
    font-weight: 500;
    text-transform: uppercase;
}

/* ============================================================
   SECTION 3: CATEGORIES
   ============================================================ */

.categories-section {
    background-color: #D4883A;
    border-bottom: 8px solid #1A1A1A;
}

.categories-section .section-heading {
    color: #1A1A1A;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-block {
    background-color: #1A1A1A;
    border: 3px solid #F5F1E8;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 3px 3px 0px rgba(245, 241, 232, 0.3);
}

.category-block:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0px rgba(245, 241, 232, 0.4);
}

.category-block h3 {
    color: #D4883A;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.category-block p {
    color: #F5F1E8;
    font-size: clamp(0.95rem, 1vw, 1rem);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.block-count {
    display: block;
    color: #D4883A;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   SECTION 4: HOW IT WORKS
   ============================================================ */

.howto-section {
    background-color: #4A8A5E;
    border-bottom: 8px solid #1A1A1A;
}

.howto-section .section-heading {
    color: #F5F1E8;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-block {
    background-color: #2D5F3E;
    border: 3px solid #F5F1E8;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.step-block:hover {
    transform: translate(2px, -2px);
}

.step-number {
    display: inline-block;
    font-family: 'Archivo Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #D4883A;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-block h3 {
    color: #D4883A;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.step-block p {
    color: #F5F1E8;
    font-size: clamp(0.95rem, 1vw, 1rem);
    line-height: 1.6;
}

/* ============================================================
   SECTION 5: MANIFESTO / FOOTER
   ============================================================ */

.manifesto-section {
    background-color: #1A1A1A;
    border-bottom: 8px solid #D4883A;
}

.manifesto-section .section-heading {
    color: #D4883A;
}

.manifesto-quote {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #D4883A;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.4;
    border-left: 6px solid #D4883A;
    padding-left: 2rem;
    font-style: italic;
}

.manifesto-quote p {
    color: #D4883A;
    margin-bottom: 0;
}

.manifesto-text {
    max-width: 900px;
    margin-bottom: 3rem;
}

.manifesto-text p {
    color: #F5F1E8;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.site-footer {
    border-top: 3px solid #D4883A;
    padding-top: 2rem;
    text-align: center;
}

.site-footer p {
    color: #3A3632;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================================
   NEUBRUTALIST DESIGN ELEMENTS
   ============================================================ */

/* Bold borders throughout */
section {
    border-style: solid;
}

/* Offset shadows for depth */
.news-card,
.category-block,
.step-block {
    border-style: solid;
    border-color: #1A1A1A;
}

/* Color-blocking effect */
.featured-section,
.howto-section {
    background-color: var(--bg-color, inherit);
}

/* ============================================================
   PARALLAX SCROLL EFFECT
   ============================================================ */

.parallax-section {
    perspective: 1000px;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .parallax-section {
        padding: 2rem 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 4rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    }

    .section-heading {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .card-tag {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .news-card {
        padding: 1.5rem;
        min-height: auto;
    }

    .news-card:hover {
        transform: translate(-1px, -1px);
        box-shadow: 3px 3px 0px rgba(26, 26, 26, 0.2);
    }

    .category-block h3 {
        font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    }

    .manifesto-quote {
        font-size: clamp(1.2rem, 2vw, 1.8rem);
        padding-left: 1.5rem;
        border-left: 4px solid #D4883A;
    }
}

@media (max-width: 480px) {
    .parallax-section {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }

    .section-heading {
        font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    }

    .card-headline {
        font-size: clamp(1rem, 2vw, 1.3rem);
    }

    .cards-grid,
    .categories-grid,
    .steps-container {
        gap: 1rem;
    }

    .news-card,
    .category-block,
    .step-block {
        padding: 1.5rem;
    }

    .manifesto-quote {
        font-size: clamp(1rem, 1.8vw, 1.4rem);
    }

    .manifesto-text p {
        font-size: clamp(0.9rem, 1vw, 0.95rem);
    }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card,
.category-block,
.step-block {
    animation: fadeInUp 0.6s ease-out;
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card:nth-child(4) {
    animation-delay: 0.4s;
}

.news-card:nth-child(5) {
    animation-delay: 0.5s;
}

.news-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* ============================================================
   COLOR SCHEME SUMMARY
   ============================================================ */

/* Primary Colors */
/* #F5F1E8 - Warm off-white */
/* #D4883A - Amber/terracotta */
/* #1A1A1A - Black */
/* #2D5F3E - Forest dark green */
/* #4A8A5E - Forest medium green */
/* #C95B4A - Coral (accent) */
/* #3A3632 - Dark brown (text) */
/* #E8DFD0 - Warm light (secondary) */
