/* C4 Hydroponics Theater Mode Styles */
body.theater-mode {
    margin: 0;
    padding: 0;
    background: #000000;
    color: white;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* Theater Main Content */
.theater-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#theater-video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: #000000;
    outline: none;
}

#theater-video::-webkit-media-controls-panel {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.error-message {
    text-align: center;
    padding: 2rem;
    background: rgba(255,0,0,0.1);
    border: 2px solid #ff6b6b;
    border-radius: 5px;
    margin-top: 1rem;
}

.error-message p {
    margin: 0.5rem 0;
}

.error-message a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #4CAF50;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.error-message a:hover {
    background: #4CAF50;
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .title-section h1 {
        font-size: 1.5rem;
    }
    
    .video-main {
        padding: 1rem;
    }
    
    .back-link {
        font-size: 1rem;
    }
}

/* Hide scrollbars in theater mode */
body.theater-mode::-webkit-scrollbar {
    display: none;
}

body.theater-mode {
    -ms-overflow-style: none;
    scrollbar-width: none;
}