html, body {
    scroll-snap-type: y mandatory;
    height: 100%;
    overflow: hidden; /* скрываем прокрутку, но JS управляет навигацией */
    touch-action: none; /* предотвращает стандартный скролл на мобилках */
}
body {
    background-color: #000;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
}
section {
    scroll-snap-align: start;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

section.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
    pointer-events: auto;
}

section.inactive-up {
    transform: translateY(-100%);
    z-index: 1;
}

section.inactive-down {
    transform: translateY(100%);
    z-index: 1;
}
section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}
.hero {
    background-image: url('imgs/img3.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}
.hero h1 {
    font-size: 4rem;
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 10px;
    text-transform: uppercase;
}
h2 {
    text-transform: uppercase;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    border-bottom: 2px solid #ffc107;
    display: inline-block;
    z-index: 1;
}
.gallery-slider {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    z-index: 1;
}
.gallery-slider::-webkit-scrollbar {
    height: 10px;
}
.gallery-slider::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}
.gallery-slider img {
    height: auto;
    max-height: 300px;
    width: auto;
    border-radius: 10px;
    scroll-snap-align: start;
    flex-shrink: 0;
}
.btn-glow {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    border-radius: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-glow:hover {
    box-shadow: 0 0 20px #ffc107aa;
    transform: scale(1.05);
}
.product-description {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ddd;
    text-align: center;
}
.card {
    background-color: rgba(0,0,0,0.8);
    color: #fff;
    border: 1px solid #444;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.welcome-section {
    background-image: url('imgs/img6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.about-section {
    background-image: url('imgs/img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.gallery-section {
    background-image: url('https://source.unsplash.com/random/1602x900?hangar');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.updates-section {
    background-image: url('imgs/img4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.final-section {
    background-image: url('https://source.unsplash.com/random/1604x900?jetway');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
        padding: 10px;
    }
    .gallery-slider img {
        max-height: 200px;
    }
    .product-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    h2 {
        font-size: 1.5rem;
    }
}
