/**
 * Involvement Destination Pages Styles
 *
 * Styles for Donate, Volunteer, and Partner pages
 *
 * @package FFOA_Custom
 * @since 1.1.0
 */

/* ============================================================
   SHARED CONTAINER STYLES
   ============================================================ */

.page-donate-single,
.page-volunteer-single,
.page-partner-single {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.donate-container,
.volunteer-container,
.partner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* ============================================================
   HEADER SECTIONS
   ============================================================ */

.donate-header,
.volunteer-header,
.partner-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.donate-title,
.volunteer-title,
.partner-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1rem;
}

.donate-subtitle,
.volunteer-subtitle,
.partner-subtitle {
    font-size: 1.375rem;
    color: #C2B97F;
    font-weight: 600;
}

/* ============================================================
   INTRO SECTIONS
   ============================================================ */

.donate-intro,
.volunteer-intro,
.partner-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* ============================================================
   DONATE PAGE SPECIFIC
   ============================================================ */

.donate-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.donate-main {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.donation-form-wrapper {
    margin: 2rem 0;
}

.zeffy-embed-container {
    border-radius: 8px;
    overflow: hidden;
}

.donate-security {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.9375rem;
    color: #555;
    font-weight: 500;
}

/* Donate Sidebar */
.donate-sidebar {
    position: sticky;
    top: 2rem;
}

.impact-box,
.other-ways-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.impact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1.5rem;
    text-align: center;
}

.impact-tiers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.impact-tier {
    padding: 1.25rem;
    background: #f8f9fa;
    border-left: 4px solid #C2B97F;
    border-radius: 4px;
}

.tier-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 0.5rem;
}

.tier-impact {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.other-ways-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1rem;
}

.other-way-link {
    display: block;
    padding: 0.75rem 0;
    color: #C2B97F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.other-way-link:hover {
    color: #a89b6a;
}

/* ============================================================
   VOLUNTEER PAGE SPECIFIC
   ============================================================ */

.volunteer-opportunities {
    margin-bottom: 4rem;
}

.opportunities-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222E51;
    text-align: center;
    margin-bottom: 2.5rem;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.opportunity-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opportunity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.opportunity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.opportunity-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 0.75rem;
}

.opportunity-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.volunteer-form-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.form-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222E51;
    text-align: center;
    margin-bottom: 2rem;
}

.volunteer-form-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================================
   PARTNER PAGE SPECIFIC
   ============================================================ */

.partnership-types-section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222E51;
    text-align: center;
    margin-bottom: 3rem;
}

.partnership-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.partnership-type {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.type-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1rem;
}

.type-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.type-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-benefits li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

.type-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #06A77D;
    font-weight: 700;
}

.partnership-contact-section {
    margin-bottom: 4rem;
}

.contact-box {
    background: linear-gradient(135deg, #222E51 0%, #1a2340 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    text-align: center;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #C2B97F;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.method-link,
.contact-form-link {
    color: #C2B97F;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.method-link:hover,
.contact-form-link:hover {
    color: #d4c895;
}

/* ============================================================
   SHARED "OTHER WAYS TO HELP" SECTION
   ============================================================ */

.other-ways-to-help {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.other-ways-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.other-ways-links .other-way-link {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: #C2B97F;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.other-ways-links .other-way-link:hover {
    background: #a89b6a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 992px) {
    .donate-content {
        grid-template-columns: 1fr;
    }

    .donate-sidebar {
        position: static;
    }

    .partnership-types {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donate-container,
    .volunteer-container,
    .partner-container {
        padding: 2rem 1.5rem;
    }

    .donate-title,
    .volunteer-title,
    .partner-title {
        font-size: 2rem;
    }

    .donate-subtitle,
    .volunteer-subtitle,
    .partner-subtitle {
        font-size: 1.125rem;
    }

    .donate-main,
    .volunteer-form-section {
        padding: 2rem 1.5rem;
    }

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

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

    .other-ways-links {
        flex-direction: column;
        gap: 1rem;
    }

    .other-ways-links .other-way-link {
        display: block;
    }
}

@media (max-width: 480px) {
    .donate-container,
    .volunteer-container,
    .partner-container {
        padding: 1.5rem 1rem;
    }

    .donate-title,
    .volunteer-title,
    .partner-title {
        font-size: 1.75rem;
    }

    .impact-box,
    .other-ways-box,
    .partnership-type,
    .contact-box {
        padding: 1.5rem;
    }
}

/* ============================================================
   EXTERNAL RESOURCES PAGE
   ============================================================ */

.page-external-resources {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.external-resources-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.external-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.external-header .page-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1rem;
}

.external-header .page-subtitle {
    font-size: 1.375rem;
    color: #C2B97F;
    font-weight: 600;
}

.resources-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    text-align: center;
}

/* Tab Navigation */
.resources-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #d0d0d0;
    overflow-x: auto;
}

.tab-button {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-button:hover {
    color: #222E51;
    background: rgba(194, 185, 127, 0.1);
}

.tab-button.active {
    color: #222E51;
    border-bottom-color: #C2B97F;
    background: rgba(194, 185, 127, 0.05);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resources-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.resources-section .section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

/* Resource Items */
.resource-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.resource-item:last-of-type {
    border-bottom: none;
}

.resource-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 0.75rem;
}

.resource-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}

.resource-item .resource-link {
    display: inline-block;
    color: #C2B97F;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-item .resource-link:hover {
    color: #a89b6a;
}

.section-note {
    background: #f8f9fa;
    border-left: 4px solid #2196F3;
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

/* Resources Notice */
.resources-notice {
    background: #fffbf0;
    border-left: 4px solid #FFA500;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.resources-notice h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #222E51;
    margin-bottom: 1rem;
}

.resources-notice p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Back Button */
.back-to-resources {
    text-align: center;
}

.back-button {
    display: inline-block;
    background: #C2B97F;
    color: #ffffff;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #a89b6a;
    transform: translateY(-2px);
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .external-resources-container {
        padding: 2rem 1.5rem;
    }

    .external-header .page-title {
        font-size: 2rem;
    }

    .resources-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-button {
        min-width: 100%;
        border-bottom: 2px solid #d0d0d0;
        border-right: none;
    }

    .tab-button.active {
        border-bottom-color: #C2B97F;
    }

    .resources-section {
        padding: 2rem 1.5rem;
    }
}

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

    .external-header .page-title {
        font-size: 1.75rem;
    }

    .resources-section {
        padding: 1.5rem 1rem;
    }
}
