* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik Dirt', cursive;
    background-color: #1a1a1a;
    color: #e5e5e5;
    overflow-x: hidden;
    background-image: url('https://i.pinimg.com/1200x/89/b7/b5/89b7b5da553719634ea0673f08e8eedc.jpg');
    background-attachment: fixed; /* МАГИЯ! */
    background-size: cover;       /* чтобы картинка занимала весь экран */
    background-position: center;  /* центрируем */
    background-repeat: no-repeat; /* без повторения */
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #e5e5e5;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 50px;
}

.lang-buttons {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 6px 12px;
    background-color: #2d2d2d;
    color: #e5e5e5;
    border: 1px solid #3d3d3d;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Rubik Dirt', cursive;
    font-size: 12px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #3d3d3d;
}

.lang-btn.active {
    background-color: #a855f7;
    border-color: #a855f7;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 64px;
    left: -300px;
    width: 300px;
    height: calc(100vh - 64px);
    background-color: #242424;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-content {
    padding: 2rem 0;
}

.menu-item {
    display: block;
    padding: 1rem 2rem;
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background-color: #2d2d2d;
    border-left-color: #a855f7;
}

.menu-item.active {
    background-color: #2d2d2d;
    border-left-color: #a855f7;
    color: #a855f7;
}

/* Page Content */
.page-content {
    margin-top: 64px;
    padding: 3rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.about-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #d1d5db;
    margin-bottom: 4rem;
    text-align: center;
}

.team-section, .mission-section {
    margin-bottom: 4rem;
}

.team-section h2, .mission-section h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: #242424;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.5rem;
    color: white;
    padding: 1rem 1.5rem 0.5rem;
}

.team-card p {
    color: #9ca3af;
    padding: 0 1.5rem 1.5rem;
}

.mission-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #d1d5db;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}



