/* ===== Galeria page styles ===== */

/* Hero */
.gallery-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    background-color: var(--color-ink);
    color: var(--color-text-on-dark);
}

.gallery-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.gallery-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(11, 15, 26, 0.25);
}

.gallery-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    margin-inline: auto;
    padding: var(--space-4xl) var(--container-margin-mobile);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.gallery-hero__eyebrow {
    margin-block-end: 0;
}

.gallery-hero__content h1 {
    margin-block-end: 0;
}

.gallery-hero__lead {
    margin-block-end: 0;
    max-width: 620px;
}

.gallery-hero__cta {
    margin-block-start: var(--space-md);
}

/* Intro */
.gallery-intro__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: flex-start;
}

.gallery-intro__inner h2 {
    margin-block-end: 0;
}

.gallery-intro__inner p {
    margin-block-end: 0;
    max-width: 720px;
}

/* Restaurant */
.gallery-restaurant__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.gallery-restaurant__container h2 {
    margin-block-end: 0;
}

.gallery-restaurant__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-2xl);
    align-items: start;
}

.gallery-restaurant__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-width: 0;
}

.gallery-restaurant__text p {
    margin-block-end: 0;
    max-width: 360px;
}

.gallery-restaurant__figure {
    margin-block-end: 0;
    min-width: 0;
}

.gallery-restaurant__figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.gallery-restaurant__figure--portrait img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gallery-restaurant__figure--landscape img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.gallery-restaurant__figure figcaption {
    color: var(--color-text-muted-on-light);
}

/* Card Lounge */
.gallery-lounge__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.gallery-lounge__container h2 {
    margin-block-end: 0;
}

.gallery-lounge__figure {
    margin-block-end: 0;
    min-width: 0;
}

.gallery-lounge__figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

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

.gallery-lounge__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 720px;
}

.gallery-lounge__text p {
    margin-block-end: 0;
}

/* Poker */
.gallery-poker__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.gallery-poker__container h2 {
    margin-block-end: 0;
}

.gallery-poker__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-2xl);
}

.gallery-poker__figure {
    margin-block-end: 0;
    min-width: 0;
}

.gallery-poker__figure img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.gallery-poker__figure--portrait img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.gallery-poker__figure--landscape img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.gallery-poker__figure figcaption {
    color: var(--color-text-muted-on-light);
}

.gallery-poker__text {
    max-width: 720px;
}

.gallery-poker__text p {
    margin-block-end: 0;
}

/* Details */
.gallery-details__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: flex-start;
}

.gallery-details__inner h2 {
    margin-block-end: 0;
}

.gallery-details__list {
    list-style: none;
    padding: 0;
    margin-block-end: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-width: 720px;
}

.gallery-details__list li {
    position: relative;
    padding-left: var(--space-xl);
    color: var(--color-text-on-light);
}

.gallery-details__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background-color: var(--color-brass);
    border-radius: 50%;
}

/* Quote */
.gallery-quote__inner {
    display: flex;
    justify-content: center;
}

.gallery-quote__blockquote {
    margin-block-end: 0;
    max-width: 720px;
    text-align: center;
    border-left: 1px solid var(--color-brass);
    padding-left: var(--space-xl);
}

.gallery-quote__blockquote p {
    font-family: var(--font-heading);
    font-size: var(--text-h2-size);
    line-height: var(--text-h2-line-height);
    font-weight: 500;
    font-style: italic;
    color: var(--color-text-on-dark);
    margin-block-end: var(--space-md);
}

.gallery-quote__author {
    margin-block-end: 0;
}

/* CTA */
.gallery-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

.gallery-cta__inner h2 {
    margin-block-end: 0;
}

.gallery-cta__button {
    min-width: 280px;
}

/* Responsive */
@media (min-width: 40rem) {
    .gallery-hero__content {
        padding-inline: var(--container-margin-tablet);
    }
}

@media (min-width: 64rem) {
    .gallery-hero__content {
        padding-inline: var(--container-margin-desktop);
    }
}

@media (max-width: 47.999rem) {
    .gallery-restaurant__layout {
        grid-template-columns: 1fr;
    }

    .gallery-restaurant__text p {
        max-width: 100%;
    }

    .gallery-restaurant__figure--portrait img {
        aspect-ratio: 4 / 5;
    }

    .gallery-poker__grid {
        grid-template-columns: 1fr;
    }

    .gallery-poker__figure--portrait img {
        aspect-ratio: 4 / 5;
    }

    .gallery-poker__figure--landscape img {
        aspect-ratio: 3 / 2;
    }
}

@media (max-width: 29.999rem) {
    .gallery-hero {
        min-height: 0;
        padding-block: var(--space-4xl);
    }

    .gallery-hero__media {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 5;
    }

    .gallery-hero__content {
        padding: var(--space-2xl) var(--container-margin-mobile);
    }

    .gallery-hero__cta {
        width: 100%;
    }

    .gallery-cta__button {
        width: 100%;
        min-width: 0;
    }

    .gallery-quote__blockquote {
        padding-left: var(--space-md);
    }

    .gallery-quote__blockquote p {
        font-size: var(--text-h3-size);
        line-height: var(--text-h3-line-height);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-restaurant__figure img,
    .gallery-lounge__figure img,
    .gallery-poker__figure img {
        transition: none;
    }

    .gallery-restaurant__figure img:hover,
    .gallery-lounge__figure img:hover,
    .gallery-poker__figure img:hover {
        transform: none;
    }
}
