/* ==================== ОБЩИЕ СТИЛИ ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a5f;
    --secondary-color: #2c5f8d;
    --accent-color: #4a90e2;
    --text-color: #333;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==================== ОСНОВНОЙ КОНТЕНТ ==================== */
.main-content {
    margin-left: 80px; /* Ширина свёрнутого меню */
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    overflow: visible;
}

/* ==================== ШАПКА С ЛОГОТИПОМ ==================== */
.site-header {
    text-align: center;
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 100;
    padding-bottom: 120px;
}

.logo-title {
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
	margin-top: 250px;
}

.logo-letter {
    display: inline-block;
    animation: letterFloat 3s ease-in-out infinite;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

/* Градиент для "Geo" - от фиолетового к синему */
.logo-letter:nth-child(1),
.logo-letter:nth-child(2),
.logo-letter:nth-child(3) {
    background: linear-gradient(135deg, #ea6666 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

.logo-letter:nth-child(1) { animation-delay: 0s; }
.logo-letter:nth-child(2) { animation-delay: 0.1s; }
.logo-letter:nth-child(3) { animation-delay: 0.2s; }

/* Градиент для "Qazaqstan" - от бирюзового к зеленому */
.logo-letter:nth-child(4),
.logo-letter:nth-child(5),
.logo-letter:nth-child(6),
.logo-letter:nth-child(7),
.logo-letter:nth-child(8),
.logo-letter:nth-child(9),
.logo-letter:nth-child(10),
.logo-letter:nth-child(11),
.logo-letter:nth-child(12) {
    background: linear-gradient(135deg, #cbea66 0%, #a24b4b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-letter:nth-child(4) { animation-delay: 0.3s; }
.logo-letter:nth-child(5) { animation-delay: 0.4s; }
.logo-letter:nth-child(6) { animation-delay: 0.5s; }
.logo-letter:nth-child(7) { animation-delay: 0.6s; }
.logo-letter:nth-child(8) { animation-delay: 0.7s; }
.logo-letter:nth-child(9) { animation-delay: 0.8s; }
.logo-letter:nth-child(10) { animation-delay: 0.9s; }
.logo-letter:nth-child(11) { animation-delay: 1s; }
.logo-letter:nth-child(12) { animation-delay: 1.1s; }

@keyframes letterFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.site-subtitle {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ea6666 0%, #cbea66 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* ==================== СЕКЦИЯ С КАРТОЙ ==================== */
.map-hero-section {
    position: relative;
    overflow: visible;
}

.map-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
	min-height: 150px;
}

.map-hero-image {
    width: 100%;
    max-width: 1500px;
    height: auto;
    position: relative;
    margin-top: -150px;
    z-index: 10;
}


/* ==================== БЕГОВАЯ ДОРОЖКА (ФОН) ==================== */
.running-track-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    opacity: 0.5;
    z-index: 1;
}

.running-track {
    display: flex;
    gap: 0;
    animation: scroll 40s linear infinite;
    width: max-content;
    will-change: transform;
    position: absolute;
    top: -5%;
    transform: translateY(-50%) rotate(-3deg);
}

.track-item {
    flex-shrink: 0;
    width: 380px;
    height: 100px;
   overflow: hidden
    position: relative;
}

.track-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

@keyframes scroll {
    0% {
        transform: translate(0, -50%) rotate(-3deg);
    }
    100% {
        transform: translate(calc(-380px * 6), -50%) rotate(-3deg);
    }
}

/* ==================== БЛОК ОБ АВТОРЕ ==================== */
.author-section {
    padding: 80px 20px;
    background: var(--white);
}

.author-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.author-photo {
    text-align: center;
}

.author-photo img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.author-photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.author-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.author-info h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-position {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.author-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.author-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== ФУТЕР ==================== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px 20px;
    margin-left: 80px;
    transition: margin-left 0.3s ease;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p {
    margin: 0;
    opacity: 0.9;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-link i {
    font-size: 1.5rem;
}

/* ==================== АДАПТИВНОСТЬ ==================== */

/* Планшеты */
@media (max-width: 1024px) {
    .site-header {
        padding: 60px 10px 10px 10px;
    }
    
    .logo-title {
        font-size: 2rem;
    }
    
    
    .track-item {
        width: 320px;
        height: 85px;
    }
    
    .author-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .author-photo img {
        width: 200px;
        height: 200px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
    }
    
    .site-footer {
        margin-left: 0;
    }
    
    .logo-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .site-subtitle {
        font-size: 1rem;
    }
    
    .site-header {
        padding: 60px 10px 10px 10px;
    }
    
    .map-hero-section {
        padding: 60px 15px;
    }
    
    .track-item {
        width: 280px;
        height: 75px;
    }
    
    .author-container {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .author-photo img {
        width: 150px;
        height: 150px;
        border: 5px solid var(--accent-color);
    }
    
    .author-info h2 {
        font-size: 2rem;
    }
    
    .author-info h3 {
        font-size: 1.5rem;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 1.5rem;
    }
    

    
    .track-item {
        width: 240px;
        height: 65px;
    }
    
    .running-track-background {
        opacity: 0.25;
    }
    
    .author-info h2 {
        font-size: 1.5rem;
    }
}

