/* --- Page Hero Section --- */
.page-hero {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3.5rem 2rem 3rem;
    background: var(--navy);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/split-ferry-depart.jpg') center / cover no-repeat;
    opacity: 0.30;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.page-hero .eyebrow {
    color: var(--mist);
}

.page-hero .eyebrow::before {
    background: var(--mist);
}

.page-hero h1 {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.12;
}

.page-hero h1 em {
    color: var(--mist);
    font-style: italic;
}

.page-hero p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    line-height: 1.75;
}

.page-hero-wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    line-height: 0;
}

/* --- Gallery Controls --- */
.gallery-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gallery-cat-btn {
    cursor: pointer;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    color: var(--muted);
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.gallery-cat-btn.active,
.gallery-cat-btn:hover {
    border-color: var(--ocean);
    background: var(--ocean);
    color: var(--white);
}

/* --- Gallery Grid --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
    cursor: default !important;
}

.gallery-item .img-ph {
    border: none;
    border-radius: var(--radius);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.wide {
        grid-column: span 2;
    }

    .gallery-item.tall {
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.wide {
        grid-column: auto;
    }
}