/* css/style.css */
* {
    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: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #ff69b4 0%, #ffd700 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Main content */
main {
    min-height: 70vh;
    padding: 2rem 0;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff69b4;
}

h2 {
    font-size: 2rem;
    margin: 1.5rem 0 1rem;
    color: #ff69b4;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1553062407-98eeb64c6a62?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 4rem 0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin: 1rem 0 2rem;
}

.btn {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    background: white;
}

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

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

.product-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #ff69b4;
}

.product-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

.price {
    display: block;
    padding: 0 1rem 1rem;
    font-weight: bold;
    color: #ff69b4;
    font-size: 1.2rem;
}

.product-card .btn {
    display: block;
    margin: 0 1rem 1rem;
    text-align: center;
    background: #ff69b4;
    color: white;
}

/* About / Contact pages */
.about-content, .contact-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.about-text, .contact-info {
    flex: 1 1 300px;
}

.about-image, .contact-image {
    flex: 1 1 300px;
}

.about-image img, .contact-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-details {
    list-style: none;
    margin-top: 1rem;
}

.contact-details li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}
/* Дополнительные стили для расширенного контента */

/* Преимущества */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.benefit-item {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.benefit-item i {
    font-size: 2.5rem;
    color: #ff69b4;
    margin-bottom: 1rem;
}

/* Новинки / Акции */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 1rem;
}

.section-header a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 500;
}

/* Отзывы */
.testimonials {
    background: linear-gradient(135deg, #fff0f5 0%, #fff9e6 100%);
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 10px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #ff69b4;
}

/* Блог */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.blog-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: #ff69b4;
    font-size: 1.2rem;
}

.blog-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

.blog-card .read-more {
    display: inline-block;
    margin: 0 1rem 1rem;
    color: #ff69b4;
    text-decoration: none;
    font-weight: 500;
}

/* Форма обратной связи */
.contact-form {
    flex: 1 1 300px;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background: #ff69b4;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #ff1493;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.faq-question {
    font-weight: bold;
    color: #ff69b4;
    cursor: pointer;
}

.faq-answer {
    margin-top: 0.5rem;
    color: #666;
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #ff69b4;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
}