/* ============================================================ */
/* ====================== ОБЩИЕ СБРОСЫ ========================= */
/* ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* ============================================================ */
/* ====================== ШАПКА ================================ */
/* ============================================================ */
header {
    background-color: #2c3e2f;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.8;
}

.navbar {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #d4b87a;
}

/* ============================================================ */
/* ====================== ГЛАВНЫЙ ЭКРАН (HERO) ================= */
/* ============================================================ */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://placehold.co/1600x600?text=Кухня+пример') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #d4b87a;
    color: #2c3e2f;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #c2a259;
    transform: scale(1.02);
}

/* ============================================================ */
/* ====================== КАТАЛОГ ============================== */
/* ============================================================ */
.catalog {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.catalog h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e2f;
}

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

/* --- КАРТОЧКИ ТОВАРОВ --- */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.2s;
}

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

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #f0f0f0;
}

.product-card h3 {
    font-size: 22px;
    margin: 15px 0 5px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #b8860b;
    margin-bottom: 10px;
}

.product-card p {
    padding: 0 15px 15px;
}

.btn-order {
    background-color: #2c3e2f;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-order:hover {
    background-color: #4a6741;
}
/* --- КОНЕЦ КАРТОЧЕК --- */

/* ============================================================ */
/* ====================== ИНФО-СЕКЦИИ (Акции, Доставка) ======== */
/* ============================================================ */
.info-section {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.info-section.alt-bg {
    background-color: #f4f4f4;
}

.info-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #2c3e2f;
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.info-content p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* ============================================================ */
/* ====================== ОТЗЫВЫ =============================== */
/* ============================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.review-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    border-left: 4px solid #d4b87a;
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.review-card h4 {
    color: #2c3e2f;
    text-align: right;
}

/* ============================================================ */
/* ====================== О НАС ================================ */
/* ============================================================ */
.about {
    padding: 60px 0;
    background-color: white;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e2f;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.feature {
    flex: 1;
    background: #f4f4f4;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.feature h3 {
    margin-bottom: 15px;
    color: #b8860b;
}

/* ============================================================ */
/* ====================== ФОРМА СВЯЗИ ========================== */
/* ============================================================ */
.contact {
    padding: 60px 0;
    background-color: #f0ebe1;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c3e2f;
}

.contact p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4b87a;
}

.contact-form .btn {
    display: block;
    width: 100%;
    text-align: center;
}

.form-note {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
    color: #666;
}

/* ============================================================ */
/* ====================== ПОДВАЛ ================================ */
/* ============================================================ */
footer {
    background-color: #2c3e2f;
    color: white;
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
}

footer p {
    margin: 5px 0;
}

/* ============================================================ */
/* ====================== АДАПТИВНОСТЬ ========================= */
/* ============================================================ */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    .navbar {
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .features {
        flex-direction: column;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
