/* Фоны для четных секций */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Обрезает всё, что вылезает за правый край */
}

.logo-img {
    height: 96px;
    background: transparent;
    border-radius: 0;
    display: block;
}
 :root {
    --honey-yellow: #f1c40f;
    --honey-dark: #d4ac0d;
    --text-dark: #222;
    --bg-light: #fffdf9;
    --bg-footer: #f8f6f0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --footer-link: #b48a0f;
}

body {
    font-family: var(--font-body);
    margin: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;           /* Позволяет контейнеру сжиматься */
    max-width: 1200px;     /* Ограничивает ширину на больших мониторах */
    margin: 0 auto;        /* Центрирует контейнер */
    padding: 0 15px;       /* Защитные отступы по бокам */
    box-sizing: border-box; /* Чтобы отступы не распирали ширину */
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--honey-dark);
}

.logo {
    font-size: 2.2rem;
    color: var(--honey-yellow);
    letter-spacing: 2px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #fffbe6, 2px 2px 0 #d4ac0d33;
}

.main-header {
    background: #fffbe6;
    border-bottom: 2px solid #f1c40f22;
    box-shadow: 0 2px 8px #f1c40f11;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;       /* Позволяет меню уйти под логотип на мобильных */
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--honey-yellow);
}

.hero-honey {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 0 90px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.hero-content .subtitle {
    font-size: 1.3rem;
    color: var(--honey-dark);
    letter-spacing: 2px;

}
.about-section.section-bg-1 {
    position: relative;
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../2.jpg') center/cover no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 90px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.about-section.section-bg-1 .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-section.section-bg-1 .section-title {
    color: var(--honey-dark);
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 18px;
    font-weight: 900;
    text-shadow: 1px 1px 0 #fffbe6, 2px 2px 0 #d4ac0d33;
}

.about-section.section-bg-1 .about-text {
    color: #3d2c0a;
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0 auto 0 auto;
    max-width: 700px;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin: 0 0 18px 0;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 28px;
}
.hero-btns .btn {
    font-size: 1.1rem;
    padding: 12px 32px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 24px;
    color: var(--honey-dark);
    text-align: center;
}

.about-section, .services-section, .products-section, .reviews-section, .newsletter-section, .contact-section {
    padding: 60px 0 40px 0;
}
.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
}
.services-list {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.service-card {
    background: #fffbe6;
    border: 1.5px solid #f1c40f55;
    border-radius: 12px;
    padding: 28px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--honey-dark);
    box-shadow: 0 2px 8px #f1c40f11;
}
.grid-catalog {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.honey-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px #f1c40f22;
    padding: 28px 22px 22px 22px;
    text-align: center;
    width: 260px;
    margin-bottom: 24px;
    border: 1.5px solid #f1c40f33;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.honey-img-placeholder {
    width: 100px;
    height: 100px;
    background: #fffbe6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--honey-dark);
    font-weight: 700;
    margin-bottom: 18px;
    border: 2px solid #f1c40f55;
}
.price {
    color: var(--honey-yellow);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0 14px 0;
}
.btn {
    display: inline-block;
    border: none;
    border-radius: 24px;
    padding: 10px 28px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.btn-primary {
    background: var(--honey-yellow);
    color: #fff;
    box-shadow: 0 2px 8px #f1c40f33;
}
.btn-primary:hover {
    background: var(--honey-dark);
}
.btn-secondary {
    background: #fffbe6;
    color: var(--honey-dark);
    border: 1.5px solid var(--honey-yellow);
}
.btn-secondary:hover {
    background: var(--honey-yellow);
    color: #fff;
}
.shop-link {
    text-align: center;
    margin-top: 18px;
}
.reviews-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}
.review-card {
    background: #fffbe6;
    border-radius: 12px;
    box-shadow: 0 2px 8px #f1c40f22;
    padding: 28px 22px;
    max-width: 340px;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 18px;
}
.review-card span {
    display: block;
    margin-top: 12px;
    color: var(--honey-dark);
    font-weight: 700;
}
.newsletter-section {
    background: #fffbe6;
    border-top: 1.5px solid #f1c40f33;
    border-bottom: 1.5px solid #f1c40f33;
}
.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}
.newsletter-form input[type="email"] {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1.5px solid #f1c40f55;
    font-size: 1rem;
    outline: none;
}
.newsletter-form button {
    margin-left: 8px;
}
.contact-section .contact-info {
    text-align: center;
    font-size: 1.1rem;
    color: #333;
}
footer {
    background: var(--bg-footer);
    padding: 32px 0 18px 0;
    border-top: 2px solid #f1c40f22;
}
.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-left {
    font-size: 1rem;
    color: #888;
}
.footer-links {
    margin-top: 12px;
}
.footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    margin: 0 6px;
    font-weight: 600;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--honey-yellow);
}
.footer-right a {
    color: var(--honey-dark);
    font-size: 1.5rem;
    margin-left: 16px;
    transition: color 0.2s;
}
.footer-right a:hover {
    color: var(--honey-yellow);
}

@media (max-width: 900px) {
    .header-flex, .footer-flex, .services-list, .reviews-list, .grid-catalog {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .honey-card, .service-card, .review-card {
        width: 90%;
        max-width: 400px;
    }
}
/* Фонове зображення для секції Магазин */
.products-section.section-bg-2 {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('../3.webp') center/cover no-repeat;
    padding: 100px 0;
    border-top: 1px solid #f1c40f33;
    border-bottom: 1px solid #f1c40f33;
}
/* Фонове зображення для секції Контакти */
.contact-section.section-bg-3 {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('../4.webp') center/cover no-repeat;
    padding: 80px 0;
    border-top: 1px solid #f1c40f33;
}
/* Фонове зображення та налаштування висоти для секції Контакти */
.contact-section.section-bg-3 {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), 
                url('../3.webp') center/cover no-repeat;
    /* Уменьшаем внутренние отступы в два раза (было 80px 0 или 60px 0 40px 0) */
    padding: 30px 0 20px 0; 
    border-top: 1px solid #f1c40f33;
}

@media screen and (max-width: 768px) {
    .header-flex {
        flex-direction: column; /* Ставит логотип над меню */
        gap: 15px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap; 
        gap: 10px;
        padding: 0;
    }

    .logo-img {
        height: 50px; /* Уменьшаем размер логотипа для смартфонов */
    }
}