/* ==========================================================================
   Sakinah Circle - Soft Feminine Islamic Event Template
   ========================================================================== */

:root {
    /* Color Palette */
    --clr-pastel-green: #A3C9A8;
    --clr-blush-cream: #FDF6F5;
    --clr-blush-pink: #F4DCD6;
    --clr-white: #FFFFFF;
    --clr-gold: #D4AF37;
    --clr-text: #4A4A4A;
    --clr-text-light: #7A7A7A;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lora', 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.7;
    overflow-x: hidden;
}

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

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.bg-blush { background-color: var(--clr-blush-cream); }
.w-100 { width: 100%; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.max-w-3xl { max-width: 800px; margin-left: auto; margin-right: auto; }

.section {
    padding: 90px 0;
}

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

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

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

.lead-text {
    font-size: 1.15rem;
    color: var(--clr-text-light);
}

/* Buttons */
.btn-soft {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--clr-blush-pink);
    color: var(--clr-text);
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-soft:hover {
    background-color: var(--clr-pastel-green);
    color: var(--clr-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(163, 201, 168, 0.4);
}

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

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

.prayer-mat {
    width: 150px;
    opacity: 0;
    transform: scaleY(0) rotateX(90deg); /* Start folded/flat */
    transform-origin: bottom center;
}

.floating-floral {
    position: absolute;
    width: 300px;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.welcome-text {
    font-size: 2rem;
    color: var(--clr-text);
    margin-top: 30px;
    opacity: 0;
    z-index: 2;
    font-style: italic;
}

/* ==========================================================================
   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: rgba(253, 246, 245, 0.6); /* Blush cream overlay */
}

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

.hero-floral {
    width: 120px;
    margin-bottom: 20px;
}

.event-title {
    font-size: 4.5rem;
    color: var(--clr-pastel-green);
    margin-bottom: 10px;
}

.event-subtitle {
    font-size: 1.4rem;
    color: var(--clr-text);
    font-style: italic;
}

/* ==========================================================================
   Date & Venue
   ========================================================================== */
.info-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-card {
    background: var(--clr-white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(244, 220, 214, 0.5); /* Blush pink border */
}

.icon-pastel {
    font-size: 2.5rem;
    color: var(--clr-pastel-green);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Activities Grid
   ========================================================================== */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.activity-item {
    text-align: center;
    padding: 30px 20px;
}

.activity-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background-color: var(--clr-blush-pink);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--clr-text);
    transition: transform 0.3s ease;
}

.activity-item:hover .activity-icon {
    transform: scale(1.1);
    background-color: var(--clr-pastel-green);
    color: var(--clr-white);
}

.activity-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   Speaker Profile
   ========================================================================== */
.speaker-profile {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.speaker-img {
    position: relative;
    width: 300px;
    height: 300px;
}

.frame-decor {
    position: absolute;
    top: -20px; left: -20px;
    width: 340px;
    height: 340px;
    object-fit: contain;
    z-index: 1;
    opacity: 0.5;
}

.avatar-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background-color: var(--clr-pastel-green);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: var(--clr-white);
    z-index: 2;
}

.speaker-text {
    flex: 1;
}

.speaker-text h3 {
    font-size: 2rem;
    color: var(--clr-text);
    margin-bottom: 5px;
}

.speaker-text .designation {
    color: var(--clr-gold);
    font-style: italic;
    margin-bottom: 15px;
}

/* ==========================================================================
   Reflection Section
   ========================================================================== */
.reflection-section {
    background-color: var(--clr-pastel-green);
    color: var(--clr-white);
}

.reflection-icon {
    font-size: 3rem;
    color: var(--clr-white);
    opacity: 0.8;
}

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

.reflection-section .translated-text {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
}

.reflection-section .source-text {
    font-weight: bold;
    opacity: 0.9;
}

/* ==========================================================================
   Reminder Section
   ========================================================================== */
.reminder-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--clr-white);
    padding: 40px;
    border-radius: 15px;
    border: 1px dashed var(--clr-pastel-green);
}

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

.reminder-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--clr-text-light);
}

.reminder-list i {
    color: var(--clr-pastel-green);
}

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

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-color: #f9f9f9;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
}

.rsvp-form-container {
    background: var(--clr-blush-cream);
    padding: 40px;
    border-radius: 15px;
}

.rsvp-form input,
.rsvp-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    font-family: var(--font-body);
    background: var(--clr-white);
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: var(--clr-pastel-green);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 40px 0;
    background-color: #fcfcfc;
}

.footer-floral {
    width: 50px;
    margin-bottom: 15px;
    opacity: 0.6;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .event-title { font-size: 3rem; }
    .speaker-profile { flex-direction: column; text-align: center; }
    .divider-left { margin: 0 auto 20px auto; }
    .grid-2 { grid-template-columns: 1fr; }
}
