@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Patrick+Hand&display=swap');

:root {
    /* Colors */
    --chalk-bg: #1a1a1a;
    --chalk-text: #ededed;
    --chalk-pink: #FFB7B2;
    --chalk-cyan: #B5EAD7;
    --chalk-yellow: #E2F0CB;
    --chalk-gray: #e0e0e0;

    /* Fonts */
    --font-header: 'Patrick Hand', cursive;
    --font-body: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--chalk-bg);
    color: var(--chalk-text);
    font-family: var(--font-body);
    /* Noise texture overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    letter-spacing: 0.05em;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.grid {
    display: grid;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.w-full {
    width: 100%;
}

.text-chalk-cyan {
    color: var(--chalk-cyan);
}

.text-chalk-pink {
    color: var(--chalk-pink);
}

.text-chalk-yellow {
    color: var(--chalk-yellow);
}

.text-chalk-gray {
    color: var(--chalk-gray);
}

/* Components */
.navbar {
    padding: 1.5rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.logo {
    font-size: 2rem;
    font-family: var(--font-header);
    color: var(--chalk-cyan);
}

.chalk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--chalk-bg);
    background-color: var(--chalk-text);
    border: none;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 2px 2px 0px rgba(255, 255, 255, 0.2);
}

.chalk-btn:hover {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 4px 4px 0px rgba(255, 255, 255, 0.3);
}

.chalk-card {
    background: transparent;
    border: 2px solid var(--chalk-gray);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.chalk-card:hover {
    transform: translateY(-5px);
    border-color: var(--chalk-cyan);
}

.chalk-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.chalk-card:hover img {
    filter: grayscale(0%);
}

.nav-link {
    font-family: var(--font-header);
    font-size: 1.25rem;
    position: relative;
    margin-left: 1.5rem;
}

.nav-link:hover {
    color: var(--chalk-cyan);
}

/* Article Styles */
.article-header {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
    padding: 4rem 0;
    text-align: center;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 800px;
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: rgba(237, 237, 237, 0.9);
}

.article-content h2 {
    color: var(--chalk-cyan);
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}