/* --- 1. FONT IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Over+the+Rainbow&display=swap');

/* --- 2. GLOBAL VARIABLES --- */
:root {
    --main-bg-color: #b0b9c6;
    --text-color: #000000;
    --link-hover: #333333;
}

/* --- 3. GLOBAL RESET & TYPOGRAPHY --- */
body {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-top: 0;
    margin: 0;
}

a {
    color: var(--text-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 4. HEADER --- */
.custom-header {
    background-color: var(--main-bg-color);
    padding: 30px 5%;
    border-bottom: 2px solid rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.site-title {
    font-weight: 900;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 1px;
    color: #000;
    line-height: 1;
}

.site-tagline {
    font-size: 1rem;
    color: #222;
    margin: 5px 0 0 0;
    font-weight: 500;
}

.nav-link-custom {
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    margin-left: 30px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link-custom:hover {
    color: #444;
}

.nav-link-custom.active {
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
}

.social-icons {
    margin-top: 0; /* FIX: Removed top margin to center align with menu */
}

.social-icons a {
    color: #000;
    font-size: 1.4rem;
    margin-left: 15px;
}

/* --- 5. FOOTER --- */
.site-footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-color);
    opacity: 0.8;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* --- 6. HOMEPAGE SPECIFIC OVERRIDES --- */
body.home-page {
    background-color: #111;
    overflow: hidden; /* FIX: Disable scrolling on home page */
    height: 100vh;    /* FIX: Force full viewport height */
}

/* Header fixes for Home Page */
body.home-page .custom-header {
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

body.home-page .site-title,
body.home-page .site-tagline,
body.home-page .nav-link-custom,
body.home-page .social-icons a,
body.home-page .search-form input {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

body.home-page .search-form input {
    border-color: rgba(255,255,255,0.7);
}

body.home-page .site-title {
    font-size: 1.8rem !important;
}

body.home-page .site-tagline {
    font-size: 0.9rem !important;
    opacity: 0.9;
}

/* Footer Fix for Home Page (Overlay at bottom) */
body.home-page .site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: transparent; /* Remove grey background */
    border-top: none;
    z-index: 10; /* Sit above the background image */
    padding: 20px 0;
}

body.home-page .site-footer p {
    color: rgba(255, 255, 255, 0.6); /* Semi-transparent white text */
    margin: 0;
    font-size: 0.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* --- 7. HERO SECTION, 8. TYPEWRITER QUOTE STYLING, 11. SIGNATURE BLOCK &
   PORTRAIT: removed. These were a pre-EvboOS-redesign hero layout that
   happened to reuse the exact same class names (.hero-container,
   .quote-wrapper, .hero-quote, .signature-block, .kerouac-portrait,
   .hero-quote-author) as the current home.html hero. Since neither ruleset
   ever won cleanly on every property, they silently fought each other —
   e.g. .hero-container's position/height and .kerouac-portrait's margins
   here were overriding/leaking into the current design. home.html defines
   its own complete versions of all of these inline; nothing else in the
   current templates references .hero-fullscreen/.hero-bg-image/.hero-row,
   so removing this block is safe. */

/* --- 9. HOME BLOG SECTION --- */
.home-blog-section {
    background: white;
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.section-title {
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
    color: #000;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: #000;
    margin: 20px auto;
}

/* --- 10. BIO PAGE --- */
.bio-container {
    padding-top: 40px;
    padding-bottom: 80px;
}

.bio-label {
    text-align: right;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    padding-right: 20px;
    color: #000;
}

.bio-content {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #222;
}

@media (max-width: 768px) {
    .bio-label {
        text-align: left;
        margin-bottom: 5px;
        padding-right: 0;
        border-bottom: 1px solid #000;
        display: inline-block;
    }
    .hero-quote {
        font-size: 1.5rem;
    }
}
