/* css/index.css */
/* Подключение шрифта Comfortaa */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&display=swap');
/* Hero блок */
.hero {
    background: linear-gradient(135deg, #6B7AA1 0%, #5A6890 100%);
    padding: 100px 0 120px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: 'Comfortaa', cursive;  /* ← Добавили шрифт */
    font-size: 3.5rem;
    font-weight: 700;  /* ← Изменили с 800 на 700, т.к. у Comfortaa максимум 700 */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.hero .btn-primary {
    background: #fff;
    color: #6B7AA1;
    font-size: 1.1rem;
    padding: 16px 40px;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.hero .btn-primary:hover {
    background: #f9fafb;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.3);
}

/* Секция с раскрасками */
.coloring-grid {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--text-dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* CTA секция */
.cta-section {
    text-align: center;
    margin-top: 60px;
}

.btn-large {
    font-size: 1.2rem;
    padding: 18px 50px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .coloring-grid {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 35px;
    }
}

@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description br {
        display: none;
    }
}
/* Блок преимуществ */
.benefits {
    padding: 60px 0;
    background: #f9f9f9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Блок категорий */
.categories {
    padding: 60px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.category-card h3 {
    font-size: 1rem;
    color: white;
}

/* SEO-текст */
.seo-text {
    padding: 60px 0;
    background: #f9f9f9;
}

.seo-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.seo-text h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #667eea;
}

.seo-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.seo-text ul {
    list-style: none;
    padding-left: 0;
}

.seo-text ul li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: #555;
}

.seo-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .benefits-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-text {
        padding: 40px 0;
    }
}

/* ========================================
   SEO-текстовый блок
   ======================================== */
.seo-text {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.seo-text .container {
    max-width: 900px;
}

.seo-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2d3748;
    text-align: center;
}

.seo-text h3 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: #667eea;
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-text h3:before {
    content: "✨";
    font-size: 1.8rem;
}

.seo-text p {
    line-height: 1.9;
    color: #4a5568;
    margin-bottom: 25px;
    font-size: 1.05rem;
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.seo-text strong {
    color: #667eea;
    font-weight: 600;
}

.seo-text ul {
    list-style: none;
    padding-left: 0;
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.seo-text ul li {
    padding: 12px 0 12px 40px;
    position: relative;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.6;
}

.seo-text ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .seo-text {
        padding: 50px 0;
    }
    
    .seo-text h2 {
        font-size: 1.5rem;
    }
    
    .seo-text h3 {
        font-size: 1.2rem;
    }
    
    .seo-text p,
    .seo-text ul {
        padding: 15px 20px;
    }
    
    .seo-text ul li {
        padding-left: 35px;
        font-size: 0.95rem;
    }
}
/* ========================================
   HERO — обновлённые кнопки
   ======================================== */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-outline {
    display: inline-block;
    padding: 16px 40px;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
   СЕКЦИЯ СЕРВИСОВ
   ======================================== */
.services {
    padding: 80px 0;
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #f8f9ff;
    border: 2px solid #e8ecf8;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.service-card-accent {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
}

.service-card-accent h3,
.service-card-accent p,
.service-card-accent .service-link {
    color: #fff;
}

.service-card-accent p {
    color: rgba(255, 255, 255, 0.85);
}

.service-card-accent:hover {
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    border-color: transparent;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-link {
    letter-spacing: 0.5px;
}

/* Адаптив для сервисов */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-icon {
        font-size: 44px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero-outline {
        padding: 14px 32px;
        font-size: 1rem;
    }
}
/* ========================================
   БЛОК: Онлайн раскраски по номерам
   ======================================== */

.online-paint-promo {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 50%, #f5f0ff 100%);
}

.online-paint-promo .section-title {
    margin-bottom: 16px;
}

.online-paint-promo .section-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.online-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.online-feature {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.online-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.online-feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 16px;
}

.online-feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.online-feature p {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

@media (max-width: 1024px) {
    .online-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .online-paint-promo {
        padding: 40px 0;
    }
    
    .online-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .online-feature {
        padding: 20px;
    }
    
    .online-paint-promo .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }
}
