/* ==========================================================================
   Path to Noor - Cinematic Storytelling Microsite
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-bg-dark: #050505;
    --clr-bg-darker: #020202;
    --clr-gold: #D4AF37;
    --clr-gold-glow: rgba(212, 175, 55, 0.6);
    --clr-white: #FFFFFF;
    --clr-light: #E0E0E0;
    --clr-muted: #888888;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lora', serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-dark);
    color: var(--clr-light);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
h1, h2, h3, h4, .arabic-font {
    font-family: var(--font-heading);
    font-weight: 600;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gold { color: var(--clr-gold); }
.text-white { color: var(--clr-white); }
.text-light { color: var(--clr-light); }
.text-muted { color: var(--clr-muted); }
.font-italic { font-style: italic; }

.bg-darker { background-color: var(--clr-bg-darker); }
.bg-dark-gradient { background: linear-gradient(to bottom, #050505, #0a0a0a); }

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 3rem; }
.pr-4 { padding-right: 2rem; }
.pt-4 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1.5rem; }

.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.position-relative { position: relative; }
.align-items-center { align-items: center; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.max-w-3xl { max-width: 800px; margin-left: auto; margin-right: auto; }

.section { padding: 120px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; letter-spacing: 1px; }

.divider {
    height: 1px;
    width: 80px;
    background-color: var(--clr-gold);
    margin: 0 auto 40px auto;
    box-shadow: 0 0 10px var(--clr-gold-glow);
}
.divider-left {
    height: 1px;
    width: 80px;
    background-color: var(--clr-gold);
    margin: 0 0 30px 0;
    box-shadow: 0 0 10px var(--clr-gold-glow);
}

.border-top-gold {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Opening Animation
   ========================================================================== */
.opening-container {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.cinematic-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Revealed by GSAP */
    z-index: 1;
}

.darkness-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000;
    z-index: 2;
}

.opening-text {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.glow-title {
    font-size: 3.5rem;
    color: var(--clr-gold);
    text-shadow: 0 0 20px var(--clr-gold-glow);
    opacity: 0;
    transform: translateY(20px);
}

.scroll-hint {
    font-family: var(--font-body);
    color: var(--clr-muted);
    margin-top: 40px;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
}

.scroll-arrow {
    color: var(--clr-gold);
    margin-top: 10px;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ==========================================================================
   Storytelling & Typography
   ========================================================================== */
.story-text {
    font-size: 1.3rem;
    line-height: 2;
    color: var(--clr-light);
    font-weight: 300;
}

.arabic-font {
    font-size: 2.5rem;
    line-height: 2;
}

.translated-text {
    font-size: 1.4rem;
    font-style: italic;
    font-family: var(--font-body);
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

/* ==========================================================================
   Theme Section
   ========================================================================== */
.cinematic-img {
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Journey Timeline
   ========================================================================== */
.journey-timeline {
    position: relative;
    padding-left: 50px;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 14px;
    height: 100%; width: 1px;
    background: linear-gradient(to bottom, #333, var(--clr-gold), var(--clr-white));
}

.journey-step {
    position: relative;
    margin-bottom: 50px;
}

.journey-step:last-child { margin-bottom: 0; }

.step-icon {
    position: absolute;
    top: 0; left: -50px;
    width: 30px; height: 30px;
    background-color: var(--clr-bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.step-icon.glow {
    text-shadow: 0 0 15px currentColor;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Lessons Cards
   ========================================================================== */
.lesson-card {
    padding: 40px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lesson-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(255,255,255,0.04);
}

.lesson-icon {
    font-size: 2.5rem;
    color: var(--clr-gold);
    margin-bottom: 20px;
    opacity: 0.8;
}

.lesson-card h4 {
    font-size: 1.3rem;
    color: var(--clr-white);
    margin-bottom: 15px;
}

/* ==========================================================================
   Speaker Profile
   ========================================================================== */
.speaker-profile {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--clr-gold);
    border-radius: 0 8px 8px 0;
}

.speaker-avatar {
    width: 80px; height: 80px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--clr-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Quran Section
   ========================================================================== */
.quran-section {
    position: relative;
    background-size: cover;
    background-position: center;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
}

.quran-icon {
    font-size: 3rem;
    color: var(--clr-gold);
    text-shadow: 0 0 20px var(--clr-gold-glow);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .glow-title { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .pr-4 { padding-right: 0; }
    .speaker-profile { flex-direction: column; text-align: center; align-items: center; }
}
