/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bahnschrift', sans-serif;
}

/* Full-screen Background with White Base */
body {
    background-color: white;
}

/* Full-screen Video Background */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

/* Ensure video fills screen and crops from the top */
video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    opacity: 0.5; /* 50% opacity */
    transition: opacity 1s ease-in-out;
}

/* White Vignette + Linear Fade from Edges */
.video-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.9) 80%),
                linear-gradient(to bottom, white, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 60%, white);
    z-index: 2;
}

/* Top Controls: Play/Pause & Contact */
.top-controls {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 3;
}

/* Contact & Play/Pause Buttons (Same Style & Alignment) */
.contact-button,
#playPauseBtn {
    font-size: 1rem;
    color: black;
    text-decoration: none;
    background: transparent;
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
    text-align: center;
    transition: 0.3s;
}

.contact-button:hover,
#playPauseBtn:hover {
    background: black;
    color: white;
}

/* Title Section */
.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Main Title */
h1 {
    font-size: 9rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    text-shadow: -2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Undertext */
.undertext {
    text-align: center;
    color: white;
    text-transform: uppercase;
    max-width: 80%;
    margin: 10px auto 0;
    line-height: 2.0;
    text-shadow: -2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Enlarged "Augmented Geomapping" */
.undertext .highlight {
    font-size: 1.6rem;
    font-weight: bold;
}

/* Smaller "FOR NEXT-GENERATION..." */
.undertext .subtext {
    font-size: 1.0rem;
    font-weight: bold;
}


/* Small Italic "Patent Pending" */
.patent {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}

/* Bottom Buttons */
.button-group {
    position: absolute;
    bottom: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px; /* Reduced spacing for four buttons */
    z-index: 3;
}

/* Buttons (All Same Size) */
button {
    font-size: 1.5rem;
    color: black;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid black;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 120px;
    text-align: center;
}

button:hover {
    background: black;
    color: white;
}
