/* Hero Video Section - Фоновое видео */
.hero-video-section {
    position: relative;
    width: 100%;
    min-height: 100vh; /* ✅ Можно менять */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Фоновое видео на всю ширину */
.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Затемнение поверх видео */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px; /* ✅ Добавить отступы */
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: auto; /* ✅ Убрать 100vh */
}

/* Контент слева поверх видео */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    color: white;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    color: #f8f9fa;
}

.hero-description {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    color: #e9ecef;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.hero-button:hover::before {
    left: 100%;
}

.hero-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 184, 148, 0.6);
    text-decoration: none;
    color: white;
}

.hero-button i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-button:hover i {
    transform: rotate(15deg);
}

/* Floating elements */
.floating-element {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 24px;
    animation: lightFloat 8s ease-in-out infinite;
    z-index: 4;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.floating-element:nth-child(2) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(3) {
    top: 20%;
    right: 15%;
    animation-delay: 3s;
}

.floating-element:nth-child(4) {
    bottom: 15%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes lightFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
        opacity: 0.5;
    }
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
    .hero-container {
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .hero-video-section {
        min-height: 80vh;
    }

    .hero-container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .floating-element {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-video-section {
        min-height: 70vh;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-button {
        padding: 14px 24px;
        font-size: 14px;
    }

    .floating-element {
        font-size: 18px;
    }
}