/* ========================================
   QUIVER INTERNATIONAL - STYLESHEET
   Light Professional Theme
   ======================================== */

/* CSS Variables - Warm Brown/Tan Palette */
:root {
    --color-primary: #8B5A2B;
    --color-primary-dark: #5D3A1A;
    --color-primary-light: #A0724A;
    --color-secondary: #1A1A1A;
    --color-accent: #C4A574;
    --color-accent-dark: #A68B5B;
    --color-text: #2D2D2D;
    --color-text-light: #5A5A5A;
    --color-background: #FDFCFA;
    --color-background-alt: #F7F5F0;
    --color-background-warm: #F3EDE4;
    --color-border: #E5DED3;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.04);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-secondary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

a:hover {
    color: var(--color-primary-dark);
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

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

.navbar.scrolled {
    background-color: var(--color-background);
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-secondary);
}

.logo-accent {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    color: var(--color-primary);
    margin-left: -0.25rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    color: var(--color-secondary);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition);
}

/* Hero Section - Light Theme */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #FDFCFA 0%, #F3EDE4 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23C4A574" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    color: var(--color-secondary);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero .btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.hero .btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

.hero .btn-outline {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.hero .btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

/* Page Hero - Light Theme */
.page-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(180deg, #FDFCFA 0%, #F3EDE4 100%);
    text-align: center;
}

.page-hero h1 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--color-text);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header.light h2,
.section-header.light .section-subtitle {
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

/* About Section */
.about {
    background-color: var(--color-background-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-text);
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.stat-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.stat-card h3 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.program-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.program-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.program-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Featured program highlight */
.program-card.featured {
    border-color: var(--color-accent);
    border-width: 2px;
}

.program-card.featured .program-icon {
    color: var(--color-accent);
}

/* Impact Section */
.impact {
    background: linear-gradient(135deg, #5D3A1A 0%, #1A1A1A 100%);
    color: white;
}

.impact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.impact-text blockquote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.impact-text cite {
    display: block;
    font-style: normal;
    font-size: 1rem;
    color: var(--color-accent);
    margin-top: 0.5rem;
}

.impact-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta {
    background-color: var(--color-background-warm);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-item a,
.contact-item p {
    color: var(--color-text-light);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--color-primary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-secondary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 90, 43, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer .logo-text {
    color: white;
}

.footer .logo-accent {
    color: var(--color-accent);
}

.footer h4 {
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Give Page Styles */
.give-section {
    background-color: var(--color-background-alt);
}

.give-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.give-info h2 {
    margin-bottom: 1rem;
}

.give-info > p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.give-impact {
    margin-bottom: 2rem;
}

.give-impact h3 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.impact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.impact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.impact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.impact-list span:last-child {
    color: var(--color-text);
}

.tax-info {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-accent);
}

.tax-info p:first-child {
    margin-bottom: 0.5rem;
}

.tax-info .ein {
    font-family: monospace;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.give-form-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 500px;
}

.giving-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 3rem;
    text-align: center;
}

.placeholder-content {
    max-width: 300px;
}

.placeholder-content svg {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.placeholder-content h3 {
    font-family: var(--font-primary);
    margin-bottom: 0.75rem;
}

.placeholder-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.placeholder-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Other Giving Options */
.other-giving {
    background: white;
}

.giving-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.giving-option {
    text-align: center;
    padding: 2rem;
}

.giving-option-icon {
    width: 64px;
    height: 64px;
    background: var(--color-background-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.giving-option h3 {
    font-family: var(--font-primary);
    margin-bottom: 0.75rem;
}

.giving-option p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-background);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--color-secondary) !important;
        font-size: 1.125rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-grid,
    .contact-grid,
    .give-content {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .giving-options {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
