/*
 * Volunteer Opportunities — Olive + Gold theme
 * Reuses unity-theme vars (--olive-green, --gold, --cream-light, --charcoal).
 * Sections are namespaced .vol-* to avoid colliding with support.html CTA styles.
 */

/* ===== HERO ===== */
.vol-hero {
    padding: 120px 24px 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--olive-green-dark) 0%, var(--olive-green) 100%);
    position: relative;
    overflow: hidden;
}

.vol-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 360px at 50% 30%, rgba(201, 168, 76, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.vol-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.vol-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(201, 168, 76, 0.18);
    border: 1.5px solid rgba(201, 168, 76, 0.4);
    color: var(--gold);
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.vol-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    color: var(--cream-light);
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.vol-hero h1 em { font-style: italic; color: var(--gold); }

.vol-hero p {
    font-size: 1.15rem;
    color: var(--cream);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.vol-hero-cta {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
    transition: all 0.25s ease;
}

.vol-hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(201, 168, 76, 0.45);
}

/* ===== OPPORTUNITY DIRECTORY ===== */
.vol-opp-directory {
    padding: 80px 24px;
    background: var(--cream-light);
}

.vol-directory-title {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: var(--olive-green-dark);
    margin-bottom: 14px;
}

.vol-directory-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--charcoal);
    max-width: 720px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.vol-divider {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 50px;
    border-radius: 2px;
}

.vol-opp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
}

.vol-opp-card {
    background: var(--white);
    border-left: 5px solid var(--gold);
    border-radius: 12px;
    padding: 28px 26px 24px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vol-opp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.vol-opp-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--olive-green) 0%, var(--olive-green-light) 100%);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.vol-opp-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--olive-green-dark);
}

.vol-opp-desc {
    font-size: 0.98rem;
    color: var(--charcoal);
    line-height: 1.55;
    flex: 1;
}

.vol-commitment-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--charcoal);
}

.vol-commitment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(107, 142, 35, 0.12);
    border: 1px solid rgba(107, 142, 35, 0.35);
    color: var(--olive-green-dark);
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

.vol-opp-cta {
    display: inline-block;
    margin-top: 6px;
    padding: 11px 22px;
    background: var(--gold);
    color: var(--charcoal);
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.25s ease;
}

.vol-opp-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* ===== SIGNUP SECTION ===== */
.vol-signup-section {
    padding: 80px 24px;
    background: var(--white);
}

.vol-signup-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--cream-light);
    border-radius: 18px;
    border-top: 5px solid var(--olive-green);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    padding: 44px 40px 40px;
}

.vol-signup-card h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.9rem;
    color: var(--olive-green-dark);
    margin-bottom: 8px;
    text-align: center;
}

.vol-signup-sub {
    text-align: center;
    font-size: 1rem;
    color: var(--charcoal);
    max-width: 540px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.vol-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vol-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.vol-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--olive-green-dark);
    margin-bottom: 6px;
}

.vol-form label.req span.req { color: #b0362b; margin-left: 2px; }

.vol-form input[type="text"],
.vol-form input[type="email"],
.vol-form input[type="tel"],
.vol-form select,
.vol-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(107, 142, 35, 0.3);
    border-radius: 8px;
    background: var(--white);
    color: var(--charcoal);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vol-form input:focus,
.vol-form select:focus,
.vol-form textarea:focus {
    outline: none;
    border-color: var(--olive-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.18);
}

.vol-form textarea {
    min-height: 110px;
    resize: vertical;
}

.vol-form .honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    overflow: hidden;
}

.vol-submit {
    width: 100%;
    margin-top: 6px;
    padding: 16px 24px;
    background: var(--gold);
    color: var(--charcoal);
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(201, 168, 76, 0.35);
}

.vol-submit:hover:not(:disabled) {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(201, 168, 76, 0.45);
}

.vol-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.vol-msg {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
}

.vol-msg.visible { display: block; }

.vol-msg.success {
    background: rgba(76, 175, 80, 0.14);
    border: 1.5px solid rgba(76, 175, 80, 0.45);
    color: #2e7d32;
}

.vol-msg.error {
    background: rgba(244, 67, 54, 0.12);
    border: 1.5px solid rgba(244, 67, 54, 0.4);
    color: #b0362b;
}

/* ===== MINIVOL — used by inline section on /support ===== */
.vol-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto 36px;
}

.vol-mini-card {
    display: block;
    padding: 22px 20px;
    background: rgba(245, 241, 232, 0.06);
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    border-radius: 10px;
    color: var(--cream-light);
    text-decoration: none;
    transition: all 0.25s ease;
}

.vol-mini-card:hover {
    background: rgba(201, 168, 76, 0.16);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.vol-mini-icon {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}

.vol-mini-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.vol-mini-sub {
    font-size: 0.85rem;
    color: rgba(245, 241, 232, 0.75);
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .vol-hero { padding: 100px 18px 56px; }
    .vol-opp-directory, .vol-signup-section { padding: 60px 18px; }
    .vol-directory-title { font-size: 1.9rem; }
    .vol-opp-grid { grid-template-columns: 1fr; }
    .vol-form-row { grid-template-columns: 1fr; }
    .vol-signup-card { padding: 32px 22px; }
    .vol-mini-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .vol-mini-grid { grid-template-columns: 1fr; }
}

/* ===== INLINE FORM / STATUS BADGES — used by /support ===== */
.vol-inline-form {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    background: rgba(245, 241, 232, 0.06);
    border: 1.5px solid rgba(201, 168, 76, 0.35);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.vol-inline-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: var(--cream-light);
    margin-bottom: 8px;
    text-align: center;
}

.vol-inline-sub {
    text-align: center;
    font-size: 0.98rem;
    color: rgba(245, 241, 232, 0.82);
    max-width: 540px;
    margin: 0 auto 22px;
    line-height: 1.55;
}

.vol-inline-form .vol-form label { color: var(--cream-light); }
.vol-inline-form .vol-form input[type="text"],
.vol-inline-form .vol-form input[type="email"],
.vol-inline-form .vol-form input[type="tel"],
.vol-inline-form .vol-form select,
.vol-inline-form .vol-form textarea {
    background: rgba(245, 241, 232, 0.96);
    border: 1.5px solid rgba(201, 168, 76, 0.5);
    color: var(--charcoal);
}
.vol-inline-form .vol-form input:focus,
.vol-inline-form .vol-form select:focus,
.vol-inline-form .vol-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.25);
}

.vol-opp-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 999px;
}
.vol-opp-status.open {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: #b8e6b9;
}
.vol-opp-status.open::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.7);
}
.vol-opp-status.closed {
    background: rgba(150, 150, 150, 0.18);
    border: 1px solid rgba(180, 180, 180, 0.4);
    color: rgba(245, 241, 232, 0.7);
}
.vol-opp-status.closed::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9e9e9e;
}

@media (max-width: 768px) {
    .vol-inline-form { padding: 26px 18px; }
    .vol-inline-title { font-size: 1.35rem; }
}
