/* 
* Project: Wesal (وصال)
* Theme: Dark Matte, Refined, Minimal
* Direction: RTL
*/

:root {
    /* Color Palette */
    --bg-primary: #0a0f18;      /* Very dark matte navy (Midnight Blue) */
    --text-primary: #e0e0e0;    /* Soft White/Grey for readability */
    --accent-gold: #c2b280;     /* Soft Antique Gold */
    --accent-pink: #d4b8b8;     /* Dusty Pink (Subtle) */
    --accent-green: #8da399;    /* Muted Sage Green */
    
    /* Spacing & Layout */
    --spacing-unit: 1rem;
    --container-width: 800px;
    
    /* Typography */
    --font-heading: 'Amiri', serif;
    --font-body: 'Noto Kufi Arabic', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    direction: rtl;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ambient Background Effect */
.ambient-light {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(20, 28, 45, 0.8) 0%, rgba(10, 15, 24, 0) 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography Utility */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 6rem;
    padding-top: 4rem;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo-mark {
    width: 60px;
    height: 60px;
    border: 1px solid var(--accent-gold);
    border-radius: 50%;
    position: relative;
    opacity: 0.8;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background-color: var(--accent-pink);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-pink);
}

.project-name {
    font-size: 3.5rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

/* About Section */
.about {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.lead-text {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

.goals-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    color: var(--accent-gold);
    opacity: 0.9;
}

.goals-list li::before {
    content: '•';
    color: var(--accent-pink);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.quote {
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent-gold);
    border-top: 1px solid rgba(194, 178, 128, 0.1);
    border-bottom: 1px solid rgba(194, 178, 128, 0.1);
    padding: 2rem 0;
    position: relative;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(194, 178, 128, 0.2);
    font-size: 0.85rem;
    color: var(--text-primary);
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease-out 0.4s, transform 1.2s ease-out 0.4s;
}

.fade-in-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-2 {
    opacity: 0;
    transition: opacity 1.5s ease-out 1s;
}

.fade-in-delay-2.visible {
    opacity: 0.6; /* Matches footer opacity */
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }
    
    .project-name {
        font-size: 2.5rem;
    }
    
    .about {
        font-size: 1rem;
    }
    
    .quote {
        font-size: 1.2rem;
    }
}