/* FRA Global Foundation - Stylesheet
   Design based on brand mockup
   Color palette: Navy, Gold/Tan, White
*/

:root {
    /* Primary Colors */
    --color-navy: #232d3a;
    --color-navy-dark: #1a222c;
    --color-gold: #c5a26c;
    --color-gold-dark: #a88b5a;
    --color-gold-text: #a08350;
    --color-white: #ffffff;
    --color-cream: #f5f5f0;
    --color-gray: #666666;
    --color-light-gray: #f0f0eb;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-navy);
    background-color: var(--color-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section { padding: var(--spacing-xl) 0; }

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-navy);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo { height: 96px; width: auto; margin: -10px 0 -20px; }

.nav { display: flex; align-items: center; gap: 3rem; }
.nav-list { display: flex; align-items: center; gap: 2.5rem; }

.nav-link {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover { color: var(--color-gold); }

/* Dropdown Menu */
.nav-item.has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 200px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-navy);
    font-size: 0.9rem;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown a:hover {
    background: var(--color-light-gray);
    color: var(--color-gold);
}

.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; background: none; border: none; cursor: pointer; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background: var(--color-white); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.btn-donate {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
}

.btn-donate:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.btn-donate-large {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-navy);
}

.btn-donate-large:hover {
    background: var(--color-navy-dark);
    border-color: var(--color-navy-dark);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    border: 2px solid var(--color-gold);
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/content/hero-wildfire.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(35, 45, 58, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 100px 20px 60px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Section Label */
.section-label {
    display: inline-block;
    color: var(--color-gold-text);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-label.light {
    color: var(--color-gold-text);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-statement {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-navy);
    font-weight: 400;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.value-item h4 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.value-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
}

/* Symposium CTA Section */
.symposium-cta {
    background: var(--color-navy);
    padding: var(--spacing-lg) 0;
}

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

.symposium-text h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.symposium-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.btn-symposium {
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 1rem 2rem;
    font-weight: 600;
    border: 2px solid var(--color-gold);
}

.btn-symposium:hover {
    background: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
}

.symposium-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.symposium-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 0 auto 1.5rem;
}

.section-header p { color: var(--color-gray); font-size: 1.05rem; }

/* Programs Section */
.programs { background: var(--color-white); }

.program-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: start;
}

.program-row.reverse {
    direction: rtl;
}

.program-row.reverse > * {
    direction: ltr;
}

.program-row.full-width {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.program-image {
    overflow: hidden;
    border-radius: var(--radius-md);
}

.program-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.program-image:hover img {
    transform: scale(1.05);
}

.program-image.wide img {
    height: 300px;
    width: 100%;
}

.program-content h3 {
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-weight: 400;
}

.program-content p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.program-features {
    list-style: none;
}

.program-features li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.program-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.program-bullets ul,
.program-bullets-row ul {
    list-style: none;
    background: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.program-bullets li,
.program-bullets-row li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-navy);
    font-size: 0.9rem;
}

.program-bullets li::before,
.program-bullets-row li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

.program-bullets li:last-child,
.program-bullets-row li:last-child,
.program-features li:last-child {
    margin-bottom: 0;
}

.program-bullets-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.program-bullets-row ul {
    margin: 0;
}

/* Donation CTA */
.donate-cta {
    background: var(--color-gold);
    padding: 3rem 0;
}

.donate-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.donate-content p {
    color: var(--color-navy);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 800px;
}

/* Contact Section */
.contact { background: var(--color-light-gray); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 { margin-bottom: 1.5rem; }
.contact-info > p { color: var(--color-gray); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

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

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg { width: 24px; height: 24px; fill: var(--color-navy); }
.contact-item-content h4 { margin-bottom: 0.25rem; }
.contact-item-content p { color: var(--color-gray); margin: 0; }
.contact-item-content a { color: var(--color-gold); }
.contact-item-content a:hover { text-decoration: underline; }

.contact-form {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 500; margin-bottom: 0.5rem; font-size: 0.9rem; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Footer */
.footer {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
}

.footer-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.footer-brand .logo { height: 100px; width: auto; margin: -40px 0 -40px -15px; }

.footer-tagline {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-style: italic;
    margin: -0.75rem 0 0;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 1rem 0 0 0;
}

.footer-contact a {
    color: var(--color-gold);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--color-gold);
}

/* Responsive — two-row header for mid-range */
@media (max-width: 1200px) and (min-width: 769px) {
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.4rem 2rem 0;
    }

    .logo { height: 72px; margin: -8px 0 -14px; }

    .nav {
        width: 100%;
        justify-content: center;
        gap: 2rem;
        padding-bottom: 0.5rem;
    }

    .nav-list { gap: 1.5rem; }
}

/* Responsive */
@media (max-width: 1024px) {
    .program-row {
        grid-template-columns: 1fr 1fr;
    }

    .program-bullets {
        grid-column: span 2;
    }

    .program-bullets-row {
        grid-template-columns: 1fr;
    }
}

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

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-navy);
        padding: 2rem;
    }

    .nav-list { flex-direction: column; gap: 1rem; }

    .hero-content { padding-top: 80px; }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        min-height: 300px;
    }

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

    .symposium-image {
        order: -1;
    }

    .program-row,
    .program-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .program-row > * {
        direction: ltr;
    }

    .program-bullets {
        grid-column: span 1;
    }

    .program-image img {
        height: 250px;
    }

    .donate-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}
