:root {
    --bg-color: #ffffff;
    --card-bg: #fdfdfd;
    --text-main: #222;
    --text-muted: #555;
    --accent-link: #0044cc;
    --border-color: #e0e0e0;
}

body {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

h1 { font-size: 2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.5rem; color: var(--text-muted); margin-top: 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.photo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.photo-card img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.photo-card img:hover {
    transform: scale(1.02);
}

.caption {
    margin-top: 1rem;
}

.caption h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.caption p {
    font-size: 0.95rem;
    margin: 0.25rem 0;
    color: var(--text-muted);
}

footer {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

a {
    color: var(--accent-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Mobile adjustments */
@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    h1 { font-size: 1.5rem; }
}