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

body {
    font-family: system-ui, -apple-system, sans-serif;
    color: #1f2937;
    background: #f9fafb;
    line-height: 1.6;
}

header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
}

nav a:hover { color: #1f2937; }
nav a.active { color: #2563eb; }

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

h1 { font-size: 2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.4rem; margin: 1.5rem 0 0.5rem; }

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

.gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    cursor: zoom-in;
    display: block;
}

figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.3rem;
}

footer {
    text-align: center;
    color: #9ca3af;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* Lightbox (opened by script.js) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    z-index: 10;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: none;
    cursor: default;
}
