/* ==========================================================================
   MOHAMED EMAD (@adv.emad) - AWWWARDS PORTFOLIO STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #07080b;
    --bg-card: rgba(16, 19, 28, 0.65);
    --bg-card-hover: rgba(23, 27, 40, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 240, 255, 0.4);
    
    --accent-cyan: #00f0ff;
    --accent-gold: #e5b869;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en-display: 'Syne', sans-serif;
    --font-en-body: 'Plus Jakarta Sans', sans-serif;
    
    --ease-awwwards: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-elastic: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.5s var(--ease-awwwards);
}

/* Reset & Global */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-ar);
    line-height: 1.6;
    user-select: none;
}

html[dir="ltr"] body {
    font-family: var(--font-en-body);
}

html[dir="ltr"] h1, 
html[dir="ltr"] h2, 
html[dir="ltr"] h3, 
html[dir="ltr"] .display-title {
    font-family: var(--font-en-display);
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Noise Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 70%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

/* App Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.brand-logo-wrap .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
    transition: transform 0.4s var(--ease-elastic);
}

.brand-logo-wrap:hover .logo-img {
    transform: scale(1.08) rotate(-3deg);
}

.brand-meta {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-status {
    display: flex;
    align-items: center;
    gap: 0.38rem;
    margin-top: 0.12rem;
    color: #28c76f;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #28c76f;
    box-shadow: 0 0 0 3px rgba(40, 199, 111, 0.13), 0 0 9px rgba(40, 199, 111, 0.8);
    animation: onlinePulse 1.8s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(40, 199, 111, 0.13), 0 0 9px rgba(40, 199, 111, 0.8); }
    50% { box-shadow: 0 0 0 5px rgba(40, 199, 111, 0.05), 0 0 14px rgba(40, 199, 111, 1); }
}

/* Header Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.uae-clock {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.bottom-clock {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
}

.language-toggle-btn {
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    justify-content: center;
}

.uae-clock .pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseGlow 2s infinite;
}

.glass-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.theme-toggle-btn {
    width: 2.7rem;
    height: 2.7rem;
    padding: 0;
    justify-content: center;
    overflow: hidden;
}

.theme-toggle-btn i {
    display: grid;
    place-items: center;
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.45s var(--ease-awwwards), color 0.3s ease, filter 0.3s ease;
}

.theme-toggle-btn:hover i {
    transform: rotate(18deg) scale(1.12);
}

html[data-theme="light"] .theme-toggle-btn i {
    color: #c27600;
    filter: drop-shadow(0 0 7px rgba(194, 118, 0, 0.45));
}

html[data-theme="dark"] .theme-toggle-btn i {
    color: #b8d7ff;
    filter: drop-shadow(0 0 7px rgba(120, 174, 255, 0.5));
}

/* Fullpage Slider Container */
.slider-main {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    z-index: 2;
}

.slides-track {
    width: 100%;
    min-height: 100%;
    display: block;
}

.slide-item {
    width: 100%;
    min-height: 0;
    position: relative;
    display: block;
    padding: 7.5rem 4rem 6rem;
    scroll-margin-top: 5.5rem;
}

/* Slide Container Content */
.slide-content-wrapper {
    width: 100%;
    max-width: 1360px;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* Awwwards Vertical Progress Nav */
.slider-pagination {
    position: fixed;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    z-index: 90;
    display: none;
}

html[dir="rtl"] .slider-pagination {
    right: auto;
    left: 2.5rem;
}

.nav-bullet {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.nav-bullet .bullet-number {
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-en-display);
    letter-spacing: 0.05em;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.nav-bullet .bullet-line {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-bullet:hover,
.nav-bullet.active {
    color: var(--accent-cyan);
}

.nav-bullet.active .bullet-line {
    width: 48px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-bullet.active .bullet-number {
    opacity: 1;
    color: #fff;
}

/* Bottom Floating Status Bar */
.bottom-bar {
    position: fixed;
    bottom: 2rem;
    left: 3.5rem;
    right: 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 90;
    pointer-events: none;
}

.bottom-bar > * {
    pointer-events: auto;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mouse-icon {
    width: 18px;
    height: 28px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse-icon::after {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    animation: mouseScroll 1.8s infinite;
}

.social-pills-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.instagram-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition-smooth);
}

.instagram-pill:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(131, 58, 180, 0.2));
    border-color: #e1306c;
    box-shadow: 0 0 25px rgba(225, 48, 108, 0.3);
    transform: translateY(-2px);
}

.instagram-pill i {
    color: #e1306c;
}

.snapchat-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition-smooth);
}

.snapchat-pill:hover {
    background: rgba(255, 252, 0, 0.15);
    border-color: #fffc00;
    box-shadow: 0 0 25px rgba(255, 252, 0, 0.35);
    transform: translateY(-2px);
}

.snapchat-pill i {
    color: #fffc00;
}

.tiktok-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: var(--transition-smooth);
}

.tiktok-pill:hover {
    background: linear-gradient(135deg, rgba(37, 244, 238, 0.16), rgba(254, 44, 85, 0.16));
    border-color: #25f4ee;
    box-shadow: 0 0 25px rgba(37, 244, 238, 0.25);
    transform: translateY(-2px);
}

.tiktok-pill i {
    color: #25f4ee;
    text-shadow: 1px 1px 0 #fe2c55;
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

@keyframes mouseScroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .site-header {
        padding: 1.25rem 2rem;
    }
    .slide-item {
        padding: 5.5rem 2rem 5rem 2rem;
    }
    .bottom-bar {
        left: 2rem;
        right: 2rem;
    }
    .slider-pagination {
        display: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.25rem;
    }
    .brand-logo-wrap {
        gap: 0.55rem;
    }
    .brand-logo-wrap .logo-img {
        height: 40px;
    }
    .brand-name {
        font-size: 1rem;
    }
    .header-actions {
        gap: 0.45rem;
    }
    .glass-btn {
        padding: 0.5rem 0.65rem;
    }
    .uae-clock {
        display: none;
    }
    .slide-item {
        padding: 5rem 1.25rem 4.5rem 1.25rem;
        overflow-y: auto;
    }
    .bottom-bar {
        left: 1.25rem;
        right: 1.25rem;
        bottom: 1rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.45rem;
    }
    .scroll-indicator {
        font-size: 0.7rem;
    }
    .social-pills-bar {
        gap: 0.45rem;
    }
    .instagram-pill,
    .snapchat-pill,
    .tiktok-pill {
        padding: 0.42rem 0.75rem;
        font-size: 0.75rem;
    }
}
