/* ==========================================================================
   Noor Majlis - Glowing Night Islamic Event Template
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-navy: #0B192C;
    --clr-navy-dark: #060d1a;
    --clr-gold: #FFD700;
    --clr-gold-dim: #cca800;
    --clr-white: #FFFFFF;
    --clr-light-blue: #88c0d0;
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
}

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

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

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

.text-gold { color: var(--clr-gold); }
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.bg-darker { background-color: var(--clr-navy-dark); }
.w-100 { width: 100%; }

.container {
    max-width: 1200px;
    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.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.divider {
    height: 2px;
    width: 50px;
    background-color: var(--clr-gold);
    margin: 0 auto 30px auto;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: var(--clr-gold);
    text-decoration: none;
    border: 2px solid var(--clr-gold);
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.btn-glow {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    text-transform: uppercase;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    transform: translateY(-2px);
}

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

.night-sky {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stars-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    mix-blend-mode: screen;
}

.glowing-moon {
    width: 200px;
    opacity: 0;
    filter: drop-shadow(0 0 30px rgba(255,215,0,0.4));
    transform: translateY(20px);
}

.opening-text {
    margin-top: 30px;
    text-align: center;
}

.glow-text {
    font-size: 2rem;
    color: var(--clr-white);
    opacity: 0;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    letter-spacing: 2px;
}

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

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(11, 25, 44, 0.4) 0%, rgba(11, 25, 44, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.event-title {
    font-size: 5rem;
    color: var(--clr-gold);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    margin-bottom: 10px;
}

.event-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #e0e0e0;
}

/* Countdown Timer */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    min-width: 100px;
    backdrop-filter: blur(5px);
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--clr-gold);
    line-height: 1;
}

.countdown-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: #aaa;
}

/* ==========================================================================
   Program Schedule Grid
   ========================================================================== */
.grid-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.time-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--clr-gold);
    color: var(--clr-navy);
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-weight: bold;
    border-bottom-left-radius: 8px;
}

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

.schedule-card p {
    color: #bbb;
    font-size: 0.95rem;
}

/* ==========================================================================
   Speaker Section
   ========================================================================== */
.speaker-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 15px;
    border-left: 3px solid var(--clr-gold);
}

.avatar-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-navy-dark), #1a2c4c);
    border: 4px solid var(--clr-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.speaker-details h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.speaker-details .designation {
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.speaker-details .bio {
    color: #ccc;
    font-size: 1.05rem;
}

/* ==========================================================================
   Highlight Section
   ========================================================================== */
.highlight-section {
    position: relative;
    background: linear-gradient(rgba(11, 25, 44, 0.9), rgba(11, 25, 44, 0.9)), url('/Users/dziya/.gemini/antigravity/brain/ef21d4ad-af82-4066-8a24-f038485069cc/noor_stars_1777427546675.png');
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 20px;
}

.highlight-icon {
    font-size: 3rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.arabic-text {
    font-size: 2.5rem;
    color: var(--clr-white);
    line-height: 1.8;
}

.translated-text {
    font-size: 1.3rem;
    font-style: italic;
    color: #e0e0e0;
}

/* ==========================================================================
   Venue & Gallery (Grid 2)
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.venue-list {
    list-style: none;
}

.venue-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.venue-list i {
    font-size: 1.5rem;
    margin-top: 3px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-item {
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Register Section
   ========================================================================== */
.register-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.register-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
}

.register-form input:focus {
    outline: none;
    border-color: var(--clr-gold);
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
    width: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .event-title { font-size: 3.5rem; }
    .countdown-wrapper { flex-wrap: wrap; }
    .speaker-wrapper { flex-direction: column; text-align: center; }
    .grid-2 { grid-template-columns: 1fr; }
    .avatar-circle { width: 200px; height: 200px; }
}
