.video-gallery {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

.video-preview {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.brand-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}

.video-overlay h3 {
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-overlay p {
    color: #ccc;
    font-size: 1.1em;
}

.play-button {
    font-size: 3em;
    margin-bottom: 20px;
    transition: transform 0.2s ease;
}

.video-card.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-card.playing:hover .video-overlay {
    opacity: 1;
    background: rgba(0,0,0,0.5);
}

.video-controls {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: rgba(255,255,255,0.1);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.time {
    color: #888;
    font-size: 0.9em;
    min-width: 80px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-preview {
        height: 250px;
    }
}
.video-controls {
    padding: 15px 20px;
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255,255,255,0.1);
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    min-width: 100px;
}

.volume-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.volume-controls:hover .volume-slider {
    opacity: 1;
}

.fullscreen-btn {
    margin-left: auto;
}

.time {
    color: #888;
    font-size: 0.85em;
    min-width: 90px;
    font-family: monospace;
}

/* Стили для полноэкранного режима */
.video-card.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: black;
    border-radius: 0;
}

.video-card.fullscreen .video-preview {
    height: calc(100vh - 80px);
}

.video-card.fullscreen .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
}

/* Стили для скрытия контролов */
.video-controls {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.video-overlay {
    transition: opacity 0.3s ease;
}

.video-card.playing .video-overlay.hidden {
    opacity: 0;
}

/* В полноэкранном режиме контролы поверх видео */
.video-card.fullscreen .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    z-index: 10;
}

.video-card.fullscreen .video-preview {
    height: 100%;
}

/* Hero секция */
.heritage-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 0 40px; /* Уменьшил верхний и нижний паддинг */
    text-align: center;
    position: relative;
}

.heritage-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.heritage-hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px; /* Уменьшил отступ */
}

.heritage-hero p {
    font-size: 1.3em;
    color: #ccc;
    margin-bottom: 15px; /* Сильно уменьшил отступ */
}

.scroll-indicator {
    position: relative; /* Меняем на относительное позиционирование */
    margin-top: 20px; /* Отступ от текста */
    color: #888;
    font-size: 0.9em;
}


.arrow {
    font-size: 1.5em;
    margin-top: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Введение */
.heritage-intro {
    padding: 80px 0;
    background: rgba(255,255,255,0.02);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
}

.intro-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.number {
    display: block;
    font-size: 3em;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 10px;
}

.label {
    color: #888;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Видео галерея */
.video-gallery {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 50px;
    font-size: 1.1em;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand-logo {
    width: 40px;
    height: 40px;
    border: 2px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.video-info {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.video-info p {
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Хронология */
.timeline-section {
    padding: 80px 0;
    background: rgba(255,255,255,0.02);
}

.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #d4af37;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    margin-right: 40px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border-left: 3px solid #d4af37;
}

.timeline-content h4 {
    margin: 0 0 10px 0;
    color: #fff;
}

.timeline-content p {
    color: #ccc;
    margin: 0;
    line-height: 1.5;
}

/* CTA секция */
.heritage-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.heritage-cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.heritage-cta p {
    color: #ccc;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #e6c44c;
    transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .heritage-hero h1 {
        font-size: 2.5em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-year {
        width: 50px;
        height: 50px;
        margin-right: 20px;
    }
}