/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

    header h1 {
        margin: 0;
    }

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    justify-content: center;
}

    nav ul li {
        margin: 0 15px;
    }

        nav ul li a {
            color: white;
            text-decoration: none;
            padding: 10px;
        }

            nav ul li a:hover {
                background-color: #444;
            }

.dropdown-menu {
    display: none;
    list-style: none;
    background-color: #444;
    padding: 10px;
    position: absolute;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Профиль */
.profile {
    padding: 20px;
    text-align: center;
}

.profile-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}

.profile-details {
    text-align: left;
}

    .profile-details p {
        font-size: 16px;
        margin: 5px 0;
    }

/* Жеңген титулдар мен турнирлар */
.achievements {
    background-color: #fff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

    .achievements h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .achievements ul {
        list-style: none;
        padding-left: 20px;
    }

    .achievements li {
        font-size: 18px;
        margin-bottom: 8px;
    }

/* Отбасы туралы ақпарат */
.family {
    background-color: #fff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

    .family h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .family p {
        font-size: 18px;
        line-height: 1.6;
    }

/* Слайдер */
.slider-section {
    margin-top: 50px;
    text-align: center;
}

.slider {
    width: 50%;
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    display: none;
}

    .slide.active {
        display: block;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Кнопки слайдера */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Галерея */
.gallery {
    margin-top: 50px;
    text-align: center;
}

.gallery-images {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-img {
    width: 250px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

    .gallery-img:hover {
        transform: scale(1.1);
    }

/* Футер */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: white;
}
