/* ==========================================================================
   Tadabbur Night - Elegant Minimal Microsite
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-cream: #FDFBF7;
    --clr-cream-dark: #F5F0E6;
    --clr-green-light: #E9F0EC;
    --clr-green: #2C5F4A;
    --clr-gold: #C2A878;
    --clr-white: #FFFFFF;
    --clr-text: #4A4A4A;
    --clr-muted: #8C8C8C;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Nunito', 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.8;
    overflow-x: hidden;
}

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

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

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

.bg-cream { background-color: var(--clr-cream); }
.bg-light-green { background-color: var(--clr-green-light); }
.bg-white { background-color: var(--clr-white); }

.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; }
.mb-5 { margin-bottom: 3rem; }
.pr-4 { padding-right: 2rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

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

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

.section { padding: 100px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; font-style: italic; }

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

.lead-text { font-size: 1.15rem; font-weight: 300; }
.translated-text { font-size: 1.2rem; font-style: italic; font-family: var(--font-heading); color: var(--clr-muted); }

.border-top { border-top: 1px solid var(--clr-cream-dark); }

/* Buttons */
.btn-elegant {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: var(--clr-green);
    border: 1px solid var(--clr-green);
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
}
.btn-elegant:hover {
    background-color: var(--clr-green);
    color: var(--clr-white);
    transform: translateY(-2px);
}

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

.bg-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.quran-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 40px;
    z-index: 2;
}

.quran-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: scale(0.9);
}

.glow-effect {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(245, 240, 230, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    border-radius: 50%;
    opacity: 0;
}

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

.tadabbur-title {
    font-size: 2.2rem;
    color: var(--clr-green);
    letter-spacing: 2px;
    font-style: italic;
    opacity: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding: 150px 0 100px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.event-title { font-size: 4rem; color: var(--clr-green); margin-bottom: 10px; }
.event-subtitle { font-size: 1.3rem; font-style: italic; color: var(--clr-muted); }

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

/* ==========================================================================
   Ayat Section
   ========================================================================== */
.ayat-card {
    background: var(--clr-white);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(44, 95, 74, 0.05);
    border-left: 3px solid var(--clr-gold);
}

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

.ayat-translation {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--clr-green);
}

.ayat-explanation h4 {
    font-size: 1.2rem;
    color: var(--clr-text);
    margin-bottom: 10px;
    font-weight: 600;
}

/* ==========================================================================
   Reflection Points List
   ========================================================================== */
.elegant-list { list-style: none; }
.elegant-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}
.elegant-list i {
    margin-top: 5px;
    margin-right: 15px;
    font-size: 1.2rem;
}

.rounded-image {
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(44, 95, 74, 0.1);
    border: 10px solid var(--clr-cream);
}

/* ==========================================================================
   Tafsir Quote
   ========================================================================== */
.quote-box {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(44, 95, 74, 0.1);
    border-radius: 8px;
    background-color: var(--clr-white);
}

.quote-icon {
    font-size: 4rem;
    position: absolute;
    top: -25px; left: 50%;
    transform: translateX(-50%);
    background-color: var(--clr-green-light);
    padding: 0 20px;
}

.tafsir-quote {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--clr-green);
    line-height: 1.8;
}

.tafsir-author { font-size: 1rem; color: var(--clr-gold); letter-spacing: 1px; }

/* ==========================================================================
   Breathing Circle
   ========================================================================== */
.breathing-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(44, 95, 74, 0.1);
    border: 2px solid var(--clr-green);
    animation: breathe 8s infinite ease-in-out;
}

@keyframes breathe {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .event-title { font-size: 3rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .pr-4 { padding-right: 0; }
    .ayat-card { padding: 30px 20px; }
}
