.hero {
    background-image: url('/src/img/bg1.jpg');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
}

.hero-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 10px;
    display: inline-block;
    color: white;
}

.hero-content h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-price {
    font-size: 20px;
    margin-bottom: 5px;
}

.hero-warranty {
    font-size: 16px;
    margin-bottom: 5px;
}

.hero-text {
    font-size: 16px;
}

.ticker {
    background-color: rgb(25, 142, 56);
    color: white;
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    position: relative;
    width: 100%;
    max-width: 100vw;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: inline-flex;
    animation: ticker 30s linear infinite;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    will-change: transform;
}

.ticker-text {
    display: inline-block;
    padding-right: 0;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    
    .hero-box {
        padding: 30px 20px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content h3 {
        font-size: 14px;
    }
    
    .hero-price {
        font-size: 18px;
    }
    
    .hero-warranty,
    .hero-text {
        font-size: 14px;
    }
    
    .ticker-content {
        font-size: 14px;
        animation: ticker 30s linear infinite;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 350px;
    }
    
    .hero-box {
        padding: 20px 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content h3 {
        font-size: 12px;
    }
    
    .hero-price {
        font-size: 16px;
    }
    
    .hero-warranty,
    .hero-text {
        font-size: 13px;
    }
    
    .ticker {
        padding: 10px 0;
    }
    
    .ticker-content {
        font-size: 13px;
        animation: ticker 25s linear infinite;
    }
}
