

.gallery-page {
    display: block; 
    max-width: 1200px;
}

.gallery-header {
    margin-bottom: 80px;
    text-align: center;
}

.gallery-header h1 {
    font-size: 3.5rem;
    margin: 10px 0;
}

.intro-p {
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #666;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 60px 40px;
    border-top: 1px solid #111;
    padding-top: 40px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-family: "Helvetica", sans-serif;
}

.plate-no {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-size: 0.75rem;
    font-weight: bold;
}

.tag {
    font-size: 0.6rem;
    border: 1px solid #111;
    padding: 2px 6px;
    font-weight: 900;
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; 
    background-color: #f7f7f7;
    border: 1px solid #eee;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-wrapper:hover .gallery-img {
    transform: scale(1.05); 
}

.item-meta {
    margin-top: 15px;
}

.item-title {
    font-size: 1rem;
    margin: 0 0 5px 0;
    letter-spacing: 1px;
}

.item-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
}


.nav-links a.active .nav-text {
    color: var(--popeye-blue);
    border-bottom: 2px solid var(--popeye-blue);
}