/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(-45deg, #8b4513, #d2b48c, #f5deb3, #8b4513);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.navbar {
    background: rgba(139, 69, 19, 0.95);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffcc80;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(139, 69, 19, 0.7), rgba(210, 180, 140, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #ffcc80;
    color: #8b4513;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.btn:hover {
    background: #ffdb99;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 69, 19, 0.4);
}

/* Стили для меню */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #8b4513;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #8b4513, #ffcc80);
    margin: 1rem auto;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 10px 20px;
    border: none;
    background: rgba(255, 250, 247, 0.8);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #d2b48c;
}

.category-btn.active {
    background: #8b4513;
    color: white;
    border-color: #8b4513;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 25px rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0e6dc;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.2);
}

.menu-item h3 {
    font-size: 1.4rem;
    color: #5d3a1a;
    margin-bottom: 0.5rem;
}

.menu-item .price {
    font-weight: bold;
    color: #cc8b5a;
    font-size: 1.2rem;
}

.menu-item p {
    color: #666;
    margin-bottom: 1rem;
}

/* Раздел «О нас» */
.about-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 250, 247, 0.9);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(204, 139, 90, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #8b4513;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Контакты */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3,
.delivery-info h3 {
    color: #8b4513;
    margin-bottom: 0.5rem;
}

.contact-info p,
.delivery-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.delivery-info ul {
    list-style-position: inside;
    color: #555;
}

.delivery-info li {
    margin-bottom: 0.5rem;
}

/* Футер */
.footer {
    background: rgba(139, 69, 19, 0.95);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-categories {
        flex-wrap: wrap;
    }

    .hero h2 {
        font-size: 2.5rem;
    }
}

/* Анимации */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}
