/* ============================================
   RESTAURANT PAGE — DARK COSMIC THEME
   ============================================ */
.restaurant-page-content { padding-bottom: 60px; }
.restaurant-hero { margin-bottom: 48px; }
.restaurant-main-photo {
    width: 100%; height: 450px;
    object-fit: cover; border-radius: var(--radius-xl);
}
.restaurant-info { max-width: 900px; margin: 0 auto; }
.restaurant-text h2 {
    font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
    background: var(--gradient-gold); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 16px;
}
.restaurant-text p {
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px;
}
.restaurant-features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.feature {
    background: var(--cosmic-card); border: 1px solid var(--cosmic-border);
    border-radius: var(--radius-lg); padding: 28px; text-align: center; transition: all 0.3s;
}
.feature:hover {
    transform: translateY(-4px); border-color: hsla(38, 90%, 55%, 0.3);
    box-shadow: 0 8px 40px hsla(38, 90%, 55%, 0.1);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature h3 {
    font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 600;
    color: var(--text-light); margin-bottom: 10px;
}
.feature p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ===== MENU SECTIONS ===== */
.menu-sections { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--cosmic-border); }
.menu-sections h2 {
    font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700;
    background: var(--gradient-gold); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 24px;
}

/* --- Top Row: Breakfast, Tea, Night --- */
.menu-top-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px;
}
.menu-box {
    background: var(--cosmic-card); border: 1px solid var(--cosmic-border);
    border-radius: var(--radius); padding: 16px;
}
.menu-box-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--cosmic-border);
}
.menu-box-header h3 {
    font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600;
    color: var(--text-light); margin: 0;
}
.menu-time {
    font-size: 0.75rem; color: var(--gold); font-weight: 500;
    padding: 3px 8px; background: hsla(38, 90%, 55%, 0.1);
    border: 1px solid hsla(38, 90%, 55%, 0.2); border-radius: 10px; white-space: nowrap;
}
.menu-thumbs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px;
}
.menu-thumb {
    position: relative; aspect-ratio: 1/1; background: var(--cosmic-surface);
    border-radius: 8px; overflow: hidden; cursor: pointer;
    transition: all 0.3s; border: 1px solid var(--cosmic-border);
}
.menu-thumb:hover {
    transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.4); border-color: var(--gold);
}
.menu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.menu-thumb:hover img { transform: scale(1.1); }
.menu-thumb-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.menu-thumb:hover .menu-thumb-overlay { opacity: 1; }
.menu-thumb-overlay span { font-size: 1.5rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.menu-box-empty {
    text-align: center; padding: 24px 10px; background: var(--cosmic-surface);
    border-radius: 8px; border: 1px dashed var(--cosmic-border);
}
.menu-box-empty p { color: var(--text-muted); font-size: 0.85rem; }

/* --- Full-width sections: Main, Complex --- */
.menu-section-full {
    background: var(--cosmic-card); border: 1px solid var(--cosmic-border);
    border-radius: var(--radius); padding: 20px; margin-bottom: 32px;
}
.menu-section-full .menu-box-header { margin-bottom: 16px; padding-bottom: 12px; border-bottom-width: 2px; }
.menu-section-full .menu-box-header h3 { font-size: 1.4rem; }

.menu-thumbs-row {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px;
}

/* --- Complex menu: single image left, text right, equal height --- */
.complex-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-radius: var(--radius); overflow: hidden;
    min-height: 350px;
}
.complex-image {
    position: relative; background: var(--cosmic-surface);
    min-height: 100%;
}
.complex-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.complex-image-placeholder {
    width: 100%; height: 100%; min-height: 280px;
    display: flex; align-items: center; justify-content: center;
    background: var(--cosmic-surface); color: var(--text-muted);
    font-size: 0.9rem;
}
.complex-text {
    color: var(--text-muted); line-height: 1.7; font-size: 0.95rem;
    padding: 28px; display: flex; flex-direction: column; justify-content: center;
}
.complex-intro { margin-bottom: 12px; font-size: 1rem; color: var(--text-light); }
.complex-text > p { margin-bottom: 16px; }
.complex-meals { list-style: none; padding: 0; margin: 20px 0 0; }
.complex-meals li {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    padding: 12px 16px; margin-bottom: 8px;
    background: var(--cosmic-surface); border-radius: 8px;
    border-left: 3px solid var(--gold);
}
.meal-time { font-size: 0.8rem; color: var(--gold); font-weight: 500; }
.meal-name { flex: 1; color: var(--text-light); font-weight: 500; }
.meal-price { font-size: 1.05rem; font-weight: 700; color: var(--text-light); white-space: nowrap; }

/* Social note */
.menu-social-note {
    margin-top: 40px; padding: 20px; background: var(--cosmic-card);
    border: 1px solid var(--cosmic-border); border-radius: var(--radius); text-align: center;
}
.menu-social-note p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.menu-social-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.social-link {
    display: inline-block; padding: 8px 20px; border-radius: var(--radius);
    font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: all 0.2s; color: white;
}
.social-link.ok { background: #ee8208; }
.social-link.ok:hover { background: #d47307; transform: translateY(-2px); }
.social-link.vk { background: #0077ff; }
.social-link.vk:hover { background: #0066dd; transform: translateY(-2px); }

/* ===== MENU LIGHTBOX ===== */
.menu-lightbox {
    position: fixed; inset: 0; z-index: 10000; display: none;
    align-items: center; justify-content: center;
}
.menu-lightbox.active { display: flex; }
.menu-lightbox-backdrop {
    position: absolute; inset: 0; background: rgba(6, 10, 16, 0.95); backdrop-filter: blur(8px);
}
.menu-lightbox-content { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; }
.menu-lightbox-close {
    position: absolute; top: -50px; right: 0; width: 44px; height: 44px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; color: white; font-size: 1.2rem; cursor: pointer; transition: background 0.2s;
}
.menu-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.menu-lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%; color: white; font-size: 1.5rem; cursor: pointer; transition: all 0.2s;
}
.menu-lightbox-nav:hover { background: var(--gold); color: var(--cosmic-deep); border-color: var(--gold); }
.menu-lightbox-prev { left: -70px; }
.menu-lightbox-next { right: -70px; }
.menu-lightbox-content img {
    max-width: 90vw; max-height: 85vh; border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
    .menu-top-row { grid-template-columns: 1fr; gap: 16px; }
    .complex-layout { grid-template-columns: 1fr; }
    .menu-lightbox-prev { left: 10px; }
    .menu-lightbox-next { right: 10px; }
    .menu-lightbox-close { top: -50px; right: 10px; }
}

/* Завтраки и поминальные обеды */
.breakfast-info,
.memorial-info {
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--cosmic-surface);
    border-radius: var(--radius);
    border-left: 3px solid var(--gold);
}
.breakfast-info p,
.memorial-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
