/* Main Content Layout */
.main-content {
    margin-top: 80px; /* Account for fixed nav */
    background-color: #000; /* Ensure black background */
}

/* Page Sections */
.page-section {
    display: none;
}

.page-section.active {
    display: block;
}

/* Video Groups Container */
.video-groups-container {
    width: 100%;
}

.video-group {
    width: 70%; /* Scale down videos to 70% of screen width */
    max-width: 1200px; /* Maximum width for very large screens */
    margin: 0 auto; /* Center the videos */
    position: relative;
    overflow: hidden;
    margin-bottom: 2px; /* Tiny gap between groups for visual separation */
    aspect-ratio: 16/9; /* Maintain consistent aspect ratio */
    background-color: #000; /* Black background during transitions */
}

.video-group video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Loading and Error States */
.loading-placeholder {
    width: 100%;
    height: 60vh;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
}

.error-message {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
    background: #222;
}

/* Placeholder Content for Other Pages */
.placeholder-content {
    padding: 40px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.placeholder-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.placeholder-content p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    line-height: 1.6;
}
