* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    direction: rtl;
    text-align: right;
    font-family: "Noto Kufi Arabic", sans-serif;
    font-optical-sizing: auto;
}

/*----------------------------
----------- header------------ 
------------------------------*/

header {
    height: 100vh;
    overflow: hidden;
}

/*----------- nav bar------------ */

nav {
    z-index: 999;
    margin-top: 5px;
}

nav img {
    width: 300px;
    margin-right: 30px;
    margin-top: 10px;
}

.navbar-nav {
    font-size: 1.5rem;
}

.navbar-custom {
    position: absolute;
    width: 100%;
}

.navbar-nav .nav-item {
    margin-right: 15px;
}

.nav-link {
    color: white;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link:hover i {
    color: #b28e3b;
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -5px;
    width: 0;
    height: 5px;
    background-color: transparent;
    transition: background-color 0.3s, width 0.3s;
}

.nav-link:hover::after {
    background-color: #b28e3b;
    border-radius: 5px;
    width: 100%;
}

/* تأثير دائم للرابط "الرئيسية" (active) */

.nav-link.active i {
    color: #b28e3b;
}

/* الخط السفلي الدائم */
.nav-link.active::after {
    background-color: #b28e3b;
    width: 100%;
    border-radius: 5px;

}

.navbar-text a {
    background-color: #b28e3b;
    color: white;
}

.navbar-text a:hover {
    color: #b28e3b;
    background-color: #ffffff;
}

/* الروابط عند الضغط أو التركيز */
.nav-link:focus,
.nav-link:active {
    color: white;
    background-color: transparent;
    outline: none;
    box-shadow: none;
}

.navbar-toggler {
    margin-left: 50px;
    border: #b28e3b 2px solid;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path stroke="%23b28e3b" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/></svg>');
}

.navbar-toggler:focus {
    outline: none; 
    box-shadow: none;
}

.navbar-collapse { 
    transition: transform 0.3s ease; 
    z-index: 999; 
}



/*----------- carousel------------ */

.carousel {
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.carousel-item {
    height: 100vh;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease-in;
}

.carousel-item.active img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -35%);
    color: white;
    z-index: 6;
}

.carousel-caption h1 {
    color: #c6961e;
    font-size: 4rem;
}

.carousel-caption h2 {
    color: #d9d9d9;
    font-size: 3rem;
}

/* تنسيق أزرار الانتقال */
.carousel-control-prev,
.carousel-control-next {
    width: 200px;
    z-index: 10;
}

.carousel-caption a.btn {
    display: inline-block;
    margin-top: 40px;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #b28e3b;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.carousel-caption a.btn i {
    margin-right: 10px;
}

.carousel-caption a.btn:hover {
    background-color: #ffffff;
    color: #b28e3b;
}

/* تأثير التحريك عند الوقوف عليه */
.carousel-caption a.btn:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    transition: all 0.5s;
}

.carousel-caption a.btn:hover:before {
    left: 100%;
}

/* تصميم للسهم عند الوقوف عليه */
.carousel-caption a.btn:hover i {
    transform: translateX(-5px);
    transition: transform 0.3s ease-in;
}

/*----------------------------
-----------about------------ 
------------------------------*/

.number {
    font-size: 4em;
    color: #b28e3b;
}

#about p {
    font-size: 1.2em;
    color: #5d5e69;
}

/*----------------------------
-----------projects------------ 
------------------------------*/

#projects {
    position: relative;
    background-image: url('img/project.jpg');
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

#projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 1;
}

#projects div {
    position: relative;
    z-index: 2;
}

#projects h1 {
    color: #daa520;
    font-size: 3rem;
}

.lead {
    font-size: 1.8rem;
    color: #d6d3d3;
}

#projects .ico {
    display: grid;
    justify-items: center;
    text-align: center;
}

.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: #ffffff solid 3px;
    padding: 20px;
}

#projects img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#projects h4 {
    color: #daa520;
}

.ico p {
    color: #d6d3d3;
    font-size: large;
}

#projects a.btn {
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #b28e3b;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#projects a.btn:hover {
    background-color: #ffffff;
    color: #b28e3b;
}

/* تأثير التحريك عند الوقوف عليه */
#projects a.btn:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    transition: all 0.5s;
}

#projects a.btn:hover:before {
    left: 100%;
}


#projects a.btn:hover i {
    transform: translateX(-5px);
    transition: transform 0.3s ease-in;
}

.bg-overlay {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.text-white {
    color: white;
    font-size: 2rem;
}

/* ------------------------------
-----------الشقق والمنازل------------ 
-------------------------------- */

#apartment {
    background-color: #f8f8f8;
    overflow: hidden;
}

#apartment h1 {
    font-size: 3rem;
    color: #b28e3b;
}

#apartment h2 {
    font-size: 1.8rem;
    color: #5d5e69;
}

.icon-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
    font-size: 1rem;
}

.icon-text i {
    font-size: 1.5rem;
    color: #5d5e69;
}

.card-image {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

.text-with-line {
    display: inline-block;
    margin: 2px 8px;
    padding:0 8px;
    border-right: 1px solid #5d5e69;
}

.card-price {
    color: #5d5e69;
}

.card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card:hover h5 {
    color: #b28e3b;
    transition: color 0.3s ease;
}

.card:hover i {
    transition: color 0.3s ease;
    color: #b28e3b;
}

#apartment a.btn {
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #b28e3b;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#apartment a.btn:hover {
    background-color: #272726;
    color: #b28e3b;
}

/* تأثير التحريك عند الوقوف عليه */
#apartment a.btn:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    transition: all 0.5s;
}

#apartment a.btn:hover:before {
    left: 100%;
}

/* تصميم للسهم عند الوقوف عليه */
#apartment a.btn:hover i {
    transform: translateX(-5px);
    transition: transform 0.3s ease-in;
}

/* ------------------------------
-----------الاراضي----------- 
-------------------------------- */

#land{
    height: 100vb;
    overflow: hidden;
}

#land img {
    max-width: 100%;
    height: 100%;
}

#land h1 {
    color: #b28e3b;
    font-size: 3rem;
}

#land h2 {
    font-size: 1.7rem;
    color: #000000;
}

#land i.hand {
    font-size: 3rem;
    color: #b28e3b;
}

#land p {
    color: #5d5e69;
    font-size: 1.5rem;
    white-space: nowrap;
}

#land a.btn {
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #b28e3b;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

#land a.btn:hover {
    background-color: #272726;
    color: #b28e3b;
}

/* تأثير التحريك عند الوقوف عليه */
#land a.btn:hover:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    transition: all 0.5s;
}

#land a.btn:hover:before {
    left: 100%;
}

/* تصميم للسهم عند الوقوف عليه */
#land a.btn:hover i {
    transform: translateX(-5px);
    transition: transform 0.3s ease-in;
}

/*
-----------اراء العملاء---------- 
-------------------------------- */

#customer-reviews {
    background-color: #f8f8f8;
}

.customer-review-card {
    border: none; 
    background-color: #ffffff; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.2s; 
}

.customer-review-card:hover {
    transform: scale(1.03);
    cursor:pointer; 
}

.customer-review-card .card-title {
    font-size: 1.5rem; 
    font-weight: bold; 
}

.customer-review-card .card-text.text-muted {
    font-size: 1.2rem; 
    margin-bottom: 10px; 
}

.customer-review-card .stars {
    font-size: 1.5rem; 
}

.customer-review-card .card-text {
    font-size: 1.1rem; 
    color: #333; 
}

.customer-review-card .card-img-top {
    width: 100px; 
    height: 100px; 
    object-fit: cover; 
    border-radius: 50%; 
}

/* ------------------------------
-----------footer--------- 
-------------------------------- */

footer{
    background-color:#212529;
}

footer h5{
    color: white;
    font-size: 1.5rem;
}

footer p{
color:white ;
font-size: .8rem;
}

footer p span{
    color: #b28e3b;
    font-size: 1.1rem;
}

.list-unstyled a {
    text-decoration: none;
    color: #b28e3b;
    font-size: 1.1rem;
}

.list-unstyled a:hover {
    color: white;
}

.footer-logo, .social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content:space-evenly; 
}

.social-icons a {
    color: #b28e3b; 
    font-size: 30px;
    margin: 0 10px;
    transition: color 0.3s ease; 
}

.social-icons a:hover {
    color: white; 
}
