/* ==================================
   PLACES TO EAT PAGE
================================== */

.place-to-eat-page{
    background:var(--bg);
    min-height:100svh;
}

/* ==================================
   HERO
================================== */

.place-to-eat-hero{
    position:relative;
    overflow:hidden;
    min-height:78svh;
    display:flex;
    align-items:flex-end;
}

.place-to-eat-hero-image{
    position:absolute;
    inset:0;
    z-index:0;
}

.place-to-eat-hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.place-to-eat-hero-image::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:
        linear-gradient(
            to top,
            rgba(15,23,42,.96) 0%,
            rgba(15,23,42,.62) 30%,
            rgba(15,23,42,.20) 58%,
            rgba(15,23,42,0) 80%
        );
}

.place-to-eat-hero-content{
    position:relative;
    z-index:2;
    color:var(--white);
    padding:
        var(--space-3xl)
        0
        var(--space-2xl);
}

.place-to-eat-location{
    margin-top:var(--space-md);
    color:var(--text-on-dark-muted);
    font-size:var(--text-md);
    letter-spacing:.04em;
    text-transform:uppercase;
}

.place-to-eat-category{
    margin-top:var(--space-xs);
    color:var(--gold);
    font-size:var(--text-xs);
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.place-to-eat-hero h1{
    margin:var(--space-sm) 0;
    max-width:760px;
    font-family:var(--font-heading);
    font-size:clamp(52px,8vw,82px);
    font-weight:600;
    line-height:.95;
    letter-spacing:-.05em;
}

/* ==================================
   LAYOUT
================================== */

.place-to-eat-layout{
    max-width:var(--content-narrow);
    margin:0 auto;
}

.place-to-eat-main{
    width:100%;
}

/* ==================================
   CONTENT
================================== */

.place-to-eat-section{
    margin-bottom:var(--space-xl);
}

.place-to-eat-section h2{
    margin:0 0 var(--space-md);
    font-family:var(--font-heading);
    font-size:var(--text-3xl);
    font-weight:600;
    letter-spacing:-.03em;
    color:var(--text);
}

.place-to-eat-description{
    color:var(--text-soft);
    font-size:var(--text-lg);
    line-height:1.9;
}

/* ==================================
   PHOTO GALLERY
================================== */

.place-to-eat-gallery{
    display:grid;
    grid-template-columns:repeat(
        2,
        minmax(0,1fr)
    );
    gap:var(--gap-md);
    margin-top:var(--space-md);
}

.place-to-eat-gallery-item{
    display:block;
    overflow:hidden;
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    transition:
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.place-to-eat-gallery-item:hover{
    transform:translateY(-2px);
    box-shadow:var(--shadow-lg);
}

.place-to-eat-gallery-item img{
    display:block;
    width:100%;
    aspect-ratio:4 / 4.5;
    object-fit:cover;
    transition:transform var(--transition-slow);
}

.place-to-eat-gallery-item:hover img{
    transform:scale(1.03);
}

/* ==================================
   CONTACT CARD
================================== */

.place-to-eat-contact-card{
    padding:var(--space-lg);
    border:1px solid var(--card-border);
    border-radius:var(--radius-lg);
    background:var(--card-bg);
    box-shadow:var(--card-shadow);
}

.place-to-eat-contact-name{
    font-size:var(--text-lg);
    font-weight:600;
    color:var(--text);
}

.place-to-eat-contact-location{
    margin-top:var(--space-xs);
    color:#77736b;
    font-size:var(--text-sm);
}

.place-to-eat-contact-languages{
    margin-top:var(--space-xs);
    color:var(--text-muted);
    font-size:var(--text-sm);
}

.place-to-eat-contact-link{
    display:block;
    margin-top:var(--space-sm);
    color:var(--gold);
    font-size:var(--text-md);
    transition:var(--transition-base);
    word-break:break-word;
}

.place-to-eat-contact-link:hover{
    color:var(--gold-light);
}

    
@media (max-width:767px){

    .place-to-eat-gallery{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        gap:var(--gap-md);
        grid-template-columns:none;
        padding-bottom:var(--space-xs);
        touch-action:pan-x;
    }

    .place-to-eat-gallery::-webkit-scrollbar{
        display:none;
    }

    .place-to-eat-gallery .place-to-eat-gallery-item{
        flex:0 0 86%;
        width:86%;
        scroll-snap-align:start;
    }

}
