/* ABOUTME: Styles for wedding photo gallery.
   ABOUTME: Clean, minimal design that lets photos be the focus. */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #fafafa;
    color: #333;
    line-height: 1.6;
}

.site-header {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: white;
    border-bottom: 1px solid #eee;
}

.site-header h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.site-header .subtitle {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    background: #eee;
    aspect-ratio: 3 / 2;
}

.gallery-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.gallery-thumb[src] {
    opacity: 1;
}

.gallery-grid a:hover .gallery-thumb {
    transform: scale(1.05);
}

.gallery-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #888;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .site-header {
        padding: 2rem 1rem 1.5rem;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.5rem;
    }

    .gallery-grid a {
        border-radius: 2px;
    }
}
