/* footer overrides */
footer .footer-flex { margin-top: 4%; }
footer .flex-col:first-child { display: none; }

/* header styles */
.header {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(78, 26, 15, 0.85), rgba(78, 26, 15, 0.95)), url('/images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
    border-bottom: 4px solid var(--accent-gold);
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    margin: 0 0 15px 0;
    color: var(--accent-gold-light);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header p {
    font-size: 18px;
    color: #e6d5c3;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '❖';
    display: block;
    color: var(--divine-vermillion);
    font-size: 16px;
    margin-top: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    max-width: 750px;
    margin: -30px auto 50px auto;
    line-height: 1.8;
}

/* Core Teachings Section */
.core-teachings {
    padding: 100px 0;
    border-bottom: 1px solid rgba(78, 26, 15, 0.15);
}

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

.teaching-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-divine);
    border: 1px solid rgba(232, 184, 64, 0.25);
    transition: var(--transition-smooth);
}

.teaching-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-divine-hover);
    border-color: var(--accent-gold);
}

.teaching-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--parchment-bg);
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.teaching-card:hover .icon-box {
    background-color: var(--divine-vermillion);
    border-color: var(--accent-gold-light);
    color: white;
    transform: rotate(5deg) scale(1.05);
}

.teaching-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.teaching-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Parables Section */
.parables-section {
    padding: 100px 0;
    background-color: #FAF4EB;
}

.parables-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.parable-card {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-divine);
    border: 3px solid var(--accent-gold);
    border-radius: 50px 16px 50px 16px / 16px 50px 16px 50px; /* Traditional shape */
    position: relative;
    overflow: hidden;
}

.parable-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid var(--parchment-border);
    border-radius: inherit;
    pointer-events: none;
}

.parable-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: rgba(212, 91, 18, 0.15);
    line-height: 1;
}

.parable-content {
    flex: 1;
}

.parable-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 5px;
}

.parable-content p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin: 0;
}

/* Wisdom Quote Section */
.wisdom-quote-section {
    padding: 100px 0;
    background-image: linear-gradient(rgba(78, 26, 15, 0.92), rgba(78, 26, 15, 0.96)), url('/images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.quote-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 120px;
    line-height: 1;
    color: rgba(232, 184, 64, 0.15);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

.quote-box blockquote {
    font-family: var(--font-heading);
    font-size: 26px;
    line-height: 1.7;
    color: var(--accent-gold-light);
    margin: 0 0 25px 0;
    position: relative;
    z-index: 2;
    font-style: italic;
}

.quote-box cite {
    font-size: 16px;
    color: #e6d5c3;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* CTA Section */
.lessons-cta {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(78, 26, 15, 0.15);
}

.lessons-cta h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.lessons-cta p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 992px) {
    .teachings-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .parable-card {
        flex-direction: column;
        gap: 15px;
        padding: 30px;
        text-align: center;
        border-radius: 24px;
    }
    
    .parable-number {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 70px 0;
    }
    
    .header h1 {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
    
    .quote-box blockquote {
        font-size: 20px;
    }
    
    .core-teachings, .parables-section, .wisdom-quote-section, .lessons-cta {
        padding: 60px 0;
    }
}