/* =========================================
   05 Iftar Mosque
   ========================================= */

:root {
    --night-blue: #0A192F;
    --night-dark: #020C1B;
    --silver: #E2E8F0;
    --white: #FFFFFF;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Quicksand', sans-serif;
}

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

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

.mosque-wrapper {
    position: relative;
    width: 100%;
}

/* Night Sky */
.night-sky {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
}
.star {
    position: absolute;
    background-color: var(--white);
    border-radius: 50%;
    animation: twinkle 4s infinite alternate;
}
.star1 { width: 3px; height: 3px; top: 10%; left: 20%; animation-duration: 3s; }
.star2 { width: 4px; height: 4px; top: 30%; right: 15%; animation-duration: 5s; }
.star3 { width: 2px; height: 2px; top: 50%; left: 10%; animation-duration: 2s; }
.star4 { width: 3px; height: 3px; top: 20%; right: 40%; animation-duration: 4s; }
.star5 { width: 5px; height: 5px; top: 40%; left: 60%; animation-duration: 6s; }

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2) rotate(45deg); box-shadow: 0 0 10px var(--white); }
}

/* Hero Section */
.mosque-hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, var(--night-dark) 0%, var(--night-blue) 100%);
    padding: 50px 20px 150px;
}

.hero-content {
    z-index: 5;
    max-width: 700px;
}

.mosque-icon {
    font-size: 5rem;
    color: var(--silver);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(226, 232, 240, 0.5));
}

.mosque-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--silver);
    margin-bottom: 20px;
}

.names {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto;
}

.silhouette-bottom {
    position: absolute;
    bottom: -1px; left: 0; width: 100%;
    z-index: 3;
    line-height: 0;
}
.silhouette-bottom svg {
    width: 100%;
    height: 150px;
}

/* Details Section */
.mosque-details {
    position: relative;
    z-index: 5;
    padding: 60px 5% 80px;
    background-color: var(--white);
}

.details-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.mosque-card {
    flex: 1;
    min-width: 280px;
    background-color: #F8FAFC;
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--night-blue);
    transition: transform 0.3s ease;
}
.mosque-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 3.5rem;
    color: var(--night-blue);
    margin-bottom: 20px;
}

.mosque-card h2 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #64748B;
    margin-bottom: 10px;
}

.highlight {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--night-dark);
    margin-bottom: 10px;
}

.mosque-card p {
    color: #475569;
    font-weight: 400;
}

.btn-mosque {
    display: inline-block;
    padding: 8px 30px;
    background-color: transparent;
    color: var(--night-blue);
    border: 2px solid var(--night-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-top: 25px;
    transition: all 0.3s ease;
}
.btn-mosque:hover {
    background-color: var(--night-blue);
    color: var(--white);
}

/* RSVP Section */
.mosque-rsvp {
    position: relative;
    z-index: 5;
    padding: 80px 5% 100px;
    display: flex;
    justify-content: center;
    background-color: #F1F5F9;
}

.rsvp-content {
    background-color: var(--white);
    padding: 60px 50px;
    max-width: 650px;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.rsvp-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--night-dark);
    margin-bottom: 15px;
}
.rsvp-content p {
    font-weight: 400;
    margin-bottom: 30px;
    color: #64748B;
}

.mosque-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mosque-form input,
.mosque-form select {
    padding: 15px;
    background-color: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    color: var(--night-dark);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}
.mosque-form input:focus,
.mosque-form select:focus {
    border-color: var(--night-blue);
}

.btn-mosque-solid {
    padding: 15px;
    background-color: var(--night-blue);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}
.btn-mosque-solid:hover {
    background-color: var(--night-dark);
}

.form-message {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--night-blue);
}

.mosque-footer {
    position: relative;
    z-index: 5;
    background-color: var(--white);
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
    color: #94A3B8;
}
.mosque-footer a {
    color: var(--night-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .names { font-size: 3.5rem; }
    .rsvp-content { padding: 40px 20px; }
}
