/* ---- CORE STYLES APPLIED TO ALL PAGES ---- */

html {
    scroll-behavior: smooth;
}

/* ---- COLOR & FONT VARIABLES ---- */
:root {
    --primary-dark-gray: #494949;
    --primary-purple: #827397;
    --neutral-light-bg: #F4F4F9;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
}

/* ---- BASIC PAGE RESETS & STYLES ---- */
body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--neutral-light-bg);
    color: var(--primary-dark-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* ---- NAVIGATION BAR STYLES ---- */
header {
    background-color: var(--white);
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 15px rgba(130, 115, 151, 0.1),
                0 2px 5px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: 0 6px 25px rgba(130, 115, 151, 0.12);
}

header.scrolled {
    padding: 0.4rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

header.scrolled .nav-logo img {
    height: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo img {
    height: 50px;
    transition: height 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-dark-gray);
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-purple);
}

/* ---- GENERIC PAGE STYLES (for youth.html, etc.) ---- */
.page-header {
    position: relative;
    color: var(--white);
    padding: 5rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6a5b7d 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(244, 244, 249, 0.3) 0%, var(--neutral-light-bg) 100%);
    pointer-events: none;
    z-index: 2;
}

.page-header h1 {
    margin: 0;
    font-size: 3rem;
    position: relative;
    z-index: 3;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.page-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* ---- FOOTER STYLES ---- */
footer {
    background-color: var(--primary-dark-gray);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ---- CALENDAR & GIVE PAGE STYLES ---- */
.calendar-container {
    margin-top: 2rem;
    text-align: center;
}

.calendar-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(130, 115, 151, 0.12),
                0 4px 15px rgba(0, 0, 0, 0.06);
}

.give-container {
    text-align: center;
}

.donation-options {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.donation-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(130, 115, 151, 0.12),
                0 4px 15px rgba(0, 0, 0, 0.08);
    flex-basis: 400px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(130, 115, 151, 0.1);
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), #6a5b7d);
    z-index: 1;
}

.donation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(130, 115, 151, 0.18),
                0 8px 25px rgba(0, 0, 0, 0.12);
}

.donation-card h3 {
    font-size: 1.8rem;
    color: var(--primary-purple);
    margin-top: 0;
    margin-bottom: 1rem;
}

.donation-card p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple) 0%, #6a5b7d 100%);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(130, 115, 151, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(130, 115, 151, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}