.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero_container {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
}

.hero_container h1 {
    font-size: 30px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero_container h2 {
    font-size: 16px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}

.hero_buttons {
 margin-top: 40px;;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header__info {
        display: none; /* Скрываем контакты в центре */
    }
    
    .desktop-only {
        display: none; /* Скрываем кнопку справа */
    }
    
    .mobile-only {
        display: block; /* Показываем бургер */
    }
    
    .hero__title {
        font-size: 32px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero_buttons {
        flex-direction: column;
       margin-bottom: 40px;
    }
    
    .hero_buttons .btn {
        margin-bottom: 20px;
    }

    .hero_container h1 {
      margin-top: 30px;
      font-size: 25px;
    }
}

