/* Use your main site styles for header, fonts, etc. */
@import url("style.css");

/* Page layout */
.site-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg);
}

/* Section + title */
.photo-section {
    padding-top: calc(var(--space-xl) + 1.5rem);
    padding-bottom: var(--space-xl);
}

.photo-title {
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* Grid: smaller tiles, feels complete but not huge */
.photo-grid {
    max-width: 1100px;                 
    margin: 0 auto;
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.75rem;
}

/* Each photo tile, same language as Work cards */
.photo-item {
    background: #fafafa;
    border-radius: var(--work-radius);
    border: 1px solid #e8e8e8;
    box-shadow: var(--work-shadow-outer);
    overflow: hidden;
    transition: box-shadow var(--work-ease-shadow);
}

.photo-item:hover {
    box-shadow: var(--work-shadow-hover);
}

/* Photos themselves */
.photo-item img {
    width: 100%;
    display: block;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--work-ease-media);
}

.photo-item:hover img {
    transform: scale(var(--work-hover-scale));
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .photo-title {
        font-size: 2rem;
    }
}
