/*
Theme Name: Video Background
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A minimal WordPress theme with a full-screen looping video background.
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: video-bg
*/

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
}

/* ---------- Video background ---------- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    background: #000;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Optional dark overlay so text stays readable over the video */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}

/* ---------- Layout ---------- */
.site-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-footer {
    padding: 24px 5%;
    text-align: center;
}

.site-header .site-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
}

.site-header .site-title a {
    color: #ffffff;
    text-decoration: none;
}

.site-header .site-description {
    margin: 4px 0 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

.site-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
}

.content-inner {
    max-width: 720px;
    text-align: center;
    background: rgba(0, 0, 0, 0.25);
    padding: 32px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

.content-inner h1,
.content-inner h2 {
    margin-top: 0;
}

.content-inner a {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer {
    font-size: 0.85rem;
    opacity: 0.75;
}

@media (max-width: 600px) {
    .content-inner {
        padding: 20px;
    }
}
