/* =============================================================
   ST JOSEPH'S PARISH - GLOBAL STYLESHEET
   Shared variables, resets, layout, header, footer, components
   ============================================================= */

/* --- CSS VARIABLES --- */
:root {
    --primary:        #2c3e50;
    --primary-dark:   #2A2724;
    --accent:         #FFA500;
    --accent-hover:   #e69500;
    --accent-light:   rgba(255, 165, 0, 0.10);
    --white:          #ffffff;
    --off-white:      #f9f9f9;
    --light-grey:     #f0f2f5;
    --sidebar-bg:     #f8f9fa;
    --border-color:   #eaeaea;
    --text-grey:      #546e7a;
    --text-dark:      #333333;
    --footer-bg:      #293946;
    --container:      1200px;
    --shadow-float:   0 20px 40px rgba(0,0,0,0.10);
    --shadow-soft:    0 4px 12px  rgba(0,0,0,0.05);
    --shadow-medium:  0 8px 24px  rgba(0,0,0,0.08);
    --transition:     all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Easter / liturgical palette (Home page) */
    --easter-white:      #fffef7;
    --easter-gold:       #D4AF37;
    --easter-gold-light: #F3E5AB;
    --easter-gold-dark:  #B8860B;

    /* Nav */
    --st-primary: #2c3e50;
    --st-accent:  #FFA500;
    --st-white:   #ffffff;
    --main-menu-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

p { margin-bottom: 1.5rem; color: var(--text-grey); }

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

ul { list-style: none; }

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

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* Two-column page layout (sidebar + content) */
.main-container {
    max-width: var(--container);
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    position: relative;
}

.main-content { min-width: 0; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-accent         { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover   { background: transparent; color: var(--accent); }

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

.btn-bordered       { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-bordered:hover { background: var(--white); color: var(--primary); }

.btn-outline-light        { background: transparent; border: 2px solid rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover  { background: var(--white); color: var(--accent); border-color: var(--white); }

/* --- SCROLL REVEAL --- */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =============================================================
   HEADER / NAVBAR
   ============================================================= */
#st-joseph-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99990; /* sit below WP admin bar (99999) */
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
}

/* Push navbar below WP admin bar when logged in */
.admin-bar #st-joseph-navbar {
    top: 32px;
}

#st-joseph-navbar.stjoseph-scrolled {
    background: rgba(255,255,255,0.98);
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
}

.stjoseph-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.stjoseph-logo { transition: opacity 0.3s ease; }
.stjoseph-logo img { height: 60px; width: auto; display: block; }
.stjoseph-logo-white { display: block; opacity: 1; }
.stjoseph-logo-color { display: none;  opacity: 0; }

#st-joseph-navbar.stjoseph-scrolled .stjoseph-logo         { }
#st-joseph-navbar.stjoseph-scrolled .stjoseph-logo-white   { display: none;  opacity: 0; }
#st-joseph-navbar.stjoseph-scrolled .stjoseph-logo-color   { display: block; opacity: 1; }

/* Nav links */
.stjoseph-nav-links {
    display: flex;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 25px;
    align-items: center;
}

.stjoseph-nav-links > li { position: relative; padding: 10px 0; }

.stjoseph-nav-links a {
    text-decoration: none !important;
    color: var(--st-white);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

#st-joseph-navbar.stjoseph-scrolled .stjoseph-nav-links > li > a { color: var(--st-primary); }

.stjoseph-nav-links > li > a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--st-accent);
    transition: width .3s;
    position: absolute;
    bottom: 5px;
    left: 0;
}

.stjoseph-nav-links > li:hover > a::after { width: 100%; }

.stjoseph-menu-dot { color: #D4A017; font-size: 20px; line-height: 1; margin-left: 3px; }

/* Dropdown */
.stjoseph-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    list-style: none !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid var(--st-accent);
    pointer-events: none;
}

@media (min-width: 961px) {
    .stjoseph-has-dropdown:hover .stjoseph-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

.stjoseph-dropdown-menu li { display: block; width: 100%; }

.stjoseph-dropdown-menu a {
    color: var(--st-primary) !important;
    padding: 10px 20px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    white-space: normal;
}

.stjoseph-dropdown-menu a:hover {
    background: #f9f9f9;
    color: var(--st-accent) !important;
    padding-left: 25px;
}

.stjoseph-dropdown-menu li:last-child a { border-bottom: none; }
.stjoseph-dropdown-menu a::after { display: none; }

/* Mobile toggle */
.stjoseph-mobile-menu-btn { display: none; font-size: 24px; color: white; cursor: pointer; }
#st-joseph-navbar.stjoseph-scrolled .stjoseph-mobile-menu-btn { color: var(--st-primary); }

@media (max-width: 960px) {
    .stjoseph-mobile-menu-btn { display: block; }
    .stjoseph-logo { padding-top: 5px; }

    .stjoseph-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        box-shadow: 0 10px 20px rgba(0,0,0,0.10);
    }

    .stjoseph-nav-links.active { max-height: 100vh; overflow-y: auto; }

    .stjoseph-nav-links > li {
        width: 100%;
        padding: 0;
        border-bottom: 1px solid #eee;
    }

    .stjoseph-nav-links > li > a {
        color: var(--st-primary) !important;
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .stjoseph-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: #f8f9fa;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 0;
        min-width: 100%;
        pointer-events: auto;
    }

    .stjoseph-dropdown-menu.dropdown-active { display: block; }
    .stjoseph-dropdown-menu a { padding-left: 40px; }
    .stjoseph-has-dropdown.open .stjoseph-menu-dot { transform: rotate(180deg); }
}

/* =============================================================
   SIDEBAR (shared across interior pages)
   ============================================================= */
.sidebar {
    position: sticky;
    top: calc(var(--main-menu-height) + 30px);
    height: fit-content;
    align-self: flex-start;
}

.sidebar-nav-card {
    background: var(--white);
    padding: 25px;
    box-shadow: var(--shadow-medium);
    border-top: 4px solid var(--accent);
}

.sidebar-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav-list li::before { content: none !important; display: none !important; }

.sidebar-nav-list a {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    color: var(--text-grey);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
    gap: 10px;
    border-left: 3px solid transparent;
}

.sidebar-nav-list a:hover  { background: var(--accent-light); color: var(--accent); border-left-color: var(--accent); }
.sidebar-nav-list a.active { background: var(--accent); color: var(--white); box-shadow: var(--shadow-soft); }

/* Sidebar info card */
.sidebar-card {
    background: var(--white);
    padding: 25px;
    box-shadow: var(--shadow-medium);
    border-top: 4px solid var(--accent);
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* =============================================================
   SECTION / CONTENT SHARED STYLES
   ============================================================= */
.content-section, .cyp-section, .causes-section, .volunteer-section,
.synod-section, .ssvp-section, .sacrament-section, .privacy-section,
.piety-section, .council-section, .lottery-section, .groups-section,
.jp-section, .giving-section, .fellowship-section, .section {
    padding: 40px 0 70px;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-of-type, .cyp-section:last-of-type,
.causes-section:last-of-type, .sacrament-section:last-of-type,
.privacy-section:last-of-type, .section:last-of-type,
.jp-section:last-of-type, .giving-section:last-of-type,
.fellowship-section:last-of-type { border-bottom: none; }

.section-title {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.section-intro { font-size: 1.05rem; color: var(--text-grey); margin-bottom: 30px; line-height: 1.8; }

/* --- HERO (shared interior pages) --- */
.page-hero-base,
.new-here-hero, .cyp-hero, .causes-hero, .volunteer-hero,
.synod-hero, .ssvp-hero, .sacraments-hero, .privacy-hero,
.piety-hero, .council-hero, .lottery-hero, .groups-hero,
.jp-hero, .giving-hero, .fellowship-hero, .page-hero {
    position: relative;
    padding: 200px 0 70px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--main-menu-height));
}

/* When notice bar is active, pull heroes up by its height too */
body.snb-active .page-hero-base,
body.snb-active .new-here-hero, body.snb-active .cyp-hero, body.snb-active .causes-hero,
body.snb-active .volunteer-hero, body.snb-active .synod-hero, body.snb-active .ssvp-hero,
body.snb-active .sacraments-hero, body.snb-active .privacy-hero, body.snb-active .piety-hero,
body.snb-active .council-hero, body.snb-active .lottery-hero, body.snb-active .groups-hero,
body.snb-active .jp-hero, body.snb-active .giving-hero, body.snb-active .fellowship-hero,
body.snb-active .page-hero {
    margin-top: calc(-1 * var(--main-menu-height) - var(--snb-height, 40px));
}

.hero-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-container h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* --- GENERIC CARD --- */
.card {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 28px;
    transition: var(--transition);
    border-top: 3px solid var(--accent);
}

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

/* --- INFO NOTE BOX --- */
.info-note {
    padding: 18px 22px;
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.info-note i { color: var(--accent); flex-shrink: 0; }

/* --- FORMS (plugin-rendered, styled to theme) --- */
.join-form-card, .form-card {
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    border-top: 4px solid var(--accent);
    max-width: 800px;
}

.join-form-card label, .form-card label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.join-form-card input[type="text"],
.join-form-card input[type="email"],
.join-form-card input[type="tel"],
.join-form-card textarea,
.join-form-card select,
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card textarea,
.form-card select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--off-white);
    transition: var(--transition);
    margin-bottom: 14px;
}

.join-form-card input:focus,
.join-form-card textarea:focus,
.join-form-card select:focus,
.form-card input:focus,
.form-card textarea:focus,
.form-card select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.join-form-card input[type="submit"],
.join-form-card button[type="submit"],
.form-card input[type="submit"],
.form-card button[type="submit"] {
    padding: 14px 35px;
    background: var(--accent);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    transition: var(--transition);
}

.join-form-card input[type="submit"]:hover,
.join-form-card button[type="submit"]:hover,
.form-card input[type="submit"]:hover,
.form-card button[type="submit"]:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* =============================================================
   WIZARD SECTION (Footer pre-footer)
   ============================================================= */
.wizard-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
    border-top: 1px solid #eee;
}

.wizard-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.wizard-container h2 { margin-bottom: 10px; }
.wizard-container > p { color: var(--text-grey); margin-bottom: 0; }

.wizard-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.wizard-btn {
    background: var(--white);
    border: 1px solid #e2e8f0;
    padding: 28px 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.wizard-btn:hover, .wizard-btn.active {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.wizard-btn i    { font-size: 2rem; color: var(--primary); margin-bottom: 14px; display: block; }
.wizard-btn h4   { font-size: 1.05rem; margin-bottom: 8px; }
.wizard-btn p    { font-size: 0.88rem; color: var(--text-grey); margin-bottom: 0; }

.wizard-content {
    margin-top: 40px;
    text-align: left;
    background: var(--white);
    padding: 40px;
    box-shadow: var(--shadow-medium);
    border-left: 5px solid var(--accent);
    display: none;
    animation: fadeIn 0.5s ease;
}

.wizard-content.active { display: block; }
.wizard-content h3     { margin-bottom: 20px; font-size: 1.7rem; }

/* Action list */
.action-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 8px; }

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 18px;
    background: #f8fafc;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.action-item.clickable { cursor: pointer; }

.action-item.clickable:hover {
    background: #fff3e0;
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: var(--shadow-soft);
}

.action-icon   { color: var(--accent); font-size: 1rem; min-width: 20px; margin-top: 2px; }
.action-content { flex: 1; }
.action-title  { font-weight: 600; color: var(--primary); margin-bottom: 4px; font-size: 1rem; }
.action-description { color: var(--text-grey); font-size: 0.88rem; line-height: 1.4; }

.action-arrow  { color: var(--accent); opacity: 0; transition: all 0.2s ease; font-size: 1rem; align-self: center; }
.action-item.clickable:hover .action-arrow { opacity: 1; transform: translateX(5px); }
.clickable .action-arrow { opacity: 0.5; }

/* =============================================================
   FOOTER
   ============================================================= */
.st-joseph-footer {
    position: relative;
    background: var(--footer-bg);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin-top: 80px;
    overflow: hidden;
}

.footer-wave { position: absolute; top: -100px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { position: relative; display: block; width: calc(100% + 1.3px); height: 100px; transform: rotateY(180deg); }
.footer-wave .shape-fill { fill: #FFA500; opacity: 0.3; animation: waveFlow 20s linear infinite; }
.footer-wave .shape-fill:nth-child(2) { animation-delay: -5s;  opacity: 0.2; }
.footer-wave .shape-fill:nth-child(3) { animation-delay: -10s; opacity: 0.15; }

@keyframes waveFlow {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer-main { padding: 80px 0 40px; position: relative; z-index: 1; }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

/* Footer about column */
.footer-about { display: flex; flex-direction: column; gap: 18px; }

.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 8px; }
.footer-logo-img { height: 70px; width: auto; filter: brightness(0) invert(1); transition: transform 0.3s ease; }
.footer-logo-img:hover { transform: scale(1.05); }

.footer-description { font-size: 0.97rem; line-height: 1.6; color: rgba(255,255,255,0.80); margin-bottom: 12px; }

.footer-verse {
    background: rgba(255,165,0,0.10);
    border-left: 3px solid #FFA500;
    padding: 15px;
    margin-top: 8px;
}

.footer-verse p      { font-style: italic; color: rgba(255,255,255,0.9); line-height: 1.5; margin-bottom: 5px; font-size: 0.93rem; }
.verse-ref           { font-size: 0.83rem; color: rgba(255,255,255,0.6); display: block; text-align: right; }

/* Footer headings */
.footer-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
    color: #FFA500;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 2px;
    background: #FFA500;
}

/* Footer menu links */
.footer-menu { list-style: none; display: grid; gap: 10px; }

.footer-menu li a {
    color: rgba(255,255,255,0.80);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    padding: 4px 0;
    font-size: 0.93rem;
}

.footer-menu li a:hover        { color: #FFA500; transform: translateX(5px); }
.link-icon                     { font-size: 0.78rem; opacity: 0.7; transition: all 0.3s ease; width: 12px; }
.footer-menu li a:hover .link-icon { opacity: 1; transform: translateX(3px); }

/* Contact column */
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }

.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { color: #FFA500; min-width: 20px; font-size: 1.05rem; text-align: center; }
.contact-details p { color: rgba(255,255,255,0.80); font-size: 0.93rem; line-height: 1.4; }
.contact-details p:first-child { font-weight: 500; color: rgba(255,255,255,0.9); }
.contact-details a { color: rgba(255,255,255,0.80); text-decoration: none; transition: color 0.3s; }
.contact-details a:hover { color: #FFA500; }

.social-heading { font-size: 0.97rem; font-weight: 500; margin-bottom: 14px; color: rgba(255,255,255,0.9); }
.social-links   { display: flex; gap: 14px; }

.social-link {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.10);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
}

.social-link:hover { background: #FFA500; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255,165,0,0.3); }

/* Footer bottom bar */
.footer-bottom { background: rgba(0,0,0,0.2); padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.10); }

.bottom-content { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }

.bottom-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.bottom-links a, .bottom-links span { color: rgba(255,255,255,0.70); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.bottom-links a:hover { color: #FFA500; }
.separator { color: rgba(255,255,255,0.40); margin: 0 4px; }
.copyright { color: rgba(255,255,255,0.60); font-size: 0.88rem; }

/* =============================================================
   ANIMATIONS
   ============================================================= */
@keyframes fadeIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
    .main-container { grid-template-columns: 1fr; }
    .sidebar { position: static; width: 100%; order: -1; margin-bottom: 20px; }
    .sidebar-nav-list { flex-direction: row; overflow-x: auto; padding: 10px 0; }
    .sidebar-nav-list a { white-space: nowrap; }
}

@media (max-width: 992px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
    .footer-about { grid-column: 1 / -1; text-align: center; }
    .footer-logo  { justify-content: center; }
    .footer-verse { max-width: 500px; margin: 10px auto 0; }
}

/* ── WordPress admin bar offset ──────────────────────────────── */
/* Handled in functions.php via wp_head injection */

@media (max-width: 768px) {
    .main-container { padding: 0 20px; gap: 30px; }
    .hero-container h1 { font-size: 2rem; }
    .footer-main { padding: 60px 0 30px; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-about { grid-column: auto; }
    .bottom-links { flex-direction: column; gap: 8px; }
    .separator { display: none; }
    .footer-wave { top: -50px; }
    .footer-wave svg { height: 50px; }
    .wizard-btn { padding: 20px 14px; }
    .wizard-content { padding: 25px; }
    .join-form-card, .form-card { padding: 25px; }
}

@media (max-width: 480px) {
    .footer-heading { font-size: 1.05rem; }
    .social-links   { justify-content: center; }
    .contact-item   { flex-direction: column; gap: 4px; align-items: center; text-align: center; }
    .action-item    { flex-wrap: wrap; }
    .action-arrow   { margin-left: auto; }
}

/* ─────────────────────────────────────────────
   CUSTOM SCROLLBAR
   Webkit (Chrome, Edge, Safari) + Firefox
───────────────────────────────────────────── */

/* Track */
::-webkit-scrollbar {
    width: 48px;
    height: 48px;
}
::-webkit-scrollbar-track {
    background: var(--off-white);
    border-radius: 0;
}

/* Thumb */
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border: none;
    border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Corner where horizontal and vertical meet */
::-webkit-scrollbar-corner {
    background: var(--off-white);
}

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: var(--accent) var(--off-white);
}
