/* ===== БАЗОВЫЕ СТИЛИ ===== */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; 
    padding: 0; 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    min-height: 100vh; 
} 
 
/* ===== КОНТЕЙНЕР СТРАНИЦЫ ===== */
.page-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    background: white; 
    min-height: 100vh; 
    box-shadow: 0 0 30px rgba(0,0,0,0.1); 
} 
 
/* ===== ШАПКА ===== */
.header { 
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); 
    color: white; 
    text-align: center; 
    padding: 30px; 
    font-size: 28px; 
    font-weight: 300; 
    letter-spacing: 2px; 
} 
 
/* ===== НАВИГАЦИЯ ===== */
.nav { 
    background: #2c3e50; 
    padding: 20px 0; 
} 
 
.nav-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
} 
 
.nav-item { 
    margin: 0; 
} 
 
.nav-link { 
    color: white; 
    text-decoration: none; 
    padding: 12px 25px; 
    border-radius: 25px; 
    transition: all 0.3s ease; 
    font-weight: 500; 
}

.nav-link:hover { 
    background: rgba(255,255,255,0.1); 
    transform: translateY(-2px); 
} 
 
/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.content { 
    padding: 40px; 
    max-width: 900px; 
    margin: 0 auto; 
}

/* ===== ЗАГОЛОВКИ СТРАНИЦ ===== */
.page-title {
    font-size: 32px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 300;
}
 
/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.profile-header { 
    text-align: center; 
    margin-bottom: 40px; 
} 
 
.profile-title { 
    font-size: 32px; 
    color: #2c3e50; 
    margin-bottom: 10px; 
    font-weight: 300; 
} 
 
.profile-photo { 
    width: 220px; 
    height: 280px; 
    border-radius: 15px; 
    object-fit: cover; 
    margin: 20px auto; 
    border: 4px solid #667eea; 
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3); 
} 
 
.profile-name { 
    font-size: 24px; 
    color: #2c3e50; 
    margin: 10px 0; 
    font-weight: 500; 
} 
 
.profile-group { 
    font-size: 18px; 
    color: #7f8c8d; 
    margin: 5px 0; 
} 
 
.about-me { 
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); 
    padding: 25px; 
    border-radius: 15px;
    margin: 30px 0; 
    border-left: 5px solid #667eea; 
    font-size: 16px; 
    line-height: 1.8; 
} 
 
/* ===== НАВЫКИ ===== */
.skills-container { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 15px; 
    margin: 30px 0; 
} 
 
.skill-tag { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); 
    color: white; 
    padding: 12px 25px; 
    border-radius: 25px; 
    font-weight: 600; 
    font-size: 14px; 
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3); 
    transition: all 0.3s ease; 
} 
 
.skill-tag:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4); 
} 
 
/* ===== ОПЫТ РАБОТЫ ===== */
.experience-section { 
    margin-top: 50px; 
} 
 
.section-title { 
    font-size: 28px; 
    color: #2c3e50; 
    text-align: center; 
    margin-bottom: 30px; 
    font-weight: 300; 
} 
 
.experience-card { 
    background: white; 
    padding: 25px; 
    margin: 20px 0; 
    border-radius: 12px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.08); 
    border-left: 4px solid #667eea; 
    transition: transform 0.3s ease; 
} 
 
.experience-card:hover { 
    transform: translateX(5px); 
} 
 
.experience-title { 
    font-size: 20px; 
    color: #2c3e50; 
    margin: 0 0 10px 0; 
    font-weight: 600; 
} 
 
.experience-desc { 
    color: #7f8c8d; 
    line-height: 1.6; 
    margin: 0; 
}

/* ===== НОВОСТИ ===== */
.news-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #e74c3c;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-title {
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.news-meta {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0 0 15px 0;
    font-style: italic;
}

.news-content {
    color: #34495e;
    line-height: 1.6;
    margin: 0;
}

/* ===== ТОВАРЫ ===== */
.goods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.goods-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.goods-card:hover {
    transform: translateY(-5px);
}

.goods-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.goods-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.goods-price {
    font-size: 18px;
    color: #e74c3c;
    font-weight: 700;
    margin: 10px 0 20px 0;
}

.goods-button {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.goods-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* ===== КОНТАКТЫ ===== */
.contacts-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    border-left: 4px solid #f39c12;
}

.contact-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.contact-info {
    font-size: 16px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.6;
}

.contact-button {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

/* ===== ПРАКТИКИ ===== */
.practices-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.practice-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #9b59b6;
    transition: transform 0.3s ease;
}

.practice-card:hover {
    transform: translateX(5px);
}

.practice-title {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.practice-desc {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}
 
/* ===== ФУТЕР ===== */
.footer { 
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); 
    color: white; 
    text-align: center; 
    padding: 30px; 
    margin-top: 50px; 
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
dialog {
    padding: 1.5rem;
    border: none;
    border-radius: 12px;
    max-width: 500px;
    width: 90vw;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

dialog::backdrop {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(2px);
}

dialog h2 {
    color: #2c3e50;
    margin: 0 0 1.5rem 0;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

/* ===== СТИЛИ ФОРМЫ В МОДАЛКЕ ===== */
dialog form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

dialog label {
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

dialog input,
dialog select,
dialog textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

dialog input:focus,
dialog select:focus,
dialog textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

dialog small {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: -0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions button {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions button[type="button"] {
    background: #95a5a6;
    color: white;
}

.form-actions button[type="submit"] {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
}

.form-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* ===== ПОДСВЕТКА ОШИБОК ===== */
[aria-invalid="true"] {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 600px) {
    dialog {
        padding: 1rem;
        margin: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

