﻿/* Restaurant Page Specific Styles */

/* Hero Section */
.hero-restaurants {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    padding-top: 8rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

/* Background image with Ken Burns animation */
.hero-restaurants::after {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../assets/Web_Quality/indisches-restaurant-sanjha-tadka-erfurt-modern-gastraum.webp');
    background-size: cover;
    background-position: center 40%;
    z-index: 0;
    animation: restHeroKenBurns 25s ease-in-out infinite alternate, baseFadeIn 1.5s ease-in-out forwards;
    opacity: 0;
    will-change: transform;
}

@keyframes restHeroKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08) translate(-1.5%, 1%);
    }
}

/* Overlay with subtle pulse */
.hero-restaurants::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    animation: restHeroPulse 6s ease-in-out infinite alternate, baseFadeIn 1.5s ease-in-out forwards;
    opacity: 0;
}

@keyframes restHeroPulse {
    0% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0.55) 100%);
    }

    100% {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.20) 60%, rgba(0, 0, 0, 0.50) 100%);
    }
}

/* Content fade-in + slide-up */
.hero-restaurant-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
    animation: restHeroContentReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
}

@keyframes restHeroContentReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* H1 white shimmer effect */
.hero-restaurant-title {
    font-family: var(--bs-heading-font-family);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #ffffff 40%,
            #F1860D 50%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: restTextShimmer 6s ease-in-out infinite;
}

@keyframes restTextShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.hero-restaurant-subtitle {
    font-family: var(--bs-body-font-family);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto;
}

/* Intro Text */
.restaurant-intro {
    padding: 4rem 1rem;
    text-align: center;
    background-color: var(--bs-light);
}

.restaurant-intro h2 {
    font-family: var(--bs-heading-font-family);
    color: var(--bs-secondary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.restaurant-intro p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--bs-dark);
    opacity: 0.8;
}

/* Location Card / Detail Section */
.restaurant-locations {
    padding-bottom: 5rem;
    background-color: var(--bs-light);
}

.location-card-wrapper {
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.location-card-wrapper:hover {
    transform: translateY(-5px);
}

.location-img-col {
    min-height: 420px;
    position: relative;
    background-color: #1a1a1a;
}

.location-img-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../mandala-bg.webp');
    background-size: 300px;
    background-repeat: repeat;
    background-position: center;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

.location-img-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/Web_Quality/SanjhaTadka_von_Aussen.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    pointer-events: none;
}

.location-info-col {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-name {
    font-family: var(--bs-heading-font-family);
    color: var(--bs-primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.location-info-block {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.location-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--bs-secondary);
    margin-top: 4px;
}

.location-text {
    font-size: 1.05rem;
    color: var(--bs-dark);
    line-height: 1.6;
}

.location-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mobile Optimizations */
@media (max-width: 991px) {
    .location-info-col {
        padding: 2rem;
    }

    .hero-restaurants {
        height: 50vh;
    }

    .hero-restaurant-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 576px) {
    .location-info-col {
        padding: 1.5rem;
    }

    .location-name {
        font-size: 1.75rem;
    }

    .location-actions {
        flex-direction: column;
        width: 100%;
    }

    .location-actions .btn {
        width: 100%;
    }
}

/* ============================================
   RESTAURANTS PAGE â€“ PHOTO GALLERY
   ============================================ */

.restaurant-photo-gallery {
    padding: 5rem 0 6rem;
    background-color: #f9f5f0;
}

.restaurant-photo-gallery .section-label {
    display: block;
    text-align: center;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #F1860D;
    margin-bottom: 0.8rem;
}

.restaurant-photo-gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #781235;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.rpg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px 280px 280px;
    grid-auto-rows: 280px;
    grid-auto-flow: dense;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.rpg-item {
    overflow: hidden;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.rpg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    filter: brightness(0.9) saturate(1.05);
    display: block;
}

.rpg-item:hover img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1.1);
}

/* First image spans 2 rows */
.rpg-item:nth-child(1) {
    grid-row: 1 / 3;
}

/* Atmosphere text block fills the gap */
.rpg-text-block {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, #781235 0%, #5a0e28 100%);
    color: white;
    border-radius: 2px;
}

.rpg-text-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #F1860D;
    letter-spacing: 0.5px;
}

.rpg-text-block p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.92;
}

@media (max-width: 768px) {
    .rpg-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(7, 220px);
        grid-auto-rows: auto;
    }

    .rpg-item:nth-child(1) {
        grid-row: auto;
    }

    .rpg-text-block {
        grid-column: span 2;
        padding: 1.8rem 1.5rem;
    }

    .rpg-text-block h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .rpg-text-block p {
        font-size: 0.95rem;
        line-height: 1.55;
    }
}

@media (max-width: 480px) {
    .rpg-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-auto-rows: 220px;
    }

    .rpg-text-block {
        grid-column: auto;
        height: auto;
        padding: 1.3rem 1.2rem;
    }

    .rpg-text-block h3 {
        font-size: 1.15rem;
        margin-bottom: 0.4rem;
    }

    .rpg-text-block p {
        font-size: 0.88rem;
        line-height: 1.5;
    }
}
