/*
Theme Name: ForestGlow
Theme URI: http://dependablycassandra.ca/forestglow
Author: Dependably Cassandra
Author URI: http://dependablycassandra.ca
Description: A minimal theme with a focus on simplicity and elegance.
Version: 1.0
Text Domain: forestglow
*/

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Main Content Font */
body {
    font-family: 'Source Sans Pro', sans-serif; /* Default font for body text */
}

.landing-title, h3 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1; /* Matches line height for exact font sizing */
}

.site-name, h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    font-weight: absolute;
    color: #ffffff;
    line-height: 1; /* Matches line height for exact font sizing */
}

/* Layout for Content and Wrapper */
.content-wrapper {
    padding-top: 100px; /* Adds space to offset the fixed header */
    flex: 1; /* Ensures content takes available space */
    padding-bottom: 200px; /* Adds space before the footer */
    padding-left: 80px; /* Adds padding on the left */
    padding-right: 80px; /* Adds padding on the right */
}



/* Header Styling */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent black */
    z-index: 1000;
    padding: 20px 5%; /* Adjusted padding for responsiveness */
    display: flex;
    align-items: center;
    justify-content: space-between; /* Keeps title and menu apart but centered */
}

/* Mobile Menu */
	@media (hover: none) and (pointer: coarse) {
	.desktop-menu { display: none; }	/* Hides Desktop Menu */
	.mobile-menu { display: none; }		/* Shows Mobile Menu */
	.hamburger { display: flex; }
	}

	.hamburger {
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
	    }

    .hamburger span {
        width: 28px;
        height: 3px;
        background: #fff;
        display: block;
    }

    .mobile-menu.is-open {
        display: block;
    }

/* Desktop Menu */
@media (hover: hover) and (pointer: fine) {
.desktop-menu { display: block; }	/* Shows Desktop Menu */
.mobile-menu { display: none; }		/* Hides Mobile Menu */
.hamburger { display: none; }
}

.desktop-menu {
    list-style: none;
    gap: 20px;
    margin-right: 20px; /* Add margin to right if needed */
}

.desktop-menu li {
    display: inline;
}

.desktop-menu li a {
    color: #ffffff; /* White */
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.3s;
}

.desktop-menu li a:hover {
    color: #dddddd; /* Light grey on hover */
}


/* Landing Page Text */
.landing-page-text {
    text-align: center;
    color: #ffffff;
    padding: 40px 20px; /* Adjust padding for better spacing */
    max-width: 80%; /* Limit width for better alignment */
    margin: 0 auto; /* Center align the section */
	font-size: 1.5rem;
    line-height: 3;
}

/* Spacer */
.landing-spacer {
    height: 55px;
}

/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7); /* Matches header background */
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: auto; /* Ensures it sticks at the bottom */
}

/* Video Background Styling */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensures video stays behind content */
    overflow: hidden;
}

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

/* Content Formatting */
.main-content,
.post-content {
    padding: 20px;
    color: #ffffff; /* Ensures page content text is white */
}

.post h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff; /* White for post titles */
}

.post-content {
    font-size: 1.5rem;
    line-height: 1;
}

/* Ensure Footer stays at the bottom of the page */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Content Wrapper Styling */
.content-wrapper {
    flex: 1; /* Ensures the content takes up available space */
    padding-bottom: 200px; /* Adjust this value to add more space before the footer */
}

/* Footer Positioning */
footer {
    flex-shrink: 0; /* Prevents the footer from shrinking */
    position: relative; /* Ensures it stays below content */
}

/* Hide the 'Home' title on the homepage */
.home .post h2 {
    display: none;
}

/* Fade Overlay */
.fade-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 500px; /* Adjust the height to control how much of the fade shows */
    pointer-events: none; /* Ensures it doesn't interfere with any content below */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 2.5) 100%);
    z-index: 1; /* Ensure it appears above the video background but below other content */
}

/* Footer Adjustment */
footer {
    position: relative;
    z-index: 2; /* Ensures footer content appears above the fade overlay */
}

