/* ============================================
   AYAH HUB PAGE - IslamAwakened
   Star Topology: Tier 1 Landing Page
   ============================================
   Updated: Feb 2026
   Changes: Split WFW into Parallel + Analysis,
            removed Recitation Options card.
            Grid remains 4-column on desktop.
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Site Header --- */
.site-header {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    padding: 0.75rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.primary-nav {
    display: flex;
    gap: 1.5rem;
}

.primary-nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.primary-nav a:hover {
    color: #ffffff;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.breadcrumbs a {
    color: #2563eb;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #9ca3af;
}

.breadcrumbs .current {
    color: #1f2937;
    font-weight: 500;
}

/* --- Arabic Hero (the star of the show) --- */
.arabic-hero {
    background: #ffffff;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.arabic-text {
    font-family: 'Amiri', 'Traditional Arabic', serif;
    font-size: 2.5rem;
    line-height: 2;
    color: #1e3a8a;
    padding: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.ayah-audio {
    display: block;
    margin: 1.5rem auto 0;
    max-width: 400px;
    width: 100%;
}

/* --- Featured Translation --- */
.featured-translation {
    background: #ffffff;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.featured-translation h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-translation .translation-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #1f2937;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-style: italic;
}

.view-more-btn {
    display: inline-block;
    color: #2563eb;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid #2563eb;
    border-radius: 6px;
    transition: all 0.2s;
}

.view-more-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

/* --- Study Method Cards --- */
.study-methods {
    padding: 3rem 0;
}

.study-methods h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.method-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: #1f2937;
}

.method-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.method-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.method-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e3a8a;
}

.method-card p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}

/* --- Popular Translations Preview --- */
.quick-translations {
    background: #ffffff;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
}

.quick-translations h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.translation-cards {
    max-width: 800px;
    margin: 0 auto;
}

.see-all {
    text-align: center;
    margin-top: 1.5rem;
}

/* --- Ayah Navigation --- */
.ayah-navigation {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

.ayah-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s;
}

.nav-link:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.nav-link[disabled] {
    opacity: 0.3;
    pointer-events: none;
}

.nav-link .arrow {
    font-size: 1.1rem;
}

/* --- Donation Block --- */
/* Inherits from shared donate template CSS */

/* --- Site Footer --- */
.site-footer {
    background: #1e293b;
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: #ffffff;
}

/* --- Donate Block --- */
.donate-simple {
    max-width: 700px;
    margin: 40px auto;
    padding: 0;
}

.donate-header {
    text-align: center;
    padding: 40px 20px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 16px 16px 0 0;
    color: white;
}

.donate-header h2 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    font-weight: 700;
}

.donate-header p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.support-option {
    padding: 30px;
    background: white;
    border-left: 4px solid #e0e0e0;
}

.support-option.primary {
    border-left-color: #2563eb;
    border-left-width: 6px;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.option-content {
    max-width: 600px;
    margin: 0 auto;
}

.option-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.support-option h3 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: #1e293b;
}

.support-option p {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.option-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.option-benefits li {
    padding: 10px 0;
    color: #1e293b;
    font-size: 1rem;
}

.donate-simple .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.donate-simple .btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

.donate-simple .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 58, 138, 0.4);
}

.btn-icon {
    font-size: 1.5rem;
}

.btn-text {
    flex: 1;
    text-align: center;
}

.btn-arrow {
    font-size: 1.3rem;
}

.option-note {
    text-align: center;
    color: #8492a6;
    font-size: 0.95rem;
    margin-top: 15px;
    font-style: italic;
}

#paypal-donate-container {
    margin: 20px auto;
    max-width: 400px;
}

.donate-footer {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
}

.donate-footer p {
    margin: 0;
    color: #5a6c7d;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .donate-simple {
        margin: 20px 10px;
    }

    .donate-header h2 {
        font-size: 1.5rem;
    }

    .donate-simple .btn {
        font-size: 1rem;
        padding: 16px 24px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .method-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .arabic-text {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .method-cards {
        grid-template-columns: 1fr;
    }

    .arabic-text {
        font-size: 1.5rem;
        line-height: 1.8;
    }

    .featured-translation .translation-text {
        font-size: 1.05rem;
    }

    .site-header .primary-nav {
        gap: 1rem;
    }

    .ayah-navigation .label {
        display: none;
    }

    .study-methods h3 {
        font-size: 1.25rem;
    }
}