/* Additional styles for subpages */

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-accent);
}

.page-header {
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10vh;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 6vw;
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 300;
    text-align: center;
}

.page-title .line {
    overflow: hidden;
}

.page-title .word {
    display: inline-block;
    transform: translateY(100%);
}

.page-title .italic {
    font-style: italic;
    color: var(--color-accent);
}

/* Gallery Grid */
.gallery {
    padding: 10vw 5vw;
    display: flex;
    flex-direction: column;
    gap: 15vw;
}

.gallery-row {
    display: flex;
    justify-content: space-between;
    gap: 5vw;
}

.gallery-item {
    position: relative;
    width: 100%;
}

.gallery-item.large {
    width: 100%;
    height: 120vh;
}

.gallery-item.medium {
    width: 45%;
    height: 80vh;
}

.gallery-item .img-wrapper {
    overflow: hidden;
}

.gallery-item img {
    transform: scale(1.1);
    transition: transform 1s var(--ease-out-expo);
}

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

.gallery-caption {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(230, 227, 216, 0.2);
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.gallery-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.gallery-caption p {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
}
