/* General Styles */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a;
    color: white;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;   /* modern browsers */
    min-height: 100vh;
    height: auto;
    padding: 40px 0 60px 0;
    transition: background 1s ease-in-out;
}

/* Fallback for browsers that don’t support "safe center" */
@supports not (justify-content: safe center) {
    body {
        justify-content: center;
    }
}

/* Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Stripes */
.navigation {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Sleek Semi-Transparent Stripes */
.stripe {
    width: 260px;
    height: 33px;
    text-align: left;
    background: rgba(255, 255, 255, 0.07); /* Semi-transparent glass effect */
    backdrop-filter: blur(8px); /* Soft Blur Effect */
    color: white;
    font-size: 18px;
    padding-left: 15px;
    line-height: 33px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.6s ease-in-out; /* Longer transition for smooth effect */
    font-weight: 400;
    position: relative;
}

/* Smoother Hover Glow Effect */
.stripe:hover {
    transform: scale(1.1) translateX(5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Stripe Colors */
.stripe:nth-child(1):hover { box-shadow: 0 0 20px rgba(255, 100, 0, 0.9); } /* Orange */
.stripe:nth-child(2):hover { box-shadow: 0 0 20px rgba(150, 0, 255, 0.9); } /* Purple */
.stripe:nth-child(3):hover { box-shadow: 0 0 20px rgba(0, 150, 255, 0.9); } /* Blue */

/* Home Button Glow Effect */
.home-button {
    color: white !important;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1) !important;
    transition: all 0.6s ease-in-out;
}

/* Sections */
#content {
    width: 80%;
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.section {
    display: none;
    padding: 20px 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Background Fade Transition */
body.transitioning {
    background-color: black !important;
    transition: background 1s ease-in-out;
}

/* Hide Video When Navigating */
.video-hidden {
    opacity: 0 !important;
    transition: opacity 1s ease-in-out;
}

img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}

/* Better link visibility on dark background */
#future a {
    color: #8fd3ff;
    text-decoration: underline;
    font-weight: 500;
}

#future a:hover {
    color: #c5e9ff;
}
/* Better text size under the images */
.section p {
    font-size: 1.25rem;      /* ≈ 20px */
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
/* Smart vertical centering + proper scrolling */
body {
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;   /* modern browsers */
    padding: 40px 0 60px 0;
}

/* Fallback for browsers that don't support "safe center" */
@supports not (justify-content: safe center) {
    body {
        justify-content: center;
    }
}
/* ========== MOBILE ONLY ========== */
@media (max-width: 900px) {

    /* Navigation becomes horizontal at the top */
    .navigation {
        position: fixed;
        top: 15px;
        left: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
        z-index: 100;
    }

    .stripe {
        width: auto;
        min-width: 110px;
        height: 36px;
        font-size: 14px;
        padding: 0 12px;
        line-height: 36px;
        text-align: center;
        border-radius: 20px;
    }

    /* Content adjustments */
    #content {
        width: 92%;
        max-width: 100%;
        margin-top: 70px; /* space for the top navigation */
    }

    .section {
        padding: 20px 10px;
    }

    img {
        max-width: 100%;
        margin-top: 15px;
    }

    .section p {
        font-size: 1.1rem;
        padding: 0 5px;
    }

    /* Body padding for mobile */
    body {
        padding: 20px 0 40px 0;
    }
}
