:root {
    --color-primary: #2C1810;
    --color-secondary: #8B5A2B;
    --color-accent: #D4A574;
    --color-light: #F5F0EB;
    --color-cream: #FDF8F3;
    --color-text: #3D2C24;
    --color-text-light: #6B5B54;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: var(--transition);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(44, 24, 16, 0.1);
}
.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-primary);
}
.logo img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}
.nav { display: flex; gap: 2rem; }
.nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--color-secondary); }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 100%);
}
.hero-bg {
    position: absolute;
    top: 0; right: 0;
    width: 55%; height: 100%;
    overflow: hidden;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--color-cream) 0%, transparent 30%);
    z-index: 1;
}
.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-text { max-width: 600px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.3s;
}
.hero-badge i { color: #FFD700; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.4s;
}
.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.5s;
}
.category-tag {
    background: rgba(139, 90, 43, 0.1);
    color: var(--color-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.6s;
}
.hero-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-light);
}
.hero-info-item i { color: var(--color-accent); font-size: 1.1rem; }
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    opacity: 0;
    animation: slideUp 0.6s ease forwards 0.7s;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--color-primary); color: white; }
.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(44, 24, 16, 0.2);
}
.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: white; }

/* Features */
.features { padding: 5rem 2rem; background: white; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.feature-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 16px;
    transition: var(--transition);
}
.feature-item:hover { background: var(--color-light); transform: translateY(-5px); }
.feature-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.3rem;
}
.feature-item h3 { font-size: 1rem; font-weight: 500; color: var(--color-text); }

/* Menu */
.menu-section { padding: 6rem 2rem; background: var(--color-light); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    font-style: italic;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-primary);
    font-weight: 600;
}
.menu-container { max-width: 800px; margin: 0 auto; }
.menu-category {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.08);
}
.menu-category h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.menu-category h3 i { color: var(--color-accent); }
.menu-items { display: flex; flex-direction: column; gap: 1rem; }
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(139, 90, 43, 0.2);
    transition: var(--transition);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { padding-left: 10px; }
.menu-item-name { font-weight: 500; color: var(--color-text); }
.menu-item-price {
    font-weight: 600;
    color: var(--color-secondary);
    background: rgba(212, 165, 116, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Gallery */
.gallery { padding: 6rem 2rem; background: white; }
.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(44, 24, 16, 0.5), transparent);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}
.gallery-item:hover::before { opacity: 1; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    bottom: 20px; left: 20px;
    color: white;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-overlay i { font-size: 1.5rem; }

/* Reviews */
.reviews {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3D2C24 100%);
    color: white;
}
.reviews .section-subtitle { color: var(--color-accent); }
.reviews .section-title { color: white; }
.reviews-slider { max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden; }
.reviews-track { display: flex; gap: 2rem; transition: transform 0.5s ease; }
.review-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.review-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.review-author { font-weight: 600; font-size: 1.1rem; }
.review-date { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.review-rating { color: #FFD700; font-size: 0.9rem; }
.review-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reviews-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.reviews-nav button {
    width: 50px; height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}
.reviews-nav button:hover { background: var(--color-accent); border-color: var(--color-accent); }

/* Contact */
.contact { padding: 6rem 2rem; background: var(--color-cream); }
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info {
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.08);
}
.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
    width: 48px; height: 48px;
    background: var(--color-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-text h4 { font-weight: 600; color: var(--color-primary); margin-bottom: 4px; }
.contact-text p, .contact-text a { color: var(--color-text-light); text-decoration: none; transition: var(--transition); }
.contact-text a:hover { color: var(--color-secondary); }
.working-hours { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-light); }
.working-hours h4 {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.working-hours h4 i { color: var(--color-accent); }
.hours-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.hours-status.open { background: rgba(34, 197, 94, 0.1); color: #16a34a; }
.hours-status.closed { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.hours-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hours-text { color: var(--color-text-light); font-size: 0.95rem; }
.social-links { display: flex; gap: 1rem; margin-top: 2rem; }
.social-link {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}
.social-link.vk { background: #4C75A3; }
.social-link.telegram { background: #0088cc; }
.social-link.whatsapp { background: #25D366; }
.social-link:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.map-container {
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 24, 16, 0.1);
}

/* Footer */
.footer { background: var(--color-primary); color: white; padding: 3rem 2rem 1.5rem; }
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 50%; }
.footer-logo span { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.footer-text { color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 90%; max-height: 90%; }
.lightbox-content img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 50px; height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-close:hover { background: var(--color-accent); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-nav:hover { background: var(--color-accent); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100%;
    background: white;
    z-index: 1500;
    padding: 6rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}
.mobile-nav.active { right: 0; }
.mobile-nav a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 1px solid var(--color-light);
    transition: var(--transition);
}
.mobile-nav a:hover { color: var(--color-secondary); padding-left: 10px; }
.mobile-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.mobile-overlay.active { opacity: 1; visibility: visible; }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-bg { width: 50%; }
    .review-card { flex: 0 0 calc(50% - 1rem); }
    .contact-container { grid-template-columns: 1fr; }
    .map-container { height: 350px; }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { min-height: auto; padding: 8rem 0 4rem; }
    .hero-bg { position: relative; width: 100%; height: 300px; order: -1; }
    .hero-bg::before { background: linear-gradient(180deg, var(--color-cream) 0%, transparent 30%); }
    .hero-content { padding-top: 2rem; }
    .hero-text { max-width: 100%; }
    .hero-info { gap: 1rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .review-card { flex: 0 0 100%; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .menu-category { padding: 1.5rem; }
    .contact-info { padding: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 1; }
}
