/* ═══════════════════════════════════════════
   PEARL LUXURY THEME (FULL VERSION)
   Iridescent Gulf Heritage & Shimmering Elegance
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;700&family=Quicksand:wght@300;400;700&family=Noto+Naskh+Arabic:wght@400;700&display=swap');

:root {
    --pearl-white: #F8F9FA;
    --pearl-glow: #E0F7FA;
    --pearl-cyan: #A5F3FC;
    --pearl-platinum: #E5E4E2;
    --pearl-silver: #C0C0C0;
    --pearl-dark: #203A43;
    --pearl-shadow: 0 25px 50px rgba(0, 188, 212, 0.1);
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Tajawal', 'Noto Naskh Arabic', sans-serif;
    background-color: var(--pearl-white);
    color: var(--pearl-dark);
    scroll-behavior: smooth;
    direction: rtl;
}

/* Shimmer Canvas */
#pearlShimmer {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Nav */
.pearl-nav {
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--pearl-platinum);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%; top: 0; z-index: 1000;
}

.brand-pearl {
    font-family: 'Quicksand';
    font-size: 2rem;
    color: var(--pearl-dark);
    font-weight: 700;
}

/* Hero */
.pearl-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.pearl-hero::after {
    content: '';
    position: absolute;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(165, 243, 252, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: pulseGlow 10s infinite;
}

@keyframes pulseGlow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

.pearl-content {
    text-align: center;
    z-index: 2;
    padding: 4rem;
}

.pearl-names {
    font-size: 6rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--pearl-dark), #2c5364);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.pearl-ampersand {
    font-family: 'Quicksand';
    font-weight: 300;
    color: var(--pearl-dark);
}

@media (max-width: 768px) {
    .pearl-ampersand { font-size: 2rem; }
}

/* Title */
.pearl-section {
    padding: 120px 0;
}

.pearl-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--pearl-dark);
    font-weight: 300;
}

/* Cards */
.pearl-card {
    background: white;
    padding: 3.5rem;
    border-radius: 40px;
    box-shadow: var(--pearl-shadow);
    text-align: center;
    border: 1px solid var(--pearl-platinum);
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.pearl-card:hover { transform: translateY(-15px); box-shadow: 0 40px 80px rgba(0, 188, 212, 0.15); }

.pearl-img-box {
    width: 200px; height: 200px;
    margin: 0 auto 2.5rem;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    overflow: hidden;
    padding: 10px;
    background: linear-gradient(45deg, var(--pearl-cyan), var(--pearl-platinum));
    animation: blob 8s infinite alternate;
}

@keyframes blob { 
    from { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 
    to { border-radius: 60% 40% 30% 70% / 50% 40% 30% 60%; } 
}

.pearl-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Timeline */
.pearl-time-item {
    padding: 2rem;
    border-bottom: 1px solid var(--pearl-platinum);
    transition: 0.3s;
}

.pearl-time-item:hover { background: var(--pearl-glow); }

/* Forms */
.pearl-form {
    background: white;
    padding: 5rem;
    border-radius: 60px;
    border: 1px solid var(--pearl-platinum);
    box-shadow: var(--pearl-shadow);
}

.pearl-input {
    background: var(--pearl-white);
    border: 1px solid var(--pearl-platinum);
    padding: 1.2rem;
    border-radius: 15px;
    width: 100%;
}

.pearl-input:focus { border-color: var(--pearl-cyan); outline: none; }

.pearl-btn {
    background: var(--pearl-dark);
    color: white;
    font-weight: 700;
    padding: 1.2rem;
    border-radius: 15px;
    border: none;
    width: 100%;
    font-size: 1.2rem;
    transition: 0.3s;
}

.pearl-btn:hover { background: #0f1719; transform: scale(1.02); }

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pearl-names { font-size: 2.8rem; }
    .pearl-title { font-size: 2.5rem; margin-bottom: 3rem; }
    .pearl-section { padding: 80px 0; }
    .pearl-card { padding: 2.5rem 1.5rem; border-radius: 30px; }
    .pearl-form { padding: 3rem 1.5rem; border-radius: 40px; }
    
    .pearl-hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    .pearl-content {
        padding: 2rem 1rem;
    }

    .pearl-time-item {
        padding: 1.5rem 10px;
    }
}

@media (max-width: 480px) {
    .pearl-names { font-size: 2.2rem; }
    .pearl-title { font-size: 2rem; }
}
