/* ==========================================================================
   Page styles: maristvolunteer/maristvolunteer.html
   Global/shared styles live in assets/css/style.css (and tailwind.css).
   ========================================================================== */

/* =======================================================
   HOPEBRIDGE HUMANITARIAN EDITORIAL THEME
   ======================================================= */
:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --border: #e2e8f0;
    --hb-coral: #f05336;
    --hb-coral-hover: #d94426;
    --hb-coral-light: #fff4f1;
    --hb-navy: #0f172a;
    --hb-navy-light: #1e293b;
    --hb-slate-body: #475569;
    --hb-slate-muted: #64748b;
    --hb-bg-subtle: #f8fafc;
    --hb-card-bg: #ffffff;
    --hb-card-border: #f1f5f9;
}

body.theme-hopebridge {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Mode Support */
html.dark body.theme-hopebridge {
    background-color: #090d16;
    color: #f8fafc;
}

html.dark {
    --background: #090d16;
    --foreground: #f8fafc;
    --border: rgba(255, 255, 255, 0.1);
    --hb-card-bg: #0f172a;
    --hb-card-border: rgba(255, 255, 255, 0.08);
    --hb-bg-subtle: #0d1322;
}

/* Navigation Drawer & Close Button Consistency */
#hamburger-drawer {
    background-color: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}
html.dark #hamburger-drawer {
    background-color: #090d16 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
}
html.dark #hamburger-drawer span {
    color: #94a3b8 !important;
}
html.dark #hamburger-drawer a:not(.text-marist-red),
html.dark #hamburger-drawer button:not(.drawer-close-btn) {
    color: #f1f5f9 !important;
}
#hamburger-drawer a.text-marist-red {
    color: #c41e3a !important;
}
html.dark #hamburger-drawer a.text-marist-red {
    color: #ef4444 !important;
}
.drawer-close-btn {
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
}
.drawer-close-btn:hover {
    background-color: #fee2e2 !important;
    color: #c41e3a !important;
}
html.dark .drawer-close-btn {
    background-color: #1e293b !important;
    color: #f8fafc !important;
}
html.dark .drawer-close-btn:hover {
    background-color: rgba(220, 38, 38, 0.25) !important;
    color: #ef4444 !important;
}

/* Editorial Serif Headings */
.font-editorial {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.025em;
}

/* Ambient Card Shadows */
.hb-card-shadow {
    box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.06), 0 2px 8px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hb-card-shadow:hover {
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
    transform: translateY(-4px);
}
html.dark .hb-card-shadow {
    box-shadow: 0 12px 35px -8px rgba(0, 0, 0, 0.4);
}
html.dark .hb-card-shadow:hover {
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Hero Arc Mask Frame */
.hb-hero-arc {
    position: relative;
}
.hb-hero-arc::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 9999px;
    border: 8px solid #f05336;
    pointer-events: none;
    z-index: 1;
}

/* Ribbon Icon Badge */
.hb-ribbon-badge {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    background: #fff4f1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
html.dark .hb-ribbon-badge {
    background: rgba(240, 83, 54, 0.15);
}
.group:hover .hb-ribbon-badge {
    transform: scale(1.08);
    background: #ffe6e0;
}

/* Subtle Watermark Pattern */
.hb-watermark-hands {
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
}
html.dark .hb-watermark-hands {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

/* Custom Breadcrumbs */
.custom-breadcrumbs {
    width: 100%;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.3s, border-color 0.3s;
}
html.dark .custom-breadcrumbs {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.custom-breadcrumbs .breadcrumbs-content {
    max-w: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
}
.custom-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}
.custom-breadcrumbs a:hover {
    color: #f05336;
}
.custom-breadcrumbs .sep {
    opacity: 0.5;
}
.custom-breadcrumbs .active {
    color: #f05336;
}
