/* css/style.css */

/* Базовые стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.text-center {
    text-align: center;
}

/* Шапка */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066cc;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff6b6b;
    color: #fff;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
}

.btn-secondary:hover {
    background: #0066cc;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ddd;
    color: #333;
}

.btn-outline:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

/* Hero секция (для главной) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%), url('../images/hero-bg.jpg') center/cover;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero-date {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    display: block;
    font-size: 3.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Заголовок страниц (для внутренних) */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Секции */
section {
    padding: 5rem 0;
}

/* Спикеры */
.speakers {
    background: #f9f9f9;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.speaker-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.speaker-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.speaker-card h3 {
    margin-bottom: 0.5rem;
}

.speaker-card p {
    color: #666;
}

/* Программа */
.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.program-column {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.program-column h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #0066cc;
}

.program-list {
    list-style: none;
}

.program-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.program-list li span {
    font-size: 1.5rem;
    min-width: 40px;
}

.program-list strong {
    display: block;
    margin-bottom: 0.25rem;
}

.program-desc {
    color: #666;
    font-size: 0.95rem;
}

/* Преимущества */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Тарифы */
.pricing {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: 2px solid #ff6b6b;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin: 1rem 0;
}

.price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.discount-note {
    text-align: center;
    color: #666;
}

/* Контакты и форма */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    color: #0066cc;
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Партнеры */
.partners-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
}

.partner-logo {
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-logo img:hover {
    filter: grayscale(0);
}

.partner-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.partner-card h4 {
    color: #0066cc;
    margin-bottom: 1rem;
}

/* Призыв к действию */
.cta {
    background: #0066cc;
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
}

.cta .btn-primary {
    background: #fff;
    color: #0066cc;
}

/* Футер */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero h1 span {
        font-size: 2.5rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .program-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    h2 {
        font-size: 2rem;
    }
    .page-header h1 {
        font-size: 2rem;
    }
}