/* خلفية الموقع بالكامل */
body {
    background:linear-gradient(#200016,#10001f);
    color: blue;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* تخصيص النافبار */
.navbar {
    position: fixed;
    width: 98%;
    z-index: 100;
}

.navbar-brand {
    color: white !important;
    font-size: 1.8rem;
}
.navbar-light .nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    padding-right: 20px;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link.active {
    color: rgba(0, 0, 0, 0.425);
    border-radius: 100%;
}

/* تصميم قسم الخلفية المتحركة */
.main {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.main::after{
content: '';
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
background: linear-gradient(to top,#200016,transparent);
}
.main img {
    position: absolute;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}
#moon {
    mix-blend-mode: screen;
    transform: translateY(80px);
    top: 50px;
}
#stars{
    top: 0;
    z-index: 2;
}
#mountains3,#mountains4,#river,#boat{
    z-index: 3;
}
#mountains7{
    z-index: 5;
}
.Draze {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.main::after{
    content: '';
    z-index: 100;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top,#200016,transparent);
}
/* البطاقة الشخصية */
.card {
    background: black;
    color: blue;
    border: 2px dashed blue;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.card:hover {
    background: blue;
    color: black;
    border: 2px dashed white;
}
.card img {
    border-radius: 100%;
    margin-top: 10px;
}

/* قسم المعلومات الشخصية */
.personal {
    background: black;
    border: 1px dashed blue;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    color: blue;
}
.personal .lead{
    color: #fff;
}
.personal:hover {
    background: blue;
    color: black;
    border: 2px dashed white;
}

/* مهاراتي */
#skill img {
    transition: transform 0.3s, filter 0.3s;
    border-radius: 100%;
}
#skill p{ 
    color: #fff;
}
#skill img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #fff);
}

/* الكاروسيل */
.carousel-inner img {
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.carousel-inner img:hover {
    transform: scale(1.05);
}

/* قسم التواصل */
#Contact i {
    color: white;
    transition: color 0.3s, transform 0.3s;
}

#Contact i:hover {
    color: rgba(0, 0, 0, 0.425);
    transform: scale(1.2);
}

.copy{
    color: #fff;
    text-align: center;
    font-size: 18px;
}
/* لجعل الموقع متجاوب بشكل أفضل */
@media (max-width: 768px) {
    .Draze {
        font-size: 2rem;
    }

    #moon {
        top: 20px;
    }

    .personal {
        margin-top: 20px;
    }
}
@media (max-width: 400px) {
    .navbar{
        width: 90%;
    }
}