   /* Базовые стили */
   :root {
       --primary-color: #1a1a1a;
       --secondary-color: #333;
       --accent-color: #ff6b35;
       --text-color: #f5f5f5;
       --light-gray: #e0e0e0;
       --dark-gray: #2a2a2a;
   }

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

   body {
       font-family: 'Montserrat', sans-serif;
       background-color: var(--primary-color);
       color: var(--text-color);
       line-height: 1.6;
       overflow-x: hidden;
   }

   a {
       text-decoration: none;
       color: inherit;
   }

   .container {
       max-width: 1200px;
       margin: 0 auto;
       padding: 0 20px;
   }

   section {
       padding: 100px 0;
   }

   .section-title {
       font-size: 2.5rem;
       margin-bottom: 50px;
       text-align: center;
       position: relative;
   }

   .section-title::after {
       content: '';
       position: absolute;
       bottom: -10px;
       left: 50%;
       transform: translateX(-50%);
       width: 80px;
       height: 3px;
       background-color: var(--accent-color);
   }

   /* Шапка */
   header {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       z-index: 1000;
       background-color: rgba(26, 26, 26, 0.9);
       backdrop-filter: blur(10px);
       transition: all 0.3s ease;
   }

   .header-container {
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 20px 0;
   }

   .logo {
       font-size: 1.5rem;
       font-weight: 700;
       color: var(--text-color);
   }

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

   nav ul {
       display: flex;
       list-style: none;
   }

   nav ul li {
       margin-left: 30px;
   }

   nav ul li a {
       font-weight: 500;
       transition: color 0.3s ease;
   }

   nav ul li a:hover {
       color: var(--accent-color);
   }

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

   /* Герой секция */
   .hero {
       height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       text-align: center;
       background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./rocket.jpg');
       background-size: cover;
       background-position: center;
       position: relative;
   }

   .hero-content {
       max-width: 800px;
       padding: 0 20px;
   }

   .hero h1 {
       font-size: 4rem;
       margin-bottom: 20px;
       text-transform: uppercase;
       letter-spacing: 3px;
   }

   .hero h2 {
       font-size: 1.5rem;
       margin-bottom: 30px;
       font-weight: 300;
       letter-spacing: 2px;
   }

   .hero p {
       font-size: 1.2rem;
       margin-bottom: 40px;
       opacity: 0.9;
   }

   .btn {
       display: inline-block;
       padding: 12px 30px;
       background-color: var(--accent-color);
       color: var(--text-color);
       border: none;
       border-radius: 4px;
       font-weight: 600;
       text-transform: uppercase;
       letter-spacing: 1px;
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .btn:hover {
       background-color: #e55a2b;
       transform: translateY(-3px);
       box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
   }

   /* Обо мне */
   .about {
       background-color: var(--secondary-color);
   }

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

   .about-text h3 {
       font-size: 1.8rem;
       margin-bottom: 20px;
       color: var(--accent-color);
   }

   .about-text p {
       margin-bottom: 20px;
       font-size: 1.1rem;
   }

   .skills {
       margin-top: 30px;
   }

   .skill-item {
       margin-bottom: 20px;
   }

   .skill-name {
       display: flex;
       justify-content: space-between;
       margin-bottom: 5px;
   }

   .skill-bar {
       height: 8px;
       background-color: var(--dark-gray);
       border-radius: 4px;
       overflow: hidden;
   }

   .skill-level {
       height: 100%;
       background-color: var(--accent-color);
   }

   /* Портфолио */
   .portfolio {
       background-color: var(--primary-color);
   }

   .portfolio-filter {
       display: flex;
       justify-content: center;
       margin-bottom: 40px;
       flex-wrap: wrap;
   }

   .filter-btn {
       padding: 8px 20px;
       margin: 0 5px 10px;
       background-color: transparent;
       color: var(--text-color);
       border: 1px solid var(--accent-color);
       border-radius: 30px;
       cursor: pointer;
       transition: all 0.3s ease;
   }

   .filter-btn.active,
   .filter-btn:hover {
       background-color: var(--accent-color);
   }

   .portfolio-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
       gap: 30px;
   }

   .portfolio-item {
       position: relative;
       border-radius: 8px;
       overflow: hidden;
       box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
       transition: transform 0.3s ease;
   }

   .portfolio-item:hover {
       transform: translateY(-10px);
   }

   .portfolio-img {
       width: 100%;
       height: 250px;
       object-fit: cover;
       display: block;
   }

   .portfolio-overlay {
       position: absolute;
       bottom: 0;
       left: 0;
       right: 0;
       background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
       padding: 20px;
       transform: translateY(100%);
       transition: transform 0.3s ease;
   }

   .portfolio-item:hover .portfolio-overlay {
       transform: translateY(0);
   }

   .portfolio-title {
       font-size: 1.2rem;
       margin-bottom: 10px;
   }

   .portfolio-category {
       font-size: 0.9rem;
       color: var(--accent-color);
   }

   /* Контакты */
   .contact {
       background-color: var(--secondary-color);
   }

   .contact-content {
       display: grid;
       grid-template-columns: 1fr 1fr;
       gap: 50px;
   }

   .contact-info {
       display: flex;
       flex-direction: column;
   }

   .contact-item {
       display: flex;
       align-items: center;
       margin-bottom: 20px;
   }

   .contact-icon {
       width: 50px;
       height: 50px;
       background-color: var(--accent-color);
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       margin-right: 15px;
   }

   .contact-text h4 {
       margin-bottom: 5px;
   }

   .contact-form {
       display: flex;
       flex-direction: column;
   }

   .form-group {
       margin-bottom: 20px;
   }

   .form-control {
       width: 100%;
       padding: 12px 15px;
       background-color: var(--dark-gray);
       border: none;
       border-radius: 4px;
       color: var(--text-color);
       font-family: inherit;
   }

   textarea.form-control {
       min-height: 150px;
       resize: vertical;
   }

   /* Футер */
   footer {
       background-color: var(--primary-color);
       padding: 50px 0 20px;
       text-align: center;
   }

   .footer-content {
       margin-bottom: 30px;
   }

   .footer-logo {
       font-size: 2rem;
       font-weight: 700;
       margin-bottom: 20px;
   }

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

   .social-links {
       display: flex;
       justify-content: center;
       margin-bottom: 30px;
   }

   .social-link {
       width: 40px;
       height: 40px;
       border-radius: 50%;
       background-color: var(--secondary-color);
       display: flex;
       align-items: center;
       justify-content: center;
       margin: 0 10px;
       transition: all 0.3s ease;
   }

   .social-link:hover {
       background-color: var(--accent-color);
       transform: translateY(-5px);
   }

   .copyright {
       font-size: 0.9rem;
       color: var(--light-gray);
       padding-top: 20px;
       border-top: 1px solid var(--dark-gray);
   }

   /* Модальное окно */
   .modal {
       display: none;
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: rgba(0, 0, 0, 0.9);
       z-index: 2000;
       overflow: auto;
   }

   .modal-content {
       position: relative;
       max-width: 900px;
       margin: 50px auto;
       background-color: var(--secondary-color);
       border-radius: 8px;
       overflow: hidden;
   }

   .modal-close {
       position: absolute;
       top: 15px;
       right: 15px;
       background: none;
       border: none;
       color: var(--text-color);
       font-size: 1.5rem;
       cursor: pointer;
       z-index: 10;
   }

   .modal-body {
       padding: 30px;
   }

   .modal-title {
       font-size: 2rem;
       margin-bottom: 20px;
   }

   .modal-img {
       width: 100%;
       margin-bottom: 20px;
       border-radius: 4px;
   }

   .modal-description {
       margin-bottom: 20px;
   }

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

       .about-content,
       .contact-content {
           grid-template-columns: 1fr;
       }

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

   @media (max-width: 768px) {
       .mobile-menu-btn {
           display: block;
       }

       nav {
           position: fixed;
           top: 70px;
           left: 0;
           width: 100%;
           background-color: var(--primary-color);
           padding: 20px;
           transform: translateY(-100%);
           opacity: 0;
           visibility: hidden;
           transition: all 0.3s ease;
       }

       nav.active {
           transform: translateY(0);
           opacity: 1;
           visibility: visible;
       }

       nav ul {
           flex-direction: column;
       }

       nav ul li {
           margin: 10px 0;
       }

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

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

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

       .hero h2 {
           font-size: 1.2rem;
       }

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

   .about-image {
       position: relative;
       border-radius: 8px;
       overflow: hidden;
       box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
   }

   .about-image::before {
       content: '';
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background: linear-gradient(45deg, var(--accent-color) 0%, transparent 70%);
       opacity: 0.1;
       z-index: 1;
   }

   .about-image img {
       width: 100%;
       /* width: 400px; */
       object-fit: cover;
       display: block;
       transition: transform 0.5s ease;
   }

   .about-image:hover img {
       transform: scale(1.05);
   }
/* Стили для галереи проектов */
.project-gallery {
    margin-bottom: 2rem;
}

.gallery-main {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-gray);
}

.gallery-main img,
.gallery-main video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.gallery-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.gallery-prev,
.gallery-next {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.thumbnail {
    flex: 0 0 auto;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, border 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    opacity: 0.8;
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.thumbnail-video .video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.project-info {
    margin-top: 2rem;
}

.project-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-gray);
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-meta span {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .gallery-main {
        margin-bottom: 0.5rem;
    }

    .gallery-controls {
        padding: 0 0.5rem;
    }

    .gallery-prev,
    .gallery-next {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .thumbnail {
        width: 60px;
        height: 45px;
    }

    .project-meta {
        font-size: 0.8rem;
    }
}