﻿@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

:root {
    --clr-navy: #1a2b4c;
    --clr-navy-light: #2c426b;
    --clr-gold: #c5a059;
    --clr-gold-light: #e6c47e;
    --clr-bg: #f9f7f2;
    --clr-text: #333333;
    --font-main: 'Cairo', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ================== Navbar ================== */
.navbar-custom {
    background: linear-gradient(135deg, var(--clr-navy) 0%, #0f172a 100%);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--clr-gold);
}

.brand-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 12px;
}

.brand-title {
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
}

.brand-slogan {
    color: var(--clr-gold);
    font-size: 0.75rem;
    font-weight: 600;
}

.navbar-brand img {
    height: 55px;
    background-color: white;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid var(--clr-gold);
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 2px;
    padding: 8px 12px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .nav-link i {
        color: var(--clr-gold);
        transition: 0.3s;
        font-size: 0.9rem;
    }

    .nav-link:hover, .nav-link.active {
        background-color: var(--clr-gold);
        color: var(--clr-navy) !important;
        transform: translateY(-2px);
    }

        .nav-link:hover i, .nav-link.active i {
            color: var(--clr-navy);
        }

/* ================== Hero Section Background Icons ================== */
.hero-icons-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.03); /* شفافية عالية جداً */
    animation: floatIcon 10s infinite ease-in-out alternate;
}

@keyframes floatIcon {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* ================== Buttons ================== */
.btn-gold-filled {
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    border: 2px solid var(--clr-gold);
    font-weight: 800;
    transition: all 0.3s;
}

    .btn-gold-filled:hover {
        background-color: transparent;
        color: var(--clr-gold);
    }

.btn-navy-filled {
    background-color: var(--clr-navy);
    color: white;
    border: 2px solid var(--clr-navy);
    font-weight: 800;
    transition: all 0.3s;
}

    .btn-navy-filled:hover {
        background-color: var(--clr-gold);
        border-color: var(--clr-gold);
        color: var(--clr-navy);
    }

.btn-outline-navy {
    color: var(--clr-navy);
    border: 2px solid var(--clr-navy);
    font-weight: 700;
}

    .btn-outline-navy:hover {
        background-color: var(--clr-navy);
        color: white;
    }

/* ================== Cards & UI ================== */
.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
        border-color: var(--clr-gold);
    }

    .feature-card .icon-box {
        transition: all 0.4s ease;
    }

    .feature-card:hover .icon-box {
        background-color: var(--clr-gold) !important;
        color: var(--clr-navy) !important;
        transform: scale(1.1) rotate(360deg);
    }

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 30px;
    color: var(--clr-navy);
    font-weight: 800;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: var(--clr-gold);
        border-radius: 2px;
    }

/* ================== Footer ================== */
footer {
    background-color: #0f172a;
    color: white;
    padding-top: 60px;
    border-top: 5px solid var(--clr-gold);
}

    footer a {
        color: #cbd5e1;
        text-decoration: none;
        transition: 0.3s;
    }

        footer a:hover {
            color: var(--clr-gold);
            padding-right: 5px;
        }

.developer-link {
    color: var(--clr-gold);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s;
}

    .developer-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--clr-gold);
        transition: width 0.3s;
    }

    .developer-link:hover::after {
        width: 100%;
    }

    .developer-link:hover {
        color: white;
    }

/* ================== Utility ================== */
.text-navy {
    color: var(--clr-navy) !important;
}

.text-gold {
    color: var(--clr-gold) !important;
}

.bg-navy {
    background-color: var(--clr-navy) !important;
}

.bg-gold {
    background-color: var(--clr-gold) !important;
}

.fw-black {
    font-weight: 900;
}
