/* CSS Variables for minimal, warm aesthetic */
:root {
    --bg-color: #faf9f6; /* Off-white */
    --text-main: #3a3836;
    --text-muted: #6b6863;
    --accent-beige: #e3dac9;
    --accent-gold: #c5b399;
    --accent-pink: #eaddd7;
    
    /* System fonts */
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-main);
}

h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px; /* Top padding accounts for fixed nav */
    flex-grow: 1;
}

.center-text { text-align: center; }

.spacer { margin-top: 3rem; }

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid var(--accent-beige);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
    background: none;
    border: none;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-color);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid var(--accent-beige);
    }
    .nav-links.show { display: flex; }
}

/* Gallery / Memories */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 4px;
    background: var(--accent-pink); /* Placeholder bg */
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    font-size: 0.85rem;
    padding: 10px;
    text-align: center;
    background: var(--bg-color);
}

/* Lists */
.minimal-list {
    list-style: none;
    margin: 2rem 0;
}

.minimal-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--accent-beige);
    color: var(--text-muted);
}

.minimal-list li:last-child { border-bottom: none; }

/* Letter */
.letter-box {
    background: #fff;
    padding: 3rem;
    border: 1px solid var(--accent-beige);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    margin-top: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    color: var(--accent-gold);
    border-top: 1px solid var(--accent-beige);
    margin-top: auto;
}