/*
Theme Name: Adil Development
*/
body, html {
    margin: 0;
    padding: 0;
}

header, nav, section {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fff;
    color: #1a2a3a;
    line-height: 1.6;
    font-size: 16px;
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Отступ для якорей */
section {
    scroll-margin-top: 80px;
}

/* Шапка */
.site-header {
    background: #0a2f44;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.site-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.tagline {
    font-style: italic;
    font-size: 18px;
    margin-top: 12px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Навигация */
.main-nav {
    background: #0a2f44;
    border-top: 1px solid #1e4a6e;
    text-align: center;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Заголовки секций */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.3px;
}

h1 {
    font-size: 44px;
    margin-bottom: 20px;
    color: #0a2f44;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #0a2f44;
}

/* Кнопка */
.btn {
    display: inline-block;
    background: #6a3e6b;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 40px;
    margin-top: 30px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn:hover {
    opacity: 0.9;
}

/* Карточки достижений */
.achievement-card {
    flex: 1;
    background: #f0f4f8;
    padding: 24px 20px;
    text-align: center;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.achievement-number {
    font-size: 40px;
    font-weight: 700;
    color: #e67e22;
    display: block;
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 16px;
    color: #4a5b6e;
    margin: 0;
}

/* Блок публикаций */
blockquote {
    font-style: italic;
    border-left: 4px solid #e67e22;
    padding-left: 24px;
    margin: 24px 0;
    font-size: 18px;
    color: #2c3e50;
}

/* Футер */
.site-footer {
    background: #1a2a3a;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    font-size: 14px;
}

.site-footer a {
    color: #e67e22;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .main-nav a {
        margin: 0 12px;
        font-size: 14px;
    }
    
    .achievement-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .tagline {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        margin: 0 8px;
        font-size: 12px;
    }
    
    .achievement-card {
        flex: 0 0 100%;
    }
}

/* Мобильная и планшетная версия */
@media (max-width: 768px) {
    #hero {
        display: flex;
        flex-direction: column; 
        justify-content: flex-end; 
        align-items: center; 
        min-height: 70vh; 
        padding: 20px; 
        background-position: center center; 
    }

    #hero .container {
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }

    #hero .hero-text {
        color: white !important;       /* теперь точно перекрашивается */
        font-size: 32px;    
        line-height: 1.3;
    }

    #hero .hero-author {
        color: white !important;
        margin-top: 10px;
    }

    #hero .btn {
        padding: 10px 24px;
        margin-top: 20px;
    }
}

/* Десктопная версия */
#hero .hero-text {
    font-size: 44px;
    line-height: 1.2;
    color: #1a2a3a;
}

#hero .hero-author {
    color: #1a2a3a;
}

#about {
    background: #f9f9f9;
    padding: 60px 20px;
}

#about .about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

#about .about-text {
    flex: 1.5;
}

#about .about-text h2 {
    margin-top: 0;
}

#about .about-text p {
    margin-bottom: 16px;
    line-height: 1.6;
}

#about .about-text .philosophy {
    font-size: 22px;
    font-weight: 500;
    color: #6a3e6b;
    margin-top: 30px;
}

#about .about-photo {
    flex: 1;
    text-align: center;
}

#about .about-photo img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    #about .about-container {
        flex-direction: column;
        gap: 20px;
    }
    #about .about-text,
    #about .about-photo {
        flex: 1 1 100%;
        text-align: center;
    }
    #about .about-text .philosophy {
        font-size: 18px;
    }
}


.philosophy {
    font-size: 22px;
    font-weight: 500;
    color: #6a3e6b;
    margin-top: 30px;
    padding: 20px;
    border-left: 4px solid #e67e22;
    background: rgba(110, 62, 107, 0.05);
}

.about-photo img:hover {
    transform: scale(1.02);
    transition: 0.3s ease;
}

.achievement-number {
    font-size: 36px;
    color: #e67e22;
    font-weight: 700;
}

.achievement-card {
    flex: 1;
    background: #f0f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .achievements-container {
        flex-direction: column;
        gap: 20px;
    }
}

#achievements {
    padding: 60px 20px;
    background: #eaeff5; /* светло-серый/голубой оттенок, чтобы отделять от предыдущего блока */
}

.achievement-card {
    background: #ffffff; /* чистый белый фон для каждой карточки */
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08); /* лёгкая тень, чтобы "выпрыгивали" из блока */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.achievements-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .achievements-container {
        flex-direction: column;
    }
}

/* Контейнер карточек */
.achievements-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* Карточка достижения */
.achievement-card {
    flex: 1;
    background: #f0f4f8;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Цифра достижения */
.achievement-number {
    font-size: 36px;
    color: #e67e22;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

/* Иконка */
.achievement-icon {
    display: block;
    width: 60px;       /* подстрой под свой SVG */
    height: 60px;
    margin: 0 auto 12px auto;
}


.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a,
.lang-switch span {
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.lang-switch a {
    background: white;
    color: #6a3e6b;
}

.lang-switch span {
    background: #6a3e6b;
    color: white;
}
