/* PREMIUM SUB-PAGE STYLES */

.sub-page-hero {
    position: relative;
    height: 60vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax-like effect */
    margin-bottom: 60px;
}

.sub-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
}

.sub-page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    color: white;
}

.sub-page-hero-content h1 {
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    border-bottom: 2px solid #fdad01;
    display: inline-block;
    padding-bottom: 10px;
}

.sub-page-intro {
    max-width: 900px;
    margin: 0 auto 60px auto;
    text-align: left;
    padding: 0 20px;
}

.sub-page-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.sub-page-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.premium-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto 80px auto;
    padding: 0 20px;
}

.premium-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.premium-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.premium-gallery-item img,
.premium-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

@media (max-width: 768px) {
    .sub-page-hero {
        height: 50vh;
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .sub-page-hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .premium-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}