/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Основной контент */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

h1 {
    text-align: center;
    color: #ff6b6b;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}


/* Ссылки */
a {
    color: #ff6b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff4757;
}

/* Карточки */
.card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Подвал */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Стили для категорий */
.categories {
    margin: 2rem 0;
    text-align: center;
}

.categories h2 {
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.category-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-btn {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    border: none;
    padding: 1rem;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff7b7b 0%, #f8c0b0 100%);
}

/* Стили для страницы отзывов */
.review-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-left: 4px solid #ff6b6b;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.review-date {
    color: #666;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.review-text {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-product {
    color: #888;
    font-style: italic;
}

.aggregate-rating {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Стили для страницы "О нас" */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.advantage-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.team-member {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.mission {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.cta-section {
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
 
    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-buttons {
        grid-template-columns: 1fr;
    }
    
    .category-btn {
        padding: 0.8rem;
        font-size: 1rem;
    }
}

