/**
 * Create by XIAOMU
 * Date: 2025/12/5
 * Name : app.main.css
 */
@import "uiFont.css";
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ALKATIP Basma Tom';
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

/* تىل تاللاش */
.language-switcher {
    background-color: var(--primary-color);
    padding: 10px 0;
    text-align: right;
}

.language-switcher ul {
    list-style: none;
    display: inline-block;
    margin-right: 20px;
}

.language-switcher li {
    display: inline-block;
    margin: 0 5px;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.language-switcher a:hover,
.language-switcher a.active {
    background-color: var(--secondary-color);
}

/* باش سەھىپە */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* لوگو */
.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo-text span {
    color: var(--accent-color);
}

/* تىزىملىك */
.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

/* باشقىسى */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 5%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* مۇلازىمەتلەر */
.services {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ئەپ چۈشەندۈرۈشى */
.app-info {
    background-color: var(--light-color);
    padding: 80px 5%;
}

.app-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.app-text {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.app-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.app-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.app-buttons {
    margin-top: 30px;
}

.app-btn {
    display: inline-block;
    background-color: var(--dark-color);
    color: white;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
}

.app-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* تەگلىك قىسمى */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 5% 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* تېلفۇن ماسلاشتۇرۇش */
@media (max-width: 992px) {
    .header-container {
        padding: 15px 20px;
    }

    .nav-menu ul {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 100;
    }

    .nav-menu.active li {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .app-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .service-card {
        max-width: 100%;
    }

    .footer-column {
        flex: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .app-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .app-btn {
        margin-right: 0;
        text-align: center;
    }
}

/* تىل مەزمۇنلىرى */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}