/* ILBBI Website Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Serif+Pro:wght@400;600;700&display=swap');

:root {
    --primary-navy: #1e3a8a;
    --primary-gold: #d97706;
    --light-gold: #fbbf24;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-light: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-navy);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 4px;
}

.skip-to-content:focus {
    top: 6px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 2px solid var(--primary-navy);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.logo-text h1 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.logo-subtitle {
    color: var(--primary-gold);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus {
    background: var(--primary-navy);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero .tagline {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gold);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-section {
    padding: 3rem 0;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.card .role {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card .credentials {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Student list */
.student-list {
    list-style: none;
    margin-top: 2rem;
}

.student-group {
    margin-bottom: 2rem;
}

.church-header {
    background: var(--primary-navy);
    color: white;
    padding: 1rem;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
}

.student {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-top: none;
    background: white;
}

.student:last-child {
    border-radius: 0 0 6px 6px;
}

.student img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.student h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.chip {
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Graduates section */
.graduate-highlight {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-gold);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.graduate-highlight h4 {
    color: var(--primary-navy);
}

.life-verse {
    font-style: italic;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.verse-reference {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-gold);
}

.timeline-item {
    position: relative;
    margin-left: 4rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 1rem;
    width: 1rem;
    height: 1rem;
    background: var(--primary-gold);
    border-radius: 50%;
}

.timeline-date {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Program cards */
.program-card {
    border-left: 4px solid var(--primary-navy);
}

.duration-badge {
    background: var(--primary-gold);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Pledge page */
.pledge-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.pledge-text {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.8;
    border-left: 4px solid var(--primary-gold);
    text-align: left;
}

.pledge-text p {
    margin-bottom: 1.5rem;
}

.pledge-signature {
    text-align: center;
    font-weight: 600;
    color: var(--primary-navy);
    font-style: italic;
    margin-top: 2rem;
}

/* Event schedule */
.event-schedule {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 2rem;
}

.schedule-header {
    background: var(--primary-navy);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.schedule-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-activity {
    font-weight: 500;
}

.schedule-presenter {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-verse {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-reference {
    color: var(--light-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-gold);
    text-decoration: none;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-glory {
    color: var(--light-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .hero .tagline {
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        margin-left: 2.5rem;
    }

    .timeline-item::before {
        left: -1.75rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000080;
        --primary-gold: #cc6600;
        --text-dark: #000000;
        --border-light: #808080;
    }
}

/* Print styles */
@media print {
    .header, .footer, .nav-menu, .mobile-menu-toggle, .cta-button {
        display: none !important;
    }

    .main-content {
        min-height: auto;
    }

    .hero {
        background: white !important;
        color: black !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}
