/* Shared styles for program pages */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #1E140D;
    color: #D6B48A;
    line-height: 1.6;
}

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

button, a {
    font-family: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1E140D; }
::-webkit-scrollbar-thumb { background: #8B5E3C; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #C9A46C; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.5s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(62, 42, 28, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-logo:hover .logo-img {
    box-shadow: 0 0 0 2px #C9A46C;
}

.logo-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(201, 164, 108, 0.6);
    transition: box-shadow 0.3s ease;
}

.logo-text { display: none; }

@media (min-width: 640px) {
    .logo-text { display: block; }
}

.logo-title {
    font-family: 'Cinzel', serif;
    color: #C9A46C;
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}

.logo-subtitle {
    color: rgba(214, 180, 138, 0.8);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(214, 180, 138, 0.8);
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover,
.nav-link-active {
    color: #C9A46C;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #C9A46C;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

.btn-primary {
    margin-left: 1rem;
    padding: 0.5rem 1.25rem;
    background: #C9A46C;
    color: #1E140D;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
    display: inline-block;
}

a.nav-link,
a.btn-primary,
a.nav-mobile-link,
a.nav-mobile-btn {
    text-decoration: none;
}

.btn-primary:hover {
    background: #DEC08E;
}

.nav-mobile-toggle {
    display: block;
    padding: 0.5rem;
    color: #D6B48A;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .nav-mobile-toggle { display: none; }
}

.nav-mobile {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.4s ease;
    background: rgba(62, 42, 28, 0.98);
    backdrop-filter: blur(12px);
}

.nav-mobile.open {
    max-height: 28rem;
    opacity: 1;
}

.nav-mobile-inner {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(201, 164, 108, 0.2);
}

.nav-mobile-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    color: rgba(214, 180, 138, 0.8);
    border-bottom: 1px solid rgba(139, 94, 60, 0.2);
    transition: color 0.3s ease;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
}

.nav-mobile-link:hover,
.nav-mobile-link-active {
    color: #C9A46C;
}

.nav-mobile-btn {
    display: block;
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: #C9A46C;
    color: #1E140D;
    font-weight: 600;
    border-radius: 2px;
    text-align: center;
    transition: background 0.3s ease;
}

.nav-mobile-btn:hover {
    background: #DEC08E;
}

/* Program page layout */
.program-page {
    position: relative;
    padding: 7rem 0 6rem;
    background: linear-gradient(180deg, #1E140D 0%, #2A1A10 50%, #1E140D 100%);
    overflow: hidden;
    min-height: 100vh;
}

.pattern-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    mix-blend-mode: multiply;
    background-size: cover;
    background-position: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: #C9A46C;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #EDD9B8;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.75rem; }
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.divider-line {
    width: 3rem;
    height: 1px;
    background: rgba(201, 164, 108, 0.5);
}

.divider-icon {
    color: #C9A46C;
    font-size: 1.25rem;
}

.program-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(201, 164, 108, 0.75);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.program-back-link:hover {
    color: #C9A46C;
}

.program-page-hero {
    margin-bottom: 3rem;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(201,164,108,0.25);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.program-page-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.program-mission-block {
    max-width: 48rem;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding: 2rem;
    border-radius: 2px;
    background: linear-gradient(160deg, rgba(90,58,36,0.35), rgba(30,20,13,0.75));
    border: 1px solid rgba(201,164,108,0.25);
}

.program-mission-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: rgba(237, 217, 184, 0.95);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.program-mission-text {
    color: rgba(214, 180, 138, 0.8);
    font-size: 0.9375rem;
    line-height: 1.75;
}

.program-coming-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: rgba(201, 164, 108, 0.7);
    border: 1px solid rgba(201, 164, 108, 0.2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nonprofit-program-block {
    padding: 2rem;
    border-radius: 2px;
    background: linear-gradient(160deg, rgba(90,58,36,0.4), rgba(30,20,13,0.85));
    border: 1px solid rgba(201,164,108,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .nonprofit-program-block { padding: 2.5rem 3rem; }
}

.nonprofit-program-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nonprofit-program-title {
    font-family: 'Cinzel', serif;
    color: #EDD9B8;
    font-size: 1.25rem;
    line-height: 1.35;
    max-width: 32rem;
}

@media (min-width: 640px) {
    .nonprofit-program-title { font-size: 1.5rem; }
}

.nonprofit-program-lead {
    color: rgba(214, 180, 138, 0.85);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.nonprofit-program-subtitle {
    font-family: 'Cinzel', serif;
    color: #C9A46C;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.nonprofit-feature-list {
    list-style: none;
    display: grid;
    gap: 0.625rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .nonprofit-feature-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 1.5rem;
    }
}

.nonprofit-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(214, 180, 138, 0.75);
    font-size: 0.875rem;
    line-height: 1.5;
}

.nonprofit-feature-list li::before {
    content: "→";
    color: #C9A46C;
    flex-shrink: 0;
    font-weight: 600;
}

.nonprofit-founder-note {
    padding: 1.25rem 1.5rem;
    border-radius: 2px;
    border-left: 3px solid #C9A46C;
    background: rgba(30, 20, 13, 0.5);
}

.nonprofit-founder-note p {
    color: rgba(214, 180, 138, 0.8);
    font-size: 0.875rem;
    line-height: 1.7;
}

.nonprofit-peter-section {
    max-width: 48rem;
    margin: 0 auto 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    border-radius: 2px;
    background: linear-gradient(135deg, #5A3A24 0%, #3E2A1C 50%, #2A1A10 100%);
    border: 1px solid rgba(201,164,108,0.3);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.nonprofit-peter-title {
    font-family: 'Cinzel', serif;
    color: #EDD9B8;
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
}

.nonprofit-peter-text {
    color: rgba(214, 180, 138, 0.8);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.nonprofit-peter-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.125rem;
    color: rgba(237, 217, 184, 0.9);
    line-height: 1.65;
    max-width: 40rem;
    margin: 1.5rem auto 0;
}

.nonprofit-cta-block {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border-radius: 2px;
    border: 1px solid rgba(201,164,108,0.3);
    background: rgba(30, 20, 13, 0.6);
}

.nonprofit-cta-text {
    color: rgba(214, 180, 138, 0.85);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.nonprofit-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid #C9A46C;
    color: #C9A46C;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nonprofit-cta:hover {
    background: rgba(201, 164, 108, 0.1);
}

/* Footer */
footer {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #1E140D 0%, #0F0A06 100%);
}

.footer-border {
    height: 4px;
    background: linear-gradient(90deg, transparent, #C9A46C, #8B5E3C, #C9A46C, transparent);
}

.footer-pattern {
    height: 4rem;
    opacity: 0;
    background-size: cover;
    background-position: top;
}

.footer-content {
    padding: 4rem 1rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 2.5rem;
        align-items: start;
    }
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px #C9A46C, 0 8px 24px rgba(0,0,0,0.5);
}

.footer-logo-text-title {
    font-family: 'Cinzel', serif;
    color: #C9A46C;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
}

.footer-logo-text-subtitle {
    color: rgba(214, 180, 138, 0.6);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: rgba(237, 217, 184, 0.9);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(214, 180, 138, 0.55);
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 28rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    padding: 0.375rem 0.75rem;
    border-radius: 2px;
    font-size: 0.75rem;
    color: rgba(214, 180, 138, 0.5);
    border: 1px solid rgba(139, 94, 60, 0.3);
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    border-color: rgba(201, 164, 108, 0.5);
    color: rgba(201, 164, 108, 0.7);
}

.footer-section-title {
    font-family: 'Cinzel', serif;
    color: #C9A46C;
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-nav-list,
.footer-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-link {
    color: rgba(214, 180, 138, 0.6);
    font-size: 0.875rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-nav-link:hover {
    color: #C9A46C;
}

.footer-services-list {
    color: rgba(214, 180, 138, 0.6);
    font-size: 0.875rem;
}

.footer-hours {
    margin-top: 2rem;
}

.footer-hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(214, 180, 138, 0.55);
    font-size: 0.75rem;
}

.footer-divider {
    height: 1px;
    background: rgba(139, 94, 60, 0.2);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright,
.footer-tagline-small {
    color: rgba(214, 180, 138, 0.4);
    font-size: 0.75rem;
}

.footer-tagline-small {
    color: rgba(214, 180, 138, 0.35);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    color: rgba(214, 180, 138, 0.4);
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: rgba(201, 164, 108, 0.5);
}

.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-sm {
    width: 16px;
    height: 16px;
}
