/* ----- ОБНУЛЕНИЕ ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: #faf7f2;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- ШАПКА ----- */
.header {
    background: #1e3c2c;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-bottom: 6px solid #d4a373;
}

.header h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}
.header h1 span {
    color: #f4c27a;
}
.slogan {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* ========== МЕНЮ ========== */
.menu {
    padding: 60px 0;
}
.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3c2c;
}

.menu-category {
    background: #fff;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 5px solid #d4a373;
}

.category-title {
    font-size: 1.3rem;
    color: #1e3c2c;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: 700;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #f0ede8;
}
.menu-item:last-child {
    border-bottom: none;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.item-name {
    font-size: 1rem;
    color: #444;
}
.item-weight {
    font-size: 0.8rem;
    color: #999;
}
.item-desc {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.item-price {
    font-weight: 600;
    color: #1e3c2c;
    font-size: 1.05rem;
    white-space: nowrap;
}

/* ========== ГАЛЕРЕЯ ========== */
.gallery-section {
    padding: 60px 0;
    background: #fff;
}
.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c2c;
}
.gallery-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    background: #f0ede8;
}
.gallery-item:hover {
    transform: scale(1.03);
}
.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ========== ОТЗЫВЫ ========== */
.reviews {
    padding: 60px 0;
    background: #faf7f2;
}
.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c2c;
    margin-bottom: 40px;
}

.review-form {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto 40px;
}
.review-form h3 {
    margin-bottom: 20px;
    color: #1e3c2c;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e0ddd8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.2s;
}
.review-form input:focus,
.review-form textarea:focus {
    border-color: #1e3c2c;
    outline: none;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.stars {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}
.stars input {
    display: none;
}
.stars label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: 0.2s;
}
.stars input:checked ~ label {
    color: #f4c27a;
}
.stars label:hover,
.stars label:hover ~ label {
    color: #f4c27a;
}

.review-form button {
    background: #1e3c2c;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.review-form button:hover {
    background: #2e5c44;
}

.reviews-list {
    max-width: 700px;
    margin: 0 auto;
}

.review-item {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border-left: 5px solid #d4a373;
}
.review-item .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.review-item .review-name {
    font-weight: bold;
    color: #1e3c2c;
    font-size: 1.1rem;
}
.review-item .review-stars {
    color: #f4c27a;
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.review-item .review-text {
    color: #444;
    line-height: 1.6;
}
.review-item .review-date {
    color: #999;
    font-size: 0.85rem;
    margin-top: 8px;
}

.no-reviews {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
    padding: 30px;
}

/* ----- ФУТЕР ----- */
.footer {
    background: #1e3c2c;
    color: #ccc;
    text-align: center;
    padding: 25px 0;
    margin-top: 20px;
}
.footer p {
    margin: 4px 0;
}

/* ===== АДАПТАЦИЯ ===== */
@media (max-width: 600px) {
    .header h1 {
        font-size: 2.2rem;
    }
    .menu h2,
    .gallery-section h2,
    .reviews h2 {
        font-size: 2rem;
    }
    .menu-category {
        padding: 15px 18px;
    }
    .category-title {
        font-size: 1.1rem;
    }
    .item-name {
        font-size: 0.95rem;
    }
    .item-price {
        font-size: 0.95rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    .gallery-item img,
    .gallery-item video {
        height: 160px;
    }
    .review-form {
        padding: 20px;
    }
    .stars label {
        font-size: 25px;
    }
}
