body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: black; /* all text black */
    overflow-y: scroll;
}

/* Backgrounds */
body.home {
    background: url('./background_light.jpg') no-repeat fixed center top; 
	background-position: center 1px; /* shift down */
	background-attachment: scroll;
}
body.other {
    background: url('./background_dark.jpg') center/cover no-repeat fixed;
}

/* Header - sticky */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    font-size: 20px;
    box-sizing: border-box;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
}

/* Layout: site title left, nav right */
header .site-title {
    margin-right: auto;
}

header nav {
    margin-left: auto;
}

/* Site title */
.site-title a {
    font-size: 32px; /* larger */
    letter-spacing: 2px;
    font-family: 'Abril Fatface', serif;
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease; /* smooth hover effect */
}

    .site-title a:hover {
        color: #6666; /* subtle darkening */
        text-shadow: 0px 0px 4px rgba(0,0,0,0.1); /* soft glow */
        transform: scale(1.10); /* slight zoom */
    }

/* Text abbreviation for mobile */
.title-abbr {
    display: none;
}

/* Navigation */
nav a {
    margin-left: 20px;
    color: black;           /* black text */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease; /* smooth hover effect */
}

/* Hover effect */
nav a:hover {
    color: #6666;            /* subtle darkening */
    text-shadow: 0px 0px 4px rgba(0,0,0,0.1); /* soft glow */
    transform: scale(1.10); /* slight zoom */
}

/* Hamburger menu - hidden on desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hamburger menu active state */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile responsive - tablet and below */
@media (max-width: 1024px) {
    /* Shorten title on tablet */
    .title-full {
        display: none;
    }
    .title-abbr {
        display: inline;
    }
}

/* Mobile responsive - small screens */
@media (max-width: 900px) {
    header {
        padding: 10px 15px;
    }

    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }

    /* Hide nav by default on mobile */
    header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        display: none;
        margin-left: 0;
        border-bottom: 1px solid black;
        padding: 15px 20px;
        box-sizing: border-box;
    }

    /* Show nav when active */
    header nav.active {
        display: flex;
    }

    /* Adjust nav links for mobile */
    header nav a {
        display: block;
        margin: 10px 0;
        margin-left: 0;
        padding: 5px 0;
        border-bottom: 1px solid #eee;
    }

    header nav a:last-child {
        border-bottom: none;
    }

    /* Reduce title font on mobile */
    .site-title a {
        font-size: 24px;
        letter-spacing: 1px;
    }
}

/* Main content */
main {
    text-align: center;
    margin-top: 10px;
}

/* Headings above centered media: make h2 align with the left edge of centered videos */
body.other main h2,
body.home main h2 {
    color: white;
    font-family: 'Crimson Text', 'Times New Roman', Times, serif;
    width: 80%;
    max-width: 900px;
    margin: 16px auto 8px; /* place just above the video and centered block */
    text-align: left; /* left-justify within the video-width block */
}

/* Page title */
.home h1 {
    margin-bottom: 40px;
    font-family: 'Abril Fatface', serif;
    font-size: 42px; /* larger */
    font-weight: bold;
    color: black;
}

.other h1 {
    margin-bottom: 40px;
    font-family: 'Abril Fatface', serif;
    font-size: 42px; /* larger */
    font-weight: bold;
    color: white;
}

div.home_reel_alt
{
	color: #ff0000;
	font-size: 24px;
    margin-top: 30px;
    font-weight: bold;
}
/* Video */
video {
    width: 80%;
    max-width: 900px;
    border: 4px solid black; /* matches text color */
    margin-bottom: 100px; 
}
footer {
    text-align: left;
    padding: 40px 20px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    opacity: 1;
    mix-blend-mode: difference;
}
