/* ============================================================
   RADHA KRISHNA MANDIR — Home Page Styles
   Hero, Daily Rituals, Upcoming Festival
   ============================================================ */

/* ── Hero Section ────────────────────────────────────────── */
.hero {
    position: relative;
    background-color: var(--burgundy);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

@media (min-width: 768px) {
    .hero-inner {
        flex-direction: row;
        padding: var(--space-2xl) var(--space-xl);
        gap: var(--space-2xl);
    }
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        flex: 0 0 40%;
        max-width: 400px;
        margin-bottom: 0;
    }
}

.hero-image {
    width: 100%;
    border-radius: var(--border-radius-lg);
    border: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
}

/* Hero carousel nav arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    font-size: var(--fs-lg);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.hero-nav:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.hero-nav--prev {
    left: var(--space-sm);
}

.hero-nav--next {
    right: var(--space-sm);
}

/* Hero Text */
.hero-content {
    text-align: center;
    color: var(--ivory);
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
        flex: 1;
    }
}

.hero-content h1 {
    color: var(--gold);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: var(--fs-3xl);
    }
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: var(--fs-4xl);
    }
}

.hero-subtitle {
    font-size: var(--fs-md);
    color: var(--gold-light);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

@media (min-width: 768px) {
    .hero-subtitle {
        justify-content: flex-start;
        font-size: var(--fs-lg);
    }
}

.hero-subtitle .icon {
    font-size: var(--fs-xl);
}

/* ── Daily Rituals Section ───────────────────────────────── */
.daily-rituals {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.daily-rituals h2 {
    margin-bottom: var(--space-sm);
}

.rituals-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

@media (min-width: 768px) {
    .rituals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

.ritual-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--tan);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

@media (min-width: 768px) {
    .ritual-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl) var(--space-lg);
    }
}

.ritual-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.ritual-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ivory), var(--tan));
    border-radius: var(--border-radius);
    border: 1px solid var(--tan);
}

@media (min-width: 768px) {
    .ritual-icon {
        width: 80px;
        height: 80px;
    }
}

.ritual-icon svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
}

@media (min-width: 768px) {
    .ritual-icon svg {
        width: 40px;
        height: 40px;
    }
}

.ritual-info h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    color: var(--burgundy);
    margin-bottom: var(--space-xs);
}

.ritual-info p {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ── Featured Articles — Full-bleed dark section ─────────── */
.featured-articles {
    margin-top: var(--space-3xl);
}

.featured-articles-bg {
    background: linear-gradient(160deg, #1A0505 0%, var(--burgundy) 50%, #2A0808 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* subtle decorative pattern */
.featured-articles-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(197, 160, 89, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.featured-articles-label {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.featured-articles h2 {
    font-family: var(--font-heading);
    color: var(--ivory);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
    .featured-articles h2 {
        font-size: var(--fs-3xl);
    }
}

.featured-articles-subtitle {
    max-width: 520px;
    margin: 0 auto var(--space-2xl);
    font-size: var(--fs-sm);
    color: rgba(255, 249, 229, 0.55);
    line-height: 1.7;
}

/* Grid: hero left + 2 stacked right */
.featured-articles-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    text-align: left;
}

@media (min-width: 1024px) {
    .featured-articles-grid {
        flex-direction: row;
        align-items: stretch;
    }
}

/* ── Card base ───────────────────────────────────────────── */
.fa-card {
    display: flex;
    text-decoration: none;
    color: inherit;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}

.fa-card:hover {
    transform: translateY(-4px);
}

/* Large decorative number */
.fa-card-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-lg);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    opacity: 0.08;
    line-height: 1;
    pointer-events: none;
    color: var(--gold);
}

.fa-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ── Hero Card (main / featured) ─────────────────────────── */
.fa-card--hero {
    background: linear-gradient(145deg, rgba(197, 160, 89, 0.12) 0%, rgba(197, 160, 89, 0.04) 100%);
    border: 1px solid rgba(197, 160, 89, 0.25);
    padding: var(--space-xl) var(--space-lg);
}

@media (min-width: 1024px) {
    .fa-card--hero {
        flex: 1.2;
        padding: var(--space-2xl);
    }
}

.fa-card--hero:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(197, 160, 89, 0.35);
    border-color: rgba(197, 160, 89, 0.45);
}

.fa-card--hero .fa-card-number {
    font-size: 5rem;
    opacity: 0.1;
}

.fa-card--hero h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--gold);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

@media (min-width: 768px) {
    .fa-card--hero h3 {
        font-size: var(--fs-2xl);
    }
}

.fa-card--hero p {
    font-size: var(--fs-sm);
    color: rgba(255, 249, 229, 0.65);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    flex: 1;
}

/* ── Side Cards Container ────────────────────────────────── */
.fa-side-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .fa-side-cards {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .fa-side-cards {
        flex: 0.8;
    }
}

/* ── Side Card ───────────────────────────────────────────── */
.fa-card--side {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: var(--space-lg);
}

.fa-card--side:hover {
    background: rgba(197, 160, 89, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border-color: rgba(197, 160, 89, 0.35);
}

.fa-card--side h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--gold-light);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    transition: color var(--transition);
}

.fa-card--side:hover h3 {
    color: var(--gold);
}

.fa-card--side p {
    font-size: var(--fs-sm);
    color: rgba(255, 249, 229, 0.5);
    line-height: 1.65;
    margin-bottom: var(--space-md);
    flex: 1;
}

/* ── Category Tags ───────────────────────────────────────── */
.fa-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 3px var(--space-sm);
    font-size: 0.6rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 999px;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.fa-tag--origin {
    background: linear-gradient(135deg, #8B3A3A, #6B1E1E);
}

.fa-tag--sampradaya {
    background: linear-gradient(135deg, #3A7A6A, #2E5A4E);
}

.fa-tag--spirituality {
    background: linear-gradient(135deg, #7B5AAC, #5B3A8C);
}

/* ── CTA Link ────────────────────────────────────────────── */
.fa-cta {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: all var(--transition);
}

.fa-cta-arrow {
    display: inline-block;
    transition: transform var(--transition);
}

.fa-card:hover .fa-cta {
    color: var(--gold-light);
}

.fa-card:hover .fa-cta-arrow {
    transform: translateX(4px);
}

/* ── Footer CTA ──────────────────────────────────────────── */
.featured-articles-footer {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ── About Brief ─────────────────────────────────────────── */
.about-brief {
    padding: var(--space-2xl) 0;
    text-align: center;
}

.about-brief p {
    max-width: 700px;
    margin: var(--space-md) auto;
    font-size: var(--fs-md);
    line-height: 1.8;
    color: var(--text-body);
}