/* ==========================================================================
   Echoes of Iman - Modern Artistic Microsite
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-emerald-dark: #0A2E22;
    --clr-emerald-mid: #145942;
    --clr-green-light: #E8F5F0;
    --clr-gold: #D4AF37;
    --clr-gold-light: #EEDFA3;
    --clr-white: #FFFFFF;
    --clr-text: #2C3E50;
    --clr-muted: #7F8C8D;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-arabic: 'Amiri', serif;
}

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

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

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

.arabic-impact {
    font-family: var(--font-arabic);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--clr-gold);
}

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

.bg-light-green { background-color: var(--clr-green-light); }
.bg-dark-emerald { background-color: var(--clr-emerald-dark); }

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

.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.align-items-center { align-items: 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.8rem; margin-bottom: 15px; letter-spacing: -1px; color: var(--clr-emerald-dark); }
.section-title.text-white { color: var(--clr-white); }

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--clr-gold);
    margin: 0 auto 30px auto;
    border-radius: 2px;
}
.divider-left {
    height: 3px;
    width: 60px;
    background-color: var(--clr-gold);
    margin: 0 0 30px 0;
    border-radius: 2px;
}

.lead-text { font-size: 1.25rem; font-weight: 300; line-height: 1.8; color: var(--clr-muted); }

/* Buttons */
.btn-modern {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--clr-white);
    border: 2px solid var(--clr-gold);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-modern:hover { background-color: var(--clr-gold); color: var(--clr-emerald-dark); }

.btn-icon {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--clr-green-light);
    color: var(--clr-emerald-dark);
    border: 1px solid rgba(10, 46, 34, 0.1);
    border-radius: 30px;
    font-weight: 600;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-icon:hover { background-color: var(--clr-emerald-mid); color: var(--clr-white); }
.btn-icon i { margin-right: 8px; }

/* ==========================================================================
   Opening Animation
   ========================================================================== */
.opening-container {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0; left: 0;
    z-index: 9999;
    background-color: var(--clr-emerald-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.echo-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    border: 2px solid var(--clr-gold);
    opacity: 0;
}

.circle-1 { width: 300px; height: 300px; }
.circle-2 { width: 600px; height: 600px; }
.circle-3 { width: 1000px; height: 1000px; }

.pattern-reveal {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
}

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

.echo-title {
    font-size: 3rem;
    color: var(--clr-white);
    opacity: 0;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 46, 34, 0.9), rgba(20, 89, 66, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--clr-white);
}

.modern-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--clr-gold);
    border: 1px solid var(--clr-gold);
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.event-title { font-size: 5rem; }
.event-subtitle { font-size: 1.5rem; font-weight: 300; opacity: 0.9; }

.scroll-down-icon {
    display: inline-block;
    color: var(--clr-gold);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

/* ==========================================================================
   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
   ========================================================================== */
.modern-list { list-style: none; }
.modern-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.list-icon {
    width: 50px; height: 50px;
    background-color: var(--clr-green-light);
    color: var(--clr-emerald-mid);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}
.modern-list h3 { font-size: 1.4rem; color: var(--clr-emerald-dark); margin-bottom: 5px; }
.modern-list p { color: var(--clr-muted); }

.rounded-art {
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(10, 46, 34, 0.1);
}

/* ==========================================================================
   Reminders Cards
   ========================================================================== */
.reminder-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 15px;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

.reminder-card:hover, .reminder-card.active-card {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-10px);
}

.quote-mark {
    font-size: 3rem;
    color: var(--clr-gold);
    opacity: 0.3;
    position: absolute;
    top: 20px; left: 20px;
}

.quote-text {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
}

/* ==========================================================================
   Speaker Insights
   ========================================================================== */
.speaker-insight-box {
    background: var(--clr-white);
    border: 1px solid #eaeaea;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
}

.speaker-img-placeholder {
    width: 100px; height: 100px;
    background-color: var(--clr-emerald-dark);
    color: var(--clr-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: -100px auto 20px auto;
    border: 5px solid var(--clr-white);
}

.insight-text {
    font-size: 1.3rem;
    color: var(--clr-muted);
    font-style: italic;
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 46, 34, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay h4 {
    color: var(--clr-gold);
    font-size: 1.5rem;
    letter-spacing: 1px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay h4 { transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .event-title { font-size: 3.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .pr-4 { padding-right: 0; }
    .echo-title { font-size: 2rem; }
    .speaker-insight-box { padding: 40px 20px; }
}
