/* Public event album page — professional layout aligned with Propella marketing UI */

.event-gallery-page {
    padding-top: calc(68px + 0.5rem);
    padding-bottom: 3.5rem;
    min-height: 55vh;
    background: linear-gradient(180deg, #f6f9fc 0%, #ffffff 28%, #fafbfc 100%);
}

.event-gallery-page__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.event-gallery-page__header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8eef4;
}

.event-gallery-page__title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #0c1f33;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
}

.event-gallery-page__description {
    margin: 0;
    max-width: 52rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #5c6b7a;
}

/* Carousel shell */
.event-gallery-page__stage {
    border-radius: 16px;
    overflow: hidden;
    background: #0c1829;
    box-shadow:
        0 4px 6px rgba(12, 24, 41, 0.06),
        0 12px 40px rgba(0, 47, 95, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.event-gallery-page__stage .carousel {
    height: min(66vh, 620px) !important;
}

.event-gallery-page__stage .carousel .carousel-item {
    min-height: min(66vh, 620px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, #1a2d47 0%, #0c1829 70%);
}

.event-gallery-page__stage .carousel-item img {
    width: 100%;
    height: min(66vh, 620px);
    object-fit: contain;
    background: transparent;
}

/* Materialize indicators */
.event-gallery-page__stage .carousel .indicators {
    bottom: 12px !important;
    padding-bottom: 0 !important;
}

.event-gallery-page__stage .carousel .indicators .indicator-item {
    background-color: rgba(255, 255, 255, 0.35) !important;
    width: 8px !important;
    height: 8px !important;
    margin: 0 5px !important;
}

.event-gallery-page__stage .carousel .indicators .indicator-item.active {
    background-color: #1c9c8d !important;
}

/* Controls */
.event-gallery-controls {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-gallery-controls__btn {
    border: none;
    border-radius: 999px;
    padding: 0 1.35rem;
    height: 44px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.event-gallery-controls__btn .material-icons {
    font-size: 1.125rem !important;
}

.event-gallery-controls__btn--prev {
    color: #002f5f;
    background: #fff;
    border: 1px solid #d0dee8;
    box-shadow: 0 2px 8px rgba(0, 47, 95, 0.06);
}

.event-gallery-controls__btn--prev:hover {
    background: #f0f6fb;
    transform: translateY(-1px);
}

.event-gallery-controls__btn--next {
    color: #fff;
    background: linear-gradient(135deg, #002f5f 0%, #0d5a8c 100%);
    box-shadow: 0 6px 20px rgba(0, 47, 95, 0.28);
}

.event-gallery-controls__btn--next:hover {
    box-shadow: 0 8px 24px rgba(0, 47, 95, 0.35);
    transform: translateY(-1px);
}

.event-gallery-controls__count {
    color: #495057;
    font-weight: 600;
    font-size: 0.875rem;
    min-width: 7rem;
    text-align: center;
    padding: 0.35rem 0.75rem;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #e9ecef;
}

/* Empty state */
.event-gallery-empty {
    max-width: 32rem;
    margin: 2rem auto 0;
    text-align: center;
    padding: 2.5rem 1.75rem 2.75rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8eef4;
    box-shadow: 0 8px 32px rgba(12, 24, 41, 0.06);
}

.event-gallery-empty__icon {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #e8f4f2 0%, #d4ebe8 100%);
    color: #1c9c8d;
}

.event-gallery-empty__icon .material-icons {
    font-size: 2.25rem !important;
}

.event-gallery-empty__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0c1f33;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.event-gallery-empty__text {
    margin: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #6c757d;
}

.event-gallery-empty__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #002f5f 0%, #0d5a8c 100%);
    box-shadow: 0 4px 14px rgba(0, 47, 95, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.event-gallery-empty__link:hover {
    box-shadow: 0 6px 20px rgba(0, 47, 95, 0.32);
    transform: translateY(-1px);
}

.event-gallery-empty__link .material-icons {
    font-size: 1.125rem !important;
}

@media (max-width: 600px) {
    .event-gallery-page {
        padding-top: 62px;
        padding-bottom: 2.5rem;
    }

    .event-gallery-controls__btn {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
    }
}
