/* Hero Section */
.hero {
    background-color: var(--bg-secondary);
    padding: 6rem 0;
    /* Updated to 6rem as requested */
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--black);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Home Search */
.home-search {
    margin-top: -36px;
    margin-bottom: 5rem;
    /* Increased to 5rem */
}

/* Visual Navigation Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 5rem 0;
    /* Increased to 5rem */
}

.nav-card {
    background-color: var(--white);
    padding: 2.5rem;
    /* Increased padding */
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-card:hover {
    transform: translateY(-2px);
    border-color: #d1d1d1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    display: block;
    color: var(--accent-blue);
}

.nav-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.nav-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Latest Pericopes */
.latest-section {
    padding: 5rem 0;
    /* Increased to 5rem */
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2rem;
}

.pericope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pericope-card {
    background-color: var(--white);
    padding: 2.5rem;
    /* Increased padding */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pericope-card:hover {
    border-color: #d1d1d1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pericope-ref {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.875rem;
    font-family: var(--font-header);
    margin-bottom: 12px;
}

.pericope-card h4 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 16px;
    flex-grow: 1;
}

.view-link {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--accent-blue);
    margin-top: 24px;
    transition: var(--transition);
}

.view-link:hover {
    transform: translateX(4px);
}

/* Tags */
.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background-color: #f5f5f5;
    /* Updated */
    padding: 0.375rem 0.75rem;
    /* Updated */
    border-radius: 4px;
    font-size: 0.875rem;
    /* Updated */
    color: #525252;
    /* Updated */
    border: 1px solid #e5e5e5;
    /* Updated */
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
    /* Increased to 5rem */
    background-color: var(--gray-50);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    font-family: var(--font-header);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Value Props */
.value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin: 6rem auto;
    /* Updated */
    text-align: center;
}

.value-item .icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    display: block;
    color: var(--accent-blue);
}

.value-item h3 {
    margin-bottom: 12px;
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-grid,
    .pericope-grid,
    .stats-grid,
    .value-props {
        grid-template-columns: 1fr;
    }

    .value-props {
        gap: 48px;
    }
}