/* 1. Подключение шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Nunito:wght@400;600&display=swap');

/* Переменные */
:root {
    --primary-color: #C7A17A;
    --primary-dark: #b08d68;
    --text-color: #415167;
    --bg-color: #EDF0F5;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* 2. Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--bg-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* HEADER (Меню) */
.header {
    background-color: var(--white);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.header__logo img {
    height: 40px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Гамбургер-кнопка (скрыта на десктопе) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle__line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Анимация гамбургера */
.menu-toggle.active .menu-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.menu-toggle.active .menu-toggle__line:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .menu-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav__list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nav__link {
    font-weight: 700;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav__link:hover {
    color: var(--primary-color);
}

/* BUTTONS (Кнопки) */
.button {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.button--play {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    margin-top: 20px;
}

.button--play:hover {
    background-color: var(--white);
    color: var(--text-color);
}

.button--primary {
    background-color: var(--primary-color);
    color: white;
}

.button--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.button--outline {
    background-color: transparent;
    color: var(--text-color);
    border: none;
}

.button--outline:hover {
    text-decoration: underline;
}

/* КНОПКА НАВЕРХ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- HERO (Главный экран) --- */
.hero {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.hero__subtitle {
    margin-bottom: 30px;
    font-size: 18px;
}

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    text-align: center;
    margin-bottom: 40px;
}

.section__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--text-color);
    text-transform: uppercase;
}

.section__subtitle {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* ГРИД СЕТКИ */
.features__grid, 
.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* КАРТОЧКА ПРЕИМУЩЕСТВА */
.feature {
    text-align: center;
}

.feature__icon {
    margin: 0 auto 15px;
    height: 60px;
}

.feature__title {
    margin-bottom: 10px;
    font-weight: 700;
}

/* КАРТОЧКА ТОВАРА */
.card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card__img {
    height: 200px;
    object-fit: contain;
    margin: 0 auto 20px;
}

.card__price {
    display: block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
}

.card__title {
    font-weight: 700;
    margin-bottom: 5px;
}

.card__desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.card__buttons {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ПОДАРОЧНЫЙ НАБОР */
.giftset__container {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.giftset__img {
    flex: 1;
    max-width: 400px;
}

.giftset__info {
    flex: 1;
}

.giftset__desc {
    margin-bottom: 20px;
}

/* КОМБО СЕКЦИЯ */
.combo .products__grid {
    grid-template-columns: repeat(3, 1fr);
}

/* FOOTER */
.footer {
    background-color: var(--bg-color);
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    color: #888;
    border-top: 1px solid #ddd;
}