﻿/* Reset */
html, body {
    height: 100%;
    margin: 0;
}

/*body {
    background: url('/Images/Helping Hands Poster.jpg') no-repeat center center fixed;
    background-size: cover;*/ /* or contain */
    /*position: relative;
}

    body::before {
        content: "";
        position: fixed;*/ /* stays still */
        /*top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.75);*/ /* adjust opacity */
        /*pointer-events: none;
        z-index: -1;*/ /* stays behind all content */
    /*}*/

/* Fixed header */
/* Header container */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px; /* your existing height */
    background: #8EC6E8; /*#5FA8A7;*/
    color: black;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-sizing: border-box;
}

/* Inner flex wrapper */
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px; /* space between logo and text */
}

/* Logo sizing */
.header-logo {
    height: 90%; /* almost the full header height */
    max-height: 90px; /* safety cap */
    width: auto;
}

/* Title styling */
.header-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center; /* ensures perfect vertical centering */
}

:root {
    --footer-height: 220px; /* adjust to match your actual footer */
}


/* Fixed footer */
#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px; /* adjust as needed */
    background: #2c3e50;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.footer-link {
    color: #a8d0ff;
    text-decoration: none;
}

    .footer-link:hover {
        text-decoration: underline;
    }

/* Wrapper for nav + content */
#body-wrapper {
    position: fixed;
    top: 100px; /* header height */
    bottom: 60px;
    left: 0;
    right: 0;
    display: flex;
    overflow: hidden;
}

/* Left navigation */
#nav {
    width: 220px;
    background: #B7DDF2; 
    color: black;
    padding: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    overflow-y: auto;
    font-size: 1.5em;
}

    #nav a {
        display: block;
        color: black;
        padding: 8px 0;
        text-decoration: none;
    }

        #nav a:hover {
            text-decoration: underline;
        }

#content-center {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;   
    overflow-y: auto;
}

    #content-center::before {
        content: "";
        position: fixed;
        top: 100px; /* header height */
        left: 0;
        right: 0;
        height: calc(100vh - 160px); /* same height as the image */
        background: rgba(255, 255, 255, 0.80); /* adjust transparency */
        z-index: -1; /* above image, below content */
        pointer-events: none;
    }

/* Background image element */
.bg-image {
    position: fixed;
    top: 100px; /* header height */
    height: calc(100vh - 200px); /* viewport minus header/footer */
    width: auto;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.35; /* adjust transparency */
    z-index: -2;
}

/* Left image */
#bg1 {
    left: 30%;
    transform: translateX(-50%);
}

/* Right image */
#bg2 {
    left: 80%;
    transform: translateX(-50%);
}

/* Main content */
#maincontent {
    width: 60%;
    max-width: 60%;
    padding: 20px;
    /* Background behavior */
    /*background: url('/Images/Helping Hands Poster.jpg') no-repeat center center;
    background-size: auto 100%;*/ /* Fit height exactly */
    background-attachment: fixed; /* Keep image fixed while content scrolls */
    background-color: transparent;
    position: relative;
    overflow-y: auto;
    box-sizing: border-box;
}

/*    #maincontent::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        z-index: 0;
    }
*/
    #maincontent > * {
        position: relative;
        z-index: 1;
    }

    #MainContent h1 {
        margin-top: 0;
        font-size: 2rem;
        color: #2c3e50;
    }

    #MainContent h2 {
        margin-top: 30px;
        color: #2c3e50;
    }

    #MainContent p,
    #MainContent li {
        font-size: 1rem;
        line-height: 1.6;
    }

    #MainContent hr {
        margin: 30px 0;
        border: 0;
        border-top: 1px solid #ccc;
    }

.hero {
    padding: 20px;
    margin-bottom: 30px;
}

.hero-headline {
    margin-top: 0;
    font-size: 2.2rem;
    color: #2c3e50;
    font-weight: 700;
}

.hero-subheadline {
    font-size: 1.3rem;
    line-height: 1.7;
    margin: 20px 0 30px 0;
    color: #333;
}

.hero-button {
    display: inline-block;
    background: #2c7be5;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

    .hero-button:hover {
        background: #1b5fb8;
    }

.super-hero-headline {
    margin-top: 0;
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 800;
}

/*About.aspx*/
.experience-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px 80px;
    box-sizing: border-box;
}

.experience-section {
    background: transparent;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.8s ease-out;
}


    .experience-section h1 {
        font-size: 2.4rem;
        font-weight: 700;
        color: #1f3b57;
        text-align: center;
        margin-bottom: 30px;
        letter-spacing: 0.5px;
    }

    .experience-section h2 {
        font-size: 1.7rem;
        font-weight: 700;
        color: #2c4d6e;
        margin-top: 45px;
        margin-bottom: 15px;
        border-left: 6px solid #2c7be5;
        padding-left: 12px;
    }

    .experience-section p {
        font-size: 1.15rem;
        line-height: 1.85;
        color: #333;
        margin-bottom: 22px;
    }

.experience-quote {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1b4d6e;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    border-left: 6px solid #2c7be5;
    border-radius: 8px;
    margin: 35px 0;
}


.experience-section ul {
    margin: 20px 0 30px 20px;
    padding: 0;
}

    .experience-section ul li {
        font-size: 1.15rem;
        line-height: 1.75;
        margin-bottom: 10px;
        color: #2c3e50;
    }

.experience-quote {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1b4d6e;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    border-left: 6px solid #2c7be5;
    margin: 35px 0;
    border-radius: 8px;
}

/*Paths.aspx*/
.paths-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px 80px;
    box-sizing: border-box;
}

.support-section {
    background: transparent;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.08);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.8s ease-out;
}

    .support-section h1 {
        font-size: 2.4rem;
        font-weight: 700;
        color: #1f3b57;
        text-align: center;
        margin-bottom: 30px;
        letter-spacing: 0.5px;
    }

    .support-section h2 {
        font-size: 1.7rem;
        font-weight: 700;
        color: #2c4d6e;
        margin-top: 45px;
        margin-bottom: 15px;
        border-left: 6px solid #2c7be5;
        padding-left: 12px;
    }

    .support-section p {
        font-size: 1.15rem;
        line-height: 1.85;
        color: #333;
        margin-bottom: 22px;
    }

.support-highlight {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px 25px;
    border-left: 6px solid #2c7be5;
    border-radius: 8px;
    margin: 35px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1b4d6e;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.support-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #2c7be5;
    margin-top: 8px;
    border-radius: 2px;
}

.support-icon {
    font-size: 1.6rem;
    color: #2c7be5;
    margin-right: 10px;
}

/*Media Page*/
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.media-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .media-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    }

.media-thumb {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.media-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2a4d7a;
    margin-bottom: 8px;
}

.media-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.4;
}

.media-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    color: #1d3a5c;
    text-decoration: none;
}

    .media-link:hover {
        text-decoration: underline;
    }


.media-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
}

.media-modal-content {
    position: absolute; /* detach from page flow */
    top: 20px; /* distance from top of screen */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.85);
    padding: 20px;
    border-radius: 14px;
    width: 90%;
    max-width: 1400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.media-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

    .media-close:hover {
        color: #000;
    }

.media-modal iframe,
.media-modal img {
    width: 100%;
    border-radius: 10px;
}

.media-modal iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
}

