/* ==========================================
   RESTAURANT PAGE — STYLES
   ========================================== */

/* ===== RESET FOR TEMPLATE ===== */
.rest-page *,
.rest-page *::before,
.rest-page *::after {
    box-sizing: border-box;
}

.rest-page { 
	color: #2A2118;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	padding-inline: clamp(0.9375rem, -1.7007rem + 5.5034vw, 3.5rem);
}

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

/* ===== CONTAINER ===== */
.rest-container {
    max-width: 1440px;
    margin: 0 auto; 
}

/* ===== TYPOGRAPHY ===== */
.rest-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.rest-label--gold {
    color: #BA9F68;
}

.rest-heading {
    font-family: 'Forum', serif;
    font-size: 36px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 24px;
}

.rest-heading--white {
    color: #fff;
}

.rest-text {
    font-size: 16px;
    color: #2A2118;
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 16px;
}

.rest-divider {
    width: 48px;
    height: 1px;
    background: #c9b99a;
    margin: 16px 0;
}

/* ===== HERO ===== */
.rest-hero {
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
      /* border: 2px solid #BB9F67; */
  border-radius: 20px;
}

 .restaurant__bg {
    position: absolute;
    inset: -15% 0; /* запас сверху и снизу для параллакса */
    width: 100%;
    height: 130%;
    z-index: 1;
    will-change: transform;
}
@keyframes bgFadeIn {
    from { opacity: 0; transform: scale(1.05); }
    to   { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .restaurant__bg {
        transform: none !important;
        animation: none;
    }
    .restaurant__bg img {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
@media (max-width: 768px) {
    .restaurant {
        min-height: 480px;
    }
    
    .restaurant__container {
        padding: 60px 20px;
    }
    
    /* На мобильных — отключаем параллакс */
    .restaurant__bg {
        inset: 0;
        height: 100%;
        transform: none !important;
    }
}
.rest-hero .restaurant__bg  img {
   width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
    animation: bgFadeIn 1.5s ease forwards;
} 
.rest-hero__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	padding: 60px 48px;
	text-align: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
	/* backdrop-filter: blur(5px); */
	top: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	flex-direction: column;
}

.rest-hero__label {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color:#2A2118;
    margin-bottom: 16px;
    font-weight: 400;
}
 .cafe-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 560px;
    padding: 56px 64px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(184, 151, 106, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.cafe-hero__content::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184, 151, 106, 0.4);
    pointer-events: none;
}

/* ── Адаптив ── */
@media (max-width: 768px) {
    .cafe-hero__content {
        padding: 40px 32px;
    }

    .cafe-hero__content::before {
        inset: 8px;
    }
}

@media (max-width: 480px) {
    .cafe-hero__content {
        padding: 32px 24px;
    }

    .cafe-hero__content::before {
        inset: 6px;
    }
}
.rest-contact__map > div {
	height: 100%;
}
.rest-hero__title {
	font-family: 'Forum', serif;
	font-size: 48px;
	font-weight: 600;
	color: #2A2118;
	margin-bottom: 0;
	line-height: 1.1;
	margin-top: 0;
}

.rest-hero__subtitle {
    font-size: 18px;
    color: #2A2118;
    font-weight: 300;
}

/* ===== SECTIONS ===== */
.rest-section {
    padding: 100px 0;
      border-radius: 20px;
}

.rest-section--cream {
    background: #FAF8F5;
}

.rest-section--dark {
    background: #1a1a1a;
}

/* ===== SECTION HEADER ===== */
.rest-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.rest-section-header .rest-label {
    margin-bottom: 8px;
}

.rest-section-header .rest-heading {
    font-size: 42px;
}

.rest-section-header .rest-divider {
    margin: 16px auto;
}

/* ===== ABOUT (2 columns) ===== */
.rest-about {
    display: flex;
    gap: 64px;
    align-items: center;
}

.rest-about--reverse {
    flex-direction: row-reverse;
}

.rest-about__image {
    flex: 1;
    height: 480px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.rest-about__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 185, 154, 0.3);
    border-radius: 4px;
    pointer-events: none;
}

.rest-about__text {
    flex: 1;
}

.rest-about__text .rest-heading {
    margin-bottom: 24px;
}

.rest-about__text .rest-divider {
    margin: 16px 0;
}

/* ===== FEATURES ===== */
.rest-features {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.rest-feature {
    text-align: center;
    max-width: 220px;
}

.rest-feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9b99a;
    border-radius: 50%;
    color: #c9b99a;
    font-size: 22px;
}

.rest-feature__title {
    font-family: 'Forum', serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.rest-feature__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    font-weight: 300;
}

/* ===== QUOTE ===== */
.rest-quote {
    text-align: center;
    padding: 100px 24px;
    background: #FAF8F5;
}

.rest-quote__text {
    font-family: 'Forum', serif;
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    font-style: italic;
}

.rest-quote__author {
    margin-top: 24px;
    font-size: 14px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== GALLERY ===== */
.rest-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rest-gallery__item {
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.rest-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.rest-gallery__item:hover::after {
    background: rgba(0, 0, 0, 0.1);
}

/* ===== CONTACT ===== */
.rest-contact {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.rest-contact__info {
    flex: 1;
}

.rest-contact__info .rest-heading {
    margin-bottom: 32px;
}

.rest-contact__item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.rest-contact__item:last-of-type {
    border-bottom: none;
}

.rest-contact__label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9b99a;
    margin-bottom: 6px;
    margin: 0;
}

.rest-contact__value {
    font-size: 16px;
    color: #333;
    font-weight: 400;  
    margin: 0;
}

.rest-contact__value a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.rest-contact__value a:hover {
    color: #c9b99a;
}

.rest-contact__map {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    height: 420px;
    background: #eee;
}

.rest-contact__map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.rest-contact__map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

/* ===== BUTTONS ===== */
.rest-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    margin-top: 16px;
}

.rest-btn--primary {
    background: #1a1a1a;
    color: #fff;
}

.rest-btn--primary:hover {
    background: #333;
}

.rest-btn--outline {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.rest-btn--outline:hover {
    background: #1a1a1a;
    color: #fff;
}

/* ===== RESPONSIVE ===== */

/* Планшет */
@media (max-width: 900px) {
    .rest-hero {
        height: 420px;
    }

    .rest-hero__title {
        font-size: 38px;
    }

    .rest-hero__overlay {
        padding: 40px 24px;
    }

    .rest-section {
        padding: 64px 0;
    }

    .rest-about,
    .rest-about--reverse {
        flex-direction: column;
    }

    .rest-about__image {
        height: 300px;
        width: 100%;
    }

    .rest-about__text {
        width: 100%;
    }

    .rest-features {
        gap: 32px;
    }

    .rest-feature {
        max-width: 200px;
    }

    .rest-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .rest-gallery__item {
        height: 240px;
    }

    .rest-contact {
        flex-direction: column;
    }

    .rest-contact__map {
        width: 100%;
        height: 300px;
    }

    .rest-section-header .rest-heading {
        font-size: 32px;
    }

    .rest-heading {
        font-size: 28px;
    }

    .rest-quote__text {
        font-size: 24px;
    }

    .rest-quote {
        padding: 64px 24px;
    }
}

/* Мобильный */
@media (max-width: 480px) {
    .rest-hero {
        height: 340px;
    }

    .rest-hero__title {
        font-size: 30px;
    }

    .rest-hero__subtitle {
        font-size: 15px;
    }

    .rest-hero__overlay {
        padding: 32px 20px;
    }

    .rest-section {
        padding: 48px 0;
    }

    .rest-about__image {
        height: 240px;
    }

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

    .rest-gallery__item {
        height: 220px;
    }

    .rest-features {
        flex-direction: column;
        align-items: center;
    }

    .rest-feature {
        max-width: 280px;
    }

    .rest-heading {
        font-size: 26px;
    }

    .rest-section-header .rest-heading {
        font-size: 28px;
    }

    .rest-quote__text {
        font-size: 22px;
    }

    .rest-contact__map {
        height: 260px;
    }

    .rest-btn {
        display: block;
        text-align: center;
        padding: 16px 24px;
    }
}