/* ==========================================
   PECK LIONS CLUB — Stylesheet
   Colors: LCI Blue, Gold, Purple
   ========================================== */

/* ---------- Design Tokens ---------- */
:root {
    /* LCI Official Colors */
    --lci-blue: #003DA5;
    --lci-blue-dark: #002B75;
    --lci-blue-light: #1A5BC4;
    --lci-gold: #FDB913;
    --lci-gold-dark: #E5A200;
    --lci-gold-light: #FFD54F;
    --lci-purple: #4A1A6B;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F9FC;
    --gray-50: #F1F3F7;
    --gray-100: #E2E6EE;
    --gray-200: #C5CBD9;
    --gray-400: #8892A6;
    --gray-600: #4A5468;
    --gray-800: #1E2433;
    --gray-900: #0F1219;

    /* Semantic */
    --bg-primary: var(--white);
    --bg-secondary: var(--off-white);
    --text-primary: var(--gray-800);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --accent: var(--lci-blue);
    --accent-hover: var(--lci-blue-dark);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
}

a:hover {
    color: var(--accent-hover);
}

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

/* ---------- Container ---------- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 61, 165, 0.08);
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    text-decoration: none;
}

.nav-emblem {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    color: var(--lci-blue);
}

.nav-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lci-gold);
    border-radius: 2px;
    transition: width var(--duration) var(--ease);
}

.nav-links a:hover {
    color: var(--lci-blue);
}

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

.nav-cta {
    background: var(--lci-blue) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: all var(--duration) var(--ease) !important;
}

.nav-cta:hover {
    background: var(--lci-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--lci-gold);
    color: var(--gray-900);
    border-color: var(--lci-gold);
}

.btn-primary:hover {
    background: var(--lci-gold-dark);
    border-color: var(--lci-gold-dark);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(253, 185, 19, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--lci-blue);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--lci-blue) 0%, var(--lci-blue-dark) 40%, var(--lci-purple) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(253, 185, 19, 0.15);
    color: var(--lci-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(253, 185, 19, 0.25);
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--lci-gold);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(8px);
    }

    60% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* ---------- Sections ---------- */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lci-blue);
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- About Section ---------- */
.section-about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.about-causes h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.causes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.cause-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.cause-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.cause-icon {
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.cause-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--lci-blue);
}

.cause-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about-motto {
    margin-top: var(--space-3xl);
    text-align: center;
}

.about-motto blockquote {
    position: relative;
    display: inline-block;
}

.motto-mark {
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--lci-gold);
    opacity: 0.3;
    line-height: 1;
}

.about-motto p {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--lci-blue);
    margin-bottom: var(--space-sm);
}

.about-motto cite {
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- Events Section ---------- */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: var(--space-xl);
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
}

.event-card:hover {
    border-color: rgba(0, 61, 165, 0.15);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.event-featured {
    background: linear-gradient(135deg, var(--lci-blue) 0%, var(--lci-blue-dark) 100%);
    border-color: transparent;
    color: var(--white);
}

.event-featured:hover {
    box-shadow: var(--shadow-lg);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: var(--space-md);
    background: rgba(253, 185, 19, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.event-featured .event-date {
    background: rgba(253, 185, 19, 0.2);
}

.event-month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lci-gold);
}

.event-day {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.event-featured .event-day {
    color: var(--white);
}

.event-year {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.event-featured .event-year {
    color: rgba(255, 255, 255, 0.6);
}

.event-badge {
    display: inline-block;
    background: var(--lci-gold);
    color: var(--gray-900);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.event-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.event-details {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    opacity: 0.85;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
}

.meta-icon {
    flex-shrink: 0;
}

.event-featured .event-meta-item {
    color: rgba(255, 255, 255, 0.85);
}

.events-note {
    text-align: center;
    margin-top: var(--space-2xl);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- Members Section ---------- */
.section-members {
    background: var(--bg-secondary);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.member-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.member-president {
    border: 2px solid var(--lci-gold);
}

.member-avatar {
    margin-bottom: var(--space-md);
}

.avatar-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lci-blue), var(--lci-blue-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto;
}

.member-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.member-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--lci-blue);
    background: rgba(0, 61, 165, 0.08);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: var(--space-sm);
}

.member-phone {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.member-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Join CTA */
.join-cta {
    background: linear-gradient(135deg, var(--lci-blue) 0%, var(--lci-purple) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    text-align: center;
    color: var(--white);
}

.join-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
}

.join-content p {
    font-size: 1.02rem;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

/* ---------- Schedule Section ---------- */
.schedule-card {
    display: flex;
    gap: var(--space-xl);
    align-items: start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.schedule-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.schedule-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--lci-blue);
}

.schedule-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.schedule-item {
    display: flex;
    gap: var(--space-lg);
    align-items: baseline;
}

.schedule-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lci-gold-dark);
    min-width: 60px;
    flex-shrink: 0;
}

.schedule-value {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.schedule-map {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.section-header-light h2 {
    color: var(--white);
}

.section-header-light .section-description {
    color: rgba(255, 255, 255, 0.65);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.contact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--duration) var(--ease);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    display: block;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.contact-card a {
    color: var(--lci-gold);
}

.contact-card a:hover {
    color: var(--lci-gold-light);
}

.contact-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-2xl) 0 var(--space-lg);
    color: rgba(255, 255, 255, 0.5);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.footer-emblem {
    width: 48px;
    height: 48px;
    object-fit: contain;
    opacity: 0.8;
}

.footer-brand strong {
    color: var(--white);
    display: block;
    margin-bottom: 2px;
}

.footer-brand p {
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
}

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

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

.footer-powered a {
    color: var(--lci-gold);
}

.footer-powered a:hover {
    color: var(--lci-gold-light);
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.3s var(--ease);
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .event-card {
        flex-direction: column;
        gap: var(--space-md);
    }

    .event-date {
        flex-direction: row;
        gap: var(--space-sm);
        min-width: auto;
        width: fit-content;
        padding: var(--space-sm) var(--space-md);
    }

    .event-day {
        font-size: 1.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .schedule-card {
        flex-direction: column;
        gap: var(--space-md);
    }

    .schedule-item {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .join-cta {
        padding: var(--space-2xl) var(--space-lg);
    }
}

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

    .section {
        padding: var(--space-3xl) 0;
    }
}
/* Event Flyer Images */
.event-flyer {
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    max-height: 260px;
}

.event-flyer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Past Events */
.event-past {
    opacity: 0.85;
    border: 1px solid var(--border);
}

.event-badge-past {
    background: #6b7280;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.events-grid-past {
    opacity: 0.9;
}

/* Avatar placeholder initials for 4-up grid */
.members-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
