/* Полноэкранный видео блок */
.video-hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - 4rem);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.video-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 1200px;
}

.video-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

/* Индикатор прокрутки */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.project-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.project-header {
    margin-bottom: 0rem;
    text-align: left;
}

.project-description-full {
    max-width: 800px;
    margin: 0 auto;
}

.project-description-full .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.project-back-link {
    text-align: center;
    margin: 3rem 0 2rem;
}

a.btn-back {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-back:hover {
    background: #333;
    color: #fff;
}

.project-details {
    display: grid;
    grid-template-columns: 125px auto;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 100;
    padding-bottom: 2rem;
}

.project-details-title {
    color: #AAA;
    padding-right: 0.5rem;
}

/* Вертикальная ориентация на мобильных */
@media (max-width: 768px) {
    .video-hero-section {
        height: calc(100vh - 6rem);
        min-height: calc(100vh - 6rem);
    }
    
    .video-title {
        font-size: 2rem;
        padding: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 20px;
        height: 20px;
    }
    
    .project-description-full {
        margin: 1rem auto;
    }
    
    .project-description-full .description {
        font-size: 1rem;
    }
}

/* Горизонтальная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .video-hero-section {
        height: calc(100vh - 3rem);
        min-height: calc(100vh - 3rem);
    }
    
    .video-title {
        font-size: 1.8rem;
        padding: 0.5rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
}

/* Планшеты в портретной ориентации */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
    .video-hero-section {
        height: calc(100vh - 4rem);
    }
    
    .video-title {
        font-size: 2.5rem;
    }
}

/* Планшеты в горизонтальной ориентации */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .video-hero-section {
        height: calc(100vh - 3rem);
    }
    
    .video-title {
        font-size: 3rem;
    }
}

