/* Gallery Styles - Unified Hero & Zig Zag Pattern */

#gallery.page-content {
    background-color: white;
    color: var(--text-dark);
    min-height: 100vh;
}

/* Gallery Hero (Standardized) */
.gallery-hero {
    background: linear-gradient(180deg, var(--highlight-color) 0%, var(--primary-color) 100%);
    /* Blue Gradient: #3282b8 -> #1a1a2e */
    padding: 12rem var(--spacing-lg) 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 50% 100%, 0 90%);
    /* Match About */
    margin-bottom: 2rem;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
}

.gallery-hero h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-hero .lead-text {
    font-size: 1.35rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}


/* Content Layout */
#gallery .content-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.gallery-container {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.zigzag-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 6rem;
}

/* Alternate order for even items to create zig-zag */
.zigzag-item:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery-img-wrapper {
    flex: 1;
    width: 50%;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
}

.gallery-img-wrapper:hover {
    transform: scale(1.02);
}

.gallery-img-wrapper img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.gallery-content {
    flex: 1;
    width: 45%;
    padding: var(--spacing-md);
}

.gallery-content h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    /* Dark Blue */
    position: relative;
    display: inline-block;
}

.gallery-content h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    /* Gold Accent */
    margin-top: 0.5rem;
}

.gallery-content p {
    color: var(--text-light);
    /* Grey Text */
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(50, 130, 184, 0.1);
    /* Light Blue bg */
    color: var(--highlight-color);
    /* Blue Text */
    padding: 0.5rem 1rem;
    border-radius: var(--radius-round);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-hero {
        padding: 10rem var(--spacing-md) 4rem;
        clip-path: none;
    }

    .gallery-hero h2 {
        font-size: 2.5rem;
    }

    .zigzag-item,
    .zigzag-item:nth-child(even) {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .gallery-img-wrapper,
    .gallery-content {
        width: 100%;
    }

    .gallery-img-wrapper img {
        height: 250px;
    }
}