/*.owl-carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}*/

body {
  font-family: 'Avenir Light', sans-serif;
}

:not(i):not(.fa):not(.fas):not(.fab):not(.bi) {
  font-family: 'Avenir Light', sans-serif;
}

.owl-carousel-item img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.service-item .btn{
    width: 43px;
    color: #b88c66;
    background: #ffffff;
    border-radius: 5px;
}

.service-item:hover .btn {
    width: 140px;
    background: #f8f8f8;
}

.project-service-item .project-card{
    /*background: rgba(0, 0, 0, .7);*/
    background: none;
}


.project-service-item .project-card h3, .service-item .project-card p{
    color: #fff;
}

.project-service-item:hover *{
    color: #777;
}

.project-service-item .fa-eye{
    margin-right: 12px !important;
}

.project-service-item:hover .btn{
    width: 99px !important;
}

.project-service-item img{
    height: 233px;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .project-service-item img{
        height: 195px;
    }
}

.logo-text{
    font-family: monospace;
    font-weight: 200 !important;
    font-size: 2rem;
}

.fact-item{
    border-radius: 8px;
}

.about-img::before, .feature-img::before {
    border-radius: 8px;
}

.service-item .service-text, .service-item .bg-img,
.project .nav .nav-link.active, .years-count, .btn.btn-primary,
.btn.btn-secondary, .about-img img, .feature-img img,
.project .nav .nav-link, .tab-pane img, .bg-light, .form-control, .btn-outline-body{
    border-radius: 8px;
}

.project-service-item img{
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.service-item{
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.fact-icon{
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.fact-item, .about-img img:last-child, .feature-img img:last-child, .service-item{
    /*box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;*/
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.service-item:hover .service-text{
    background: rgb(0 0 0 / 43%);
}

.navbar-text{
    width: 100%;
}

.navbar-text h2{
    font-weight: 500 !important;
}

/* project */
/* Project Header Styling */
  .project-header {
    position: relative;
    padding: 40px 0;
  }

  .project-title {
    font-family: 'Teko', sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
    color: #222;
    text-transform: uppercase;
    font-weight: 600;
  }

  .title-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #d2a679, #c19b6b, #d2a679);
    border-radius: 2px;
  }

  .project-description {
    font-family: 'Open Sans', sans-serif;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
  }

  /* Add a subtle fade-in animation */
  .project-header {
    animation: fadeInUp 1s ease forwards;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .project-title {
      font-size: 2.2rem;
    }
    .project-description {
      font-size: 1rem;
    }
  }

  .gallery, .plans-gallery {
    column-count: 3;
    column-gap: 15px;
  }

  .gallery img, .plans-gallery img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .gallery img:hover, .plans-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  @media (max-width: 992px) {
    .gallery, .plans-gallery { column-count: 2; }
  }

  @media (max-width: 576px) {
    .gallery, .plans-gallery { column-count: 1; }
  }

/* Original navbar design - collapsed by default on all screen sizes */
.navbar-toggler {
    display: block !important;
    z-index: 1050;
}

.navbar-collapse {
    transition: height 0.3s ease;
}

/* Ensure navbar is collapsed by default */
.navbar-collapse.collapse {
    display: none !important;
}

.navbar-collapse.collapse.show {
    display: block !important;
}

.img-fluid{
    width: 70%;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* يخلي الصور بالنص */
    gap: 15px;
}

.gallery img {
    width: calc(33.333% - 15px); /* نفس حجم 3 أعمدة */
    max-width: 380px; /* عشان ما تصير أعرض من اللازم */
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* يشتغل فقط على الشاشات الكبيرة */
@media (min-width: 992px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    /* نخلي الروابط دايمًا بنفس السطر */
    .navbar-nav .nav-link {
        white-space: nowrap;
    }

    /* لما تكون اللغة عبرية أو عربية نخلي الاتجاه من اليمين لليسار */
    html[dir="rtl"] .navbar-nav {
        flex-direction: row-reverse;
    }

    /* مسافة بسيطة بين العناصر */
    .navbar-nav .nav-item {
        margin: 0 10px;
    }
}
