/* Gallery Header */
.pfine-gallery-header {
    position: relative;
    width: 100%;
    height: 400px; /* Adjustable height */
    background: url('/art-gallery/background_images/pfine_art_gallery.webp') center center/cover no-repeat; /* Use high-res banner */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-overlay {
    background: rgba(0, 0, 0, 0.5); /* Subtle dark overlay */
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    max-width: 90%;
}

.header-overlay h1 {
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-overlay p {
    font-family: 'Lato', sans-serif;
    font-size: 1.2em;
    color: #f0f0f0;
    line-height: 1.5;
    max-width: 600px;
    margin: auto;
}

/* Optional subtle animation */
.pfine-gallery-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    top: 0;
    left: 0;
    z-index: 1;
}

.header-overlay {
    position: relative;
    z-index: 2;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .pfine-gallery-header {
        height: 300px;
    }
    .header-overlay h1 {
        font-size: 2em;
    }
    .header-overlay p {
        font-size: 1em;
    }
}