/* Gallery Page Styles */

/* Hero Section */
.gallery-hero-section {
    position: relative;
    height: 45vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.gallery-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gallery-hero-img {
    width: 100%;
    height: 100%;
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.gallery-subtitle {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.05em;
    margin: 0;
    width: auto;
    line-height: 1;
    margin-top: 10px;
}

/* Description Section */
.gallery-description-section {
    background-color: var(--color-main-bg);
    padding: 5rem 0 12rem 0;
}

.gallery-description-content {
    max-width: 900px;
    margin: 0 auto;
}

.gallery-intro {
    font-family: var(--font-heading, 'Cinzel', serif);
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: 3rem;
    font-style: italic;
    text-align: center;
}

.gallery-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.gallery-text:last-child {
    margin-bottom: 0;
}

/* Gallery Content (WordPress Editor Output) */
.gallery-content p {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--color-black);
    margin-bottom: var(--spacing-md);
    text-align: justify;
}

.gallery-content p:last-child {
    margin-bottom: 0;
}


/* Responsive Tablet */
@media (max-width: 1024px) {
    .gallery-main-title {
        font-size: 3.5rem;
    }

    .gallery-subtitle {
        font-size: 1.3rem;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .gallery-hero-section {
        height: 30vh;
        min-height: 250px;
    }

    .gallery-hero-content {
        padding: 0 var(--spacing-md);
    }

    .gallery-main-title {
        font-size: 1.8rem;
        letter-spacing: 0.05em;
    }

    .gallery-subtitle {
        font-size: 1rem;
        width: 100%;
        margin-top: 8px;
    }

    .gallery-description-section {
        padding: 4rem 0;
    }

    .gallery-intro {
        font-size: 1.25rem;
        line-height: 1.6;
        letter-spacing: 0;
        text-align: left;
    }

    .gallery-text,
    .gallery-content p {
        font-size: 1.25rem;
        line-height: 1.6;
        letter-spacing: 0;
        text-align: left;
    }
}