/* about_project.html — page styles (extracted from the template) */

        body {
            background-color: var(--background);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Гамбургер меню СЛЕВА */
        .hamburger-menu {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            padding: 12px;
            gap: 4px;
            z-index: 2001;
            border-radius: 8px;
            transition: all 0.3s ease;
            background: rgba(139, 69, 19, 0.05);
            margin-right: 15px;
        }

        .hamburger-menu:hover {
            background: rgba(139, 69, 19, 0.1);
            transform: scale(1.05);
        }

        .hamburger-line {
            width: 25px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .hamburger-menu.active {
            background: rgba(139, 69, 19, 0.15);
        }

        .hamburger-menu.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
            background: var(--primary);
        }

        .hamburger-menu.active .hamburger-line:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }

        .hamburger-menu.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
            background: var(--primary);
        }

        /* Боковое меню СЛЕВА */
        .sidebar-menu {
            position: fixed;
            top: 0;
            left: -420px;
            width: 380px;
            height: 100vh;
            background: linear-gradient(160deg, var(--white) 0%, #faf9f7 50%, #F3E9DA 100%);
            box-shadow: 15px 0 50px rgba(139, 69, 19, 0.15);
            z-index: 2000;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            padding: 0;
            overflow-y: auto;
            border-right: 1px solid rgba(139, 69, 19, 0.08);
        }

        .sidebar-menu.active {
            left: 0;
            transform: translateX(0);
        }

        .sidebar-menu::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 100%);
            opacity: 0.9;
        }

        /* Заголовок меню */
        .menu-header {
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
            padding: 30px 35px;
            color: white;
            position: relative;
            overflow: hidden;
            margin-bottom: 20px;
        }

        .menu-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -20%;
            width: 200px;
            height: 200px;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .menu-title {
            font-size: 1.7rem;
            font-weight: 700;
            margin: 0;
            position: relative;
            z-index: 2;
        }

        .menu-subtitle {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-top: 5px;
            font-weight: 400;
            position: relative;
            z-index: 2;
        }

        

        /* Секции меню */
        .menu-section {
            margin-bottom: 30px;
            padding: 0 25px;
        }

        .menu-section-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(139, 69, 19, 0.1);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .menu-section-title::before {
            content: '';
            width: 4px;
            height: 20px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .menu-links {
            list-style: none;
        }

        .menu-links li {
            margin-bottom: 8px;
        }

        .menu-links a {
            color: var(--text-dark);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 14px 18px;
            border-radius: 12px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-weight: 500;
        }

        .menu-links a::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0;
            background: linear-gradient(90deg, rgba(139, 69, 19, 0.1) 0%, transparent 100%);
            transition: width 0.3s ease;
        }

        .menu-links a:hover {
            background: rgba(139, 69, 19, 0.05);
            color: var(--primary);
            transform: translateX(8px);
        }

        .menu-links a:hover::before {
            width: 100%;
        }

        .menu-links a:hover .menu-icon {
            transform: scale(1.2);
        }

        .menu-icon {
            font-size: 1.3rem;
            width: 24px;
            text-align: center;
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        /* Активное состояние ссылок */
        .menu-links a.active {
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(230, 126, 34, 0.05) 100%);
            color: var(--primary);
            border-left: 3px solid var(--primary);
        }

        /* Кнопка в меню */
        .menu-btn {
            background: var(--gradient);
            color: white;
            padding: 14px 25px;
            border-radius: 12px;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            transition: all 0.3s ease;
            margin: 25px;
            text-align: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
        }

        .menu-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
        }

        /* Аватар пользователя в меню */
        .user-profile {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px 25px;
            background: rgba(139, 69, 19, 0.05);
            margin: 20px 25px;
            border-radius: 15px;
            border-left: 4px solid var(--primary);
        }

        .user-avatar {
            width: 50px;
            height: 50px;
            background: var(--gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .user-info h4 {
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .user-info p {
            font-size: 0.9rem;
            color: var(--text-light);
        }

        /* Оверлей для закрытия */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .menu-overlay.active {
            display: block;
            opacity: 1;
        }

        /* Стильные иконки для меню */
        .menu-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            background: linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(230, 126, 34, 0.05) 100%);
            color: var(--primary);
            font-size: 0.9rem;
            transition: all 0.3s ease;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .menu-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .menu-links a:hover .menu-icon {
            background: var(--gradient);
            color: white;
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
        }

        .menu-links a:hover .menu-icon::before {
            opacity: 1;
        }

        .menu-links a.active .menu-icon {
            background: var(--gradient);
            color: white;
            box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
        }

        /* Конкретные иконки с кастомными стилями */
        .menu-icon[data-icon="home"] { background: linear-gradient(135deg, #B35B3F 0%, #C98A6E 100%); }

        .menu-icon[data-icon="search"] { background: linear-gradient(135deg, #8B7355 0%, #B29C7E 100%); }

        .menu-icon[data-icon="book"] { background: linear-gradient(135deg, #A0522D 0%, #C98A6E 100%); }

        .menu-icon[data-icon="info"] { background: linear-gradient(135deg, #D9956B 0%, #E3B294 100%); }

        .menu-icon[data-icon="user"] { background: linear-gradient(135deg, #8B6D4F 0%, #BFA080 100%); }

        .menu-icon[data-icon="books"] { background: linear-gradient(135deg, #D9A441 0%, #EAC98C 100%); }

        .menu-icon[data-icon="star"] { background: linear-gradient(135deg, #D9A441 0%, #EAC98C 100%); }

        .menu-icon[data-icon="chart"] { background: linear-gradient(135deg, #7A6A3A 0%, #A6915C 100%); }

        .menu-icon[data-icon="lock"] { background: linear-gradient(135deg, #B35B3F 0%, #C98A6E 100%); }

        .menu-icon[data-icon="dragon"] { background: linear-gradient(135deg, #7A5233 0%, #A68262 100%); }

        .menu-icon[data-icon="detective"] { background: linear-gradient(135deg, #A0522D 0%, #C98A6E 100%); }

        .menu-icon[data-icon="heart"] { background: linear-gradient(135deg, #C0653A 0%, #D9956B 100%); }

        .menu-icon[data-icon="science"] { background: linear-gradient(135deg, #6B5A30 0%, #9C8A52 100%); }

        /* Анимации */
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .menu-section {
            animation: slideInLeft 0.5s ease-out;
        }

        .menu-section:nth-child(2) { animation-delay: 0.1s; }

        .menu-section:nth-child(3) { animation-delay: 0.2s; }

        .menu-section:nth-child(4) { animation-delay: 0.3s; }

        /* Прокрутка */
        .sidebar-menu::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar-menu::-webkit-scrollbar-track {
            background: rgba(139, 69, 19, 0.05);
        }

        .sidebar-menu::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        .sidebar-menu::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Адаптивность */
        @media (max-width: 768px) {

            .hamburger-menu {
                display: flex;
            }
}

        @media (max-width: 480px) {

            .sidebar-menu {
                width: 100%;
                left: -100%;
            }

            .menu-header {
                padding: 25px 20px;
            }

            .menu-section {
                padding: 0 20px;
            }

            .menu-btn {
                margin: 20px;
            }

            .user-profile {
                margin: 15px 20px;
            }

            .hamburger-menu {
                padding: 10px;
                margin-right: 10px;
            }

            .hamburger-line {
                width: 22px;
                height: 2.5px;
            }
}

        /* Modern Hero Section */
        .about-hero {
            padding: 120px 0 80px;
            background: linear-gradient(135deg, #FDFBF7 0%, #F0EDE8 100%);
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .about-hero::before {
            content: '';
            position: absolute;
            top: -30%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
            border-radius: 50%;
        }

        .about-hero h1 {
            font-size: 3.2rem;
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .about-hero p {
            font-size: 1.3rem;
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Mission Section */
        .mission-section {
            padding: 100px 0;
            background-color: var(--white);
        }

        .mission-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .mission-text h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 25px;
            color: var(--text-dark);
            line-height: 1.2;
        }

        .mission-text p {
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: var(--text-light);
            line-height: 1.7;
        }

        .mission-image {
            text-align: center;
            position: relative;
        }

        .mission-visual {
            font-size: 8rem;
            background: var(--gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            filter: drop-shadow(0 8px 16px rgba(139, 69, 19, 0.2));
        }

        /* Features Section */
        .features-section {
            padding: 100px 0;
            background-color: var(--background);
        }

        .features-section h2 {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 60px;
            color: var(--text-dark);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
        }

        /* Stats Section */
        .stats-section {
            padding: 100px 0;
            background: var(--gradient);
            color: var(--white);
            position: relative;
            overflow: hidden;
        }

        .stats-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            text-align: center;
            position: relative;
            z-index: 2;
        }

        .stat-item {
            padding: 30px 20px;
        }

        .stat-number {
            display: block;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--white);
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        .stat-label {
            font-size: 1.1rem;
            opacity: 0.9;
            font-weight: 500;
        }

        /* Timeline Section */
        .timeline-section {
            padding: 100px 0;
            background-color: var(--white);
        }

        .timeline-section h2 {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 60px;
            color: var(--text-dark);
        }

        .timeline {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 3px;
            background: var(--gradient);
            transform: translateX(-50%);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 60px;
        }

        .timeline-item:nth-child(odd) .timeline-content {
            margin-left: auto;
            margin-right: 50px;
        }

        .timeline-item:nth-child(even) .timeline-content {
            margin-left: 50px;
        }

        .timeline-content {
            background: var(--white);
            padding: 30px;
            border-radius: 15px;
            width: 45%;
            position: relative;
            box-shadow: var(--shadow);
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .timeline-content::before {
            content: '';
            position: absolute;
            top: 30px;
            width: 20px;
            height: 20px;
            background: var(--gradient);
            border-radius: 50%;
            box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--primary);
        }

        .timeline-item:nth-child(odd) .timeline-content::before {
            right: -60px;
        }

        .timeline-item:nth-child(even) .timeline-content::before {
            left: -60px;
        }

        .timeline-date {
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .timeline-content h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--text-dark);
            font-weight: 600;
        }

        .timeline-content p {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* Team Section */
        .team-section {
            padding: 100px 0;
            background-color: var(--background);
        }

        .team-section h2 {
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 60px;
            color: var(--text-dark);
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .team-member {
            background: var(--white);
            padding: 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: all 0.3s ease;
        }

        .team-member:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .member-avatar {
            width: 100px;
            height: 100px;
            background: var(--gradient);
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 2.5rem;
        }

        .member-name {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--text-dark);
        }

        .member-role {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 15px;
        }

        .member-bio {
            color: var(--text-light);
            line-height: 1.6;
        }

        /* CTA Section */
        .cta-section {
            padding: 100px 0;
            background: linear-gradient(135deg, #FDFBF7 0%, #F0EDE8 100%);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-dark);
        }

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 35px;
            color: var(--text-light);
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 968px) {

            .mission-content {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }

            .timeline::before {
                left: 30px;
            }

            .timeline-content {
                width: calc(100% - 80px);
                margin-left: 80px !important;
                margin-right: 0 !important;
            }

            .timeline-content::before {
                left: -60px !important;
                right: auto !important;
            }
}

        @media (max-width: 768px) {

            .hamburger-menu {
                display: flex;
            }

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

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .team-grid {
                grid-template-columns: 1fr;
            }
}

        @media (max-width: 480px) {

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .about-hero h1 {
                font-size: 2.2rem;
            }

            .mission-text h2,
            .features-section h2,
            .timeline-section h2,
            .team-section h2,
            .cta-section h2 {
                font-size: 2rem;
            }
}

        /* Animation for modern feel */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .about-hero, .mission-content, .feature-card, .timeline-item, .team-member {
            animation: fadeInUp 0.8s ease-out;
        }

        .feature-card:nth-child(2) { animation-delay: 0.1s; }

        .feature-card:nth-child(3) { animation-delay: 0.2s; }

        .feature-card:nth-child(4) { animation-delay: 0.3s; }

        .feature-card:nth-child(5) { animation-delay: 0.4s; }

        .feature-card:nth-child(6) { animation-delay: 0.5s; }

        .close-menu {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    z-index: 2002; /* Важно: должен быть выше чем меню */
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Убедитесь что оверлей закрывает всё */

/* Success Messages */
.feedback-success {
    background: linear-gradient(135deg, #3D7A4E 0%, #2C5530 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
    animation: fadeIn 0.5s ease;
}

.feedback-success h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}
