/* Modern Hero Section Styles */
.modern-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #000;
    width: 100%;
    max-width: 100vw;
}

.hero-slider-container {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100vw;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 12, 61, 0.4) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(230, 12, 61, 0.4) 100%);
    z-index: 1;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    animation: heroContentSlideUp 1s ease-out;
    width: 100%;
    padding: 0 30px 0 30px; /* Увеличиваем отступ слева до 120px */
    margin-left: 0; /* Убираем автоматический отступ слева */
}

.container {
    max-width: 1200px; /* Устанавливаем максимальную ширину контейнера */
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

/* Стили для логотипа и навигации */
.main-header-area {
    padding: 20px 0;
}

.main-header-area .logo {
    margin-left: 105px; /* Выравниваем логотип с контентом */
}

.main-header-area .classynav ul li a {
    color: #fff;
}

.light .has-down .dd-arrow::after,
.light .has-down .dd-arrow::before {
    background-color: white;
}

/* Добавляем глобальные стили для предотвращения горизонтального скролла */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Исправляем Owl Carousel */
.owl-carousel {
    width: 100%;
    max-width: 100vw;
}

.owl-stage-outer {
    overflow: hidden;
}

@keyframes heroContentSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.badge-text {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.title-line {
    display: block;
    color: white;
}

.title-line.highlight {
    background: linear-gradient(45deg, #e60c3d, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.9s both;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-hero.primary {
    background: linear-gradient(45deg, #e60c3d, #ff4757);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(230, 12, 61, 0.3);
}

.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(230, 12, 61, 0.4);
    color: white;
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-hero.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1s ease-out 1.1s both;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.hero-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
}

.hero-nav-btn:hover {
    background: rgba(230, 12, 61, 0.8);
    border-color: #e60c3d;
    transform: scale(1.1);
}

.hero-nav-btn.prev {
    left: 30px;
}

.hero-nav-btn.next {
    right: 30px;
}

/* Progress Indicators */
.hero-progress {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #e60c3d, #ff4757);
    width: 0%;
    border-radius: 2px;
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #e60c3d;
    transform: scale(1.2);
}

/* Trust Section */
.trust-section {
    background: #fff;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #e60c3d, #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.trust-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        padding: 0 100px 0 100px;
    }

    .main-header-area .logo {
        margin-left: 85px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        padding: 0 90px 0 90px;
    }

    .main-header-area .logo {
        margin-left: 75px;
    }
}

@media (max-width: 768px) {
    /* Мобильная оптимизация */
    .modern-hero-section {
        min-height: 100vh;
        height: auto;
        margin-top: 20px;
    }

    .hero-slide {
        min-height: 100vh;
        height: auto;
        padding: 80px 0 40px;
    }

    .hero-content {
        padding: 0 20px;
        max-width: 100%;
        text-align: center;
    }

    .main-header-area .logo {
        margin-left: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .title-line.highlight {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 30px;
        max-width: 100%;
        padding: 12px 16px;
    }

    .hero-badge {
        margin-bottom: 15px;
    }

    .badge-text {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
        padding: 14px 30px;
        font-size: 15px;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 100%;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .hero-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .hero-nav-btn.prev {
        left: 15px;
    }

    .hero-nav-btn.next {
        right: 15px;
    }

    .hero-progress {
        bottom: 20px;
    }

    .progress-bar {
        width: 150px;
    }

    .trust-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trust-item {
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 15px;
    }

    .title-line.highlight {
        font-size: 1.9rem;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 10px 14px;
        margin-bottom: 25px;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 14px;
        max-width: 260px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 200px;
        margin: 0 auto;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .hero-nav-btn.prev {
        left: 10px;
    }

    .hero-nav-btn.next {
        right: 10px;
    }

    .main-header-area .logo {
        margin-left: 15px;
    }

    .progress-bar {
        width: 120px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .title-line.highlight {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }

    .btn-hero {
        max-width: 240px;
        font-size: 13px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Animation keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
