/* Navigation Styles */
.navbar {
    background: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 6px;
}

.brand-text {
    color: white;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a:hover {
    color: #fff;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px;
    color: white !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-cta::after {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 1rem 20px;
    }
    
    .nav-brand {
        margin-bottom: 1rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-list li {
        margin: 0.5rem 1rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-img {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-list li {
        margin: 0;
    }
}

/* Основные стили и сброс */
* {
    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-color: #fff;
}

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

/* Стили для изящных заголовков разделов */
.section-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 300;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #2c3e50;
    letter-spacing: 0.5px;
    line-height: 1.3;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 1rem auto;
}

/* Герой секция - компактная */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    font-family: 'Georgia', 'Times New Roman', serif;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.yeoman-character {
    max-width: 150px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Компактные кнопки */
.cta-buttons {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 10px;
    font-size: 1rem;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #fff;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Увеличиваем отступы между секциями */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.generators {
    padding: 80px 0;
}

/* Увеличиваем отступы для контейнеров внутри секций */
.container {
    margin-bottom: 4rem;
}

/* Дополнительные отступы для карточек */
.generator-grid {
    margin-top: 2rem;
}

/* Улучшаем читаемость подзаголовков */
.subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    text-align: center;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Стили для карточек особенностей */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Стили для сетки генераторов */
.generator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.generator-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.generator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.generator-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 0.5rem;
}

.generator-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.generator-card ul {
    list-style: none;
    padding: 0;
}

.generator-card li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.generator-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.generator-card li:last-child {
    border-bottom: none;
}

.generator-card strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Стили для ссылок */
.generator-card a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.generator-card a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .features,
    .generators {
        padding: 50px 0;
    }
    
    .feature-cards,
    .generator-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card,
    .generator-card {
        padding: 25px 20px;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
    
    .cta-buttons {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
}

/* Дополнительные утилиты */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Стили для выделения важной информации */
.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.highlight h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Стили для разделителей */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 3rem 0;
}


/* Footer Styles */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    line-height: 1.6;
    color: #bdc3c7;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
    font-size: 0.9rem;
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .site-footer {
        padding: 2rem 0 1rem;
    }
}

/* Hero Images */
.hero-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-side-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.yeoman-character {
    max-width: 150px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Feature Card Images */
.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

.feature-card {
    position: relative;
    padding-top: 0;
}

.feature-card .feature-icon {
    margin-top: 1rem;
}

/* Generator Card Images */
.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin-bottom: 1rem;
}

.generator-card {
    padding-top: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-images {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-side-image {
        width: 150px;
        height: 120px;
    }
    
    .feature-image,
    .card-image {
        height: 150px;
    }
}

