/* === VIDEO BACKGROUND (index.html) === */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    object-fit: cover;
}

#horizontalVideo {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

#verticalVideo {
    width: 100vw;
    height: 100vh;
    display: none;
}

.video-background video.fade-out {
    opacity: 0;
}

/* === CENTERED LOGO (index.html) === */
.centered-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.centered-logo.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.centered-logo a {
    display: block;
    transition: transform 0.3s ease;
}

.centered-logo a:hover {
    transform: scale(1.1);
}

.centered-logo img {
    max-height: 156px;
    max-width: 156px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease;
}

/* === RESPONSIVE STYLES (HOME PAGE) === */
@media screen and (orientation: portrait) {
    #verticalVideo {
        object-fit: cover;
        width: 100vw;
        height: 100vh;
        min-width: 100vw;
        min-height: 100vh;
    }
}

@media screen and (orientation: portrait) and (max-aspect-ratio: 9/16) {
    #verticalVideo {
        width: auto;
        height: 100vh;
        min-width: 100vw;
    }
}

@media (max-width: 768px) {
    .centered-logo img {
        max-height: 130px;
        max-width: 130px;
    }
    #home-page .mobile-menu-toggle {
        display: none; /* Hide toggle on home for initial state */
    }
    #home-page .nav-menu {
        position: static;
        transform: none;
        flex-direction: row;
        background: transparent;
        height: auto;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }
    #home-page .nav-menu a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .centered-logo img {
        max-height: 95px;
        max-width: 95px;
    }
    #home-page .nav-menu {
        gap: 1rem;
    }
    #home-page .nav-menu a {
        font-size: 0.8rem;
    }
}