/* ==========================================================================
   Iman Journey - Minimalist Spiritual Event Template
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-white: #FFFFFF;
    --clr-emerald: #1B4D3E; /* Deep forest/emerald green */
    --clr-emerald-light: #2A725A;
    --clr-sand: #F4EEDD; /* Soft warm sand */
    --clr-gold: #C5A059;
    --clr-text-dark: #2C3E50;
    --clr-text-muted: #7F8C8D;
    --clr-light: #F9F9F9;
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-arabic: 'Noto Naskh Arabic', serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--clr-text-dark);
    background-color: var(--clr-white);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.5px;
}

.arabic-font { font-family: var(--font-arabic); font-size: 2.2rem; line-height: 1.8; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: var(--clr-white); }
.text-emerald { color: var(--clr-emerald); }
.text-gold { color: var(--clr-gold); }
.text-muted { color: var(--clr-text-muted); }

.bg-sand { background-color: var(--clr-sand); }
.bg-emerald { background-color: var(--clr-emerald); }
.bg-white { background-color: var(--clr-white); }
.bg-light { background-color: var(--clr-light); }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.pl-4 { padding-left: 2rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 2rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.shadow { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.rounded { border-radius: 12px; }
.font-weight-bold { font-weight: 600; }
.border-top { border-top: 1px solid #eaeaea; }

.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

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

.section { padding: 100px 0; }
.section-title { font-size: 2.2rem; margin-bottom: 15px; color: var(--clr-emerald); }

.divider {
    height: 2px;
    width: 50px;
    background-color: var(--clr-gold);
    margin: 0 auto 30px auto;
}
.divider-left {
    height: 2px;
    width: 50px;
    background-color: var(--clr-gold);
    margin: 0 0 20px 0;
}

.lead-text { font-size: 1.2rem; font-weight: 300; line-height: 1.8; }

/* Buttons */
.btn-solid {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--clr-emerald);
    color: var(--clr-white);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(27, 77, 62, 0.3);
}
.btn-solid:hover { background-color: var(--clr-emerald-light); transform: translateY(-2px); }

.btn-solid-white {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--clr-white);
    color: var(--clr-emerald);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-solid-white:hover { background-color: var(--clr-sand); }

.btn-outline {
    display: inline-block;
    padding: 14px 34px;
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-white);
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-outline:hover { background-color: var(--clr-white); color: var(--clr-text-dark); }

/* ==========================================================================
   Opening Animation
   ========================================================================== */
.opening-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 9999;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.journey-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Animated in via JS */
    transform: scale(1.1);
}

.opening-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.opening-text {
    position: relative;
    z-index: 2;
}

.fade-text {
    font-size: 3rem;
    color: var(--clr-white);
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(27, 77, 62, 0.1);
    color: var(--clr-emerald);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    font-size: 4.5rem;
    color: var(--clr-text-dark);
}

.event-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--clr-text-muted);
}

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

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

/* ==========================================================================
   Topics Section
   ========================================================================== */
.topic-card {
    background: var(--clr-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}
.topic-card:hover { transform: translateY(-5px); }

.icon-circle {
    width: 80px; height: 80px;
    background-color: var(--clr-sand);
    color: var(--clr-emerald);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px auto;
}

.topic-card h3 { font-size: 1.3rem; margin-bottom: 10px; }

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.journey-timeline {
    position: relative;
    padding: 20px 0;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 24px;
    height: 100%; width: 2px;
    background-color: rgba(27, 77, 62, 0.2);
}

.timeline-block {
    position: relative;
    margin-bottom: 40px;
    padding-left: 70px;
}

.timeline-dot {
    position: absolute;
    top: 5px; left: 16px;
    width: 18px; height: 18px;
    background-color: var(--clr-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--clr-white), 0 0 0 6px rgba(27, 77, 62, 0.2);
}

.timeline-content .date {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Speaker Section
   ========================================================================== */
.speaker-icon {
    width: 100px; height: 100px;
    background-color: var(--clr-sand);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--clr-gold);
}

/* ==========================================================================
   Register Section
   ========================================================================== */
.form-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: var(--clr-white);
    font-family: var(--font-main);
    font-size: 1rem;
}
.form-input::placeholder { color: rgba(255,255,255,0.7); }
.form-input:focus { outline: none; border-color: var(--clr-white); background-color: rgba(255,255,255,0.2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .event-title { font-size: 3rem; }
    .fade-text { font-size: 2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .theme-content { padding-left: 0; }
    .speaker-profile { flex-direction: column; text-align: center; }
    .speaker-img-wrapper { margin-right: 0; margin-bottom: 20px; }
    .speaker-info { text-align: center; }
    .journey-timeline::before { left: 14px; }
    .timeline-block { padding-left: 50px; }
    .timeline-dot { left: 6px; }
}
