/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
    /* Цветовая схема */
    --primary-color: #2c5aa0;
    --primary-dark: #1e3d72;
    --primary-light: #e3ebf7;
    --secondary-color: #6c757d;
    --accent-color: #06b6d4;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Текст */
    --text-color: #2d3748;
    --text-light: #718096;
    --text-lighter: #a0aec0;
    
    /* Фоны */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --footer-bg: #2d3748;
    
    /* Границы */
    --border-color: #e2e8f0;
    --border-radius: 12px;
    
    /* Тени */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Переходы */
    --transition: all 0.3s ease;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

/* ===== ТИПОГРАФИЯ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ===== HEADER ===== */
.header {
    background: white;
    box-shadow: var(--shadow);
    padding: 2rem 0;
}

.header-photos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-photo-left,
.header-photo-right {
    flex-shrink: 0;
}

.photo-left-container,
.photo-right-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.photo-left-container img,
.photo-right-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text-center {
    flex: 1;
    text-align: center;
}

.header-text-center h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== NAVIGATION ===== */
.navigation {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 1rem 0;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-links a.active {
    color: var(--primary-color);
    background: var(--bg-light);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 3rem 0;
}

.section {
    padding: 4rem 0;
}

.section h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8fafc 100%);
    padding: 3rem 0;
}

.welcome-header {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.welcome-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.audience-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.audience-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.audience-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.welcome-messages {
    margin-bottom: 2rem;
}

.welcome-message {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    display: none;
}

.welcome-message.active {
    display: block;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.welcome-icon {
    text-align: center;
}

.icon-container {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.welcome-icon h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.welcome-icon p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check {
    color: var(--primary-color);
}

.achievements {
    margin-bottom: 1.5rem;
}

.achievements h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat {
    text-align: center;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.tags-section {
    margin-bottom: 1.5rem;
}

.tags-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #f3f4f6;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.services ul {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.services li {
    margin-bottom: 0.5rem;
}

.note {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
}

.quick-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.quick-nav a:first-child {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quick-nav a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
}

.personal-info {
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.info-item strong {
    color: var(--primary-color);
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.highlight-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== COMPETENCIES ===== */
.competencies {
    margin-top: 2rem;
}

.competencies h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.competency-card {
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.competency-card strong {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.competency-list {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.6;
    padding-left: 1rem;
}

.competency-list li {
    margin-bottom: 0.3rem;
}

/* ===== LEADERSHIP ===== */
.leadership {
    margin-top: 2rem;
}

.leadership h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.leadership-card {
    text-align: center;
    padding: 1rem;
    background: var(--primary-light);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.leadership-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.leadership-card div {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== INSPIRATION ===== */
.inspiration {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0f9ff 100%);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.inspiration h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.inspiration-card {
    text-align: center;
}

.inspiration-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.inspiration-card div {
    font-size: 0.8rem;
    color: var(--text-light);
}

.inspiration-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header {
        padding: 2rem 0;
    }
    
    .header-photos {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-text-center {
        order: -1;
    }
    
    .photo-left-container,
    .photo-right-container {
        width: 120px;
        height: 120px;
    }
    
    .header-text-center h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .competencies-grid {
        grid-template-columns: 1fr;
    }
    
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .inspiration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .header-text-center h1 {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .section h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .welcome-header h1 {
        font-size: 1.8rem;
    }
    
    .audience-selector {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .inspiration-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
