/* 1. RESET AND CORE STYLES */
* {
    margin: 0;
    padding: 0;
    box-box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #000000;
    overflow-x: hidden;
}

/* 2. VIDEO BACKGROUND CONTROLS */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Pushes video behind text */
    overflow: hidden;
    background-color: #111111; /* Fallback color while video loads */
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces video to fill screen without stretching */
}

/* 3. CONTENT OVERLAY & LAYOUT */
.content-overlay {
    position: relative;
    z-index: 1; /* Places content on top of video */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4); /* Dark dimming layer to make text readable */
    padding: 2rem;
}

/* 4. NAVIGATION BAR */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #00adb5; /* Highlight color on hover */
}

/* 5. MAIN CONTENT */
main {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

main h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

main p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* 6. FOOTER */
footer {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}
