@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #faf9f6;
    color: #3d3d3d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.8;
}

/* ── Header ── */
header {
    background-color: #faf9f6;
    color: #2c2c2c;
    padding: 50px 20px 20px;
    text-align: center;
    border-bottom: 1px solid #e0dcd4;
}

header h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

header p {
    font-size: 1rem;
    color: #777;
    font-style: italic;
}

/* ── Navigation ── */
nav {
    background-color: #faf9f6;
    padding: 16px 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    border-bottom: 1px solid #e0dcd4;
    flex-wrap: wrap;
}

nav a {
    color: #555;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

nav a:hover {
    color: #2c2c2c;
    background-color: #eee9e0;
}

nav a.active {
    color: #2c2c2c;
    background-color: #e0dcd4;
    font-weight: 600;
}

/* ── Main Content ── */
main {
    flex: 1;
    padding: 50px 20px 60px;
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

main h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c2c2c;
}

section h3 {
    margin-top: 12px;
    margin-bottom: 16px;
}

section h4 {
    margin-top: 10px;
    margin-bottom: 12px;
}

main > p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 18px;
}

/* ── Cards (landing page) ── */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 35px;
}

.card {
    background: #fff;
    border: 1px solid #e0dcd4;
    border-radius: 8px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    border-color: #c5bfb3;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 16px;
    line-height: 1.7;
}

.card a.btn {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 22px;
    background-color: transparent;
    color: #2c2c2c;
    text-decoration: none;
    border: 1.5px solid #2c2c2c;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.card a.btn:hover {
    background-color: #2c2c2c;
    color: #fff;
}

/* ── Footer ── */
footer {
    background-color: #faf9f6;
    color: #999;
    text-align: center;
    padding: 24px 20px;
    font-size: 0.82rem;
    border-top: 1px solid #e0dcd4;
}

/* ── Image Gallery ── */
.image-gallery {
    margin-top: 24px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.image-item {
    flex: 1;
    min-width: 200px;
}

.image-item p {
    margin-bottom: 8px;
}

.image-item img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #e0dcd4;
    margin-bottom: 28px;
}

/* ── Stacked images ── */
.image-stack {
    display: flex;
    flex-direction: column;
}

.image-stack img {
    margin-bottom: 10px;
}
