/* Базовые сбросы */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Шапка */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #8b5a2b; /* Тёплый коричневый */
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #8b5a2b;
}

/* Hero секция */
.hero {
    background: #f0e6d9; /* Светлый бежевый */
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #4a3728;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #6b5b4e;
}

/* Кнопки */
.btn {
    display: inline-block;
    background: #8b5a2b;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #6b451f;
}

.btn-outline {
    background: transparent;
    border: 2px solid #8b5a2b;
    color: #8b5a2b;
    margin-left: 10px;
}

.btn-outline:hover {
    background: #8b5a2b;
    color: #fff;
}

/* Преимущества */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.feature {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

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

/* Каталог */
.catalog {
    padding: 60px 20px;
}

.catalog h2, .reviews h2, .contacts h2, .about h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4a3728;
}

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

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

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

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    margin: 15px 0 10px;
}

/* О мастере */
.about {
    padding: 60px 20px;
}

.about-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    text-align: center;
    font-size: 1.1rem;
    color: #555;
}

/* Отзывы */
.reviews {
    background: #fff;
    padding: 60px 20px;
}

.review-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #8b5a2b;
}

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

.review-card span {
    font-weight: 600;
    color: #8b5a2b;
}

/* Контакты */
.contacts {
    padding: 60px 20px;
    text-align: center;
}

.socials {
    margin-top: 20px;
}

/* Подвал */
footer {
    background: #4a3728;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin-left: 10px;
        margin-right: 10px;
    }

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

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