* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background: #f4f4f4;
}

/* ================= NAVBAR ================= */

.navbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    z-index: 1000;
    direction: rtl;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 200px;
}

.logo h3 {
    font-size: 18px;
    font-weight: 800;
}

.logo span {
    font-size: 11px;
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.booking-btn {
    background: #f7a928;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}
/* ================= MOBILE NAV ================= */

.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #111;
    color: #fff;
    padding: 30px;
    transition: 0.4s ease;
    z-index: 2000;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 50px;
}

.mobile-menu li {
    margin-bottom: 25px;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.mobile-menu.active {
    right: 0;
}

.close-btn {
    text-align: left;
    font-size: 20px;
    cursor: pointer;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1500;
}

.overlay-menu.active {
    display: block;
}

/* ===== Dropdown Base ===== */
.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* سهم */
.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* القائمة الأساسية */
.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transition: all 0.3s ease;
}

/* عند hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* لف السهم */
.dropdown:hover>a .arrow {
    transform: rotate(180deg);
}

/* العناصر */
.dropdown-menu li {
    padding: 10px 20px;
    position: relative;
}

.dropdown-menu li a {
    color: #000;
    display: flex;
    justify-content: space-between;
}

/* ===== Sub Dropdown ===== */
.dropdown-sub {
    position: relative;
}

.sub-menu {
    position: absolute;
    top: 0;
    right: 100%;
    background: #fff;
    min-width: 160px;
    border-radius: 10px;
    padding: 10px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateX(10px) scale(0.95);
    transition: all 0.3s ease;
}

.dropdown-sub:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

/* سهم sub */
.dropdown-sub:hover>a .arrow {
    transform: rotate(90deg);
}

/* موبايل dropdown */
.mobile-dropdown>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* السهم */
.mobile-dropdown .arrow {
    transition: transform 0.3s ease;
}

/* لف السهم لما يفتح */
.mobile-dropdown.active .arrow {
    transform: rotate(180deg);
}

/* Animation خفيفة للقائمة */
.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 300px;
    /* كفاية للمحتوى */
}

/* Responsive */

@media(max-width:992px) {

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .booking-btn {
        display: none;
    }
}
/* ================= HERO ================= */

.hero {
    height: 100vh;
    background: url("../media/malls/WhatsApp\ Image\ 2026-03-30\ at\ 21.50.44\ \(3\).jpeg") center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 50px;
}

.script-title {
    color: #d9a124;
    font-size: 55px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #000;
    margin-bottom: 40px;
}

/* Black Pill */

.contact-pill {
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 40px;
    border-radius: 50px;
    margin-bottom: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.contact-pill .icon {
    width: 45px;
    height: 45px;
    background: #f7a928;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.contact-pill .icon a{
    color: white;
}
.contact-pill .icon:hover{
    background:#f4a51c;
    border:none;
}
/* ================= RESPONSIVE ================= */

@media(max-width:992px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .script-title {
        font-size: 40px;
    }

    .contact-pill {
        padding: 14px 25px;
    }

}
.units-section{
    padding:60px 5%;
    direction:rtl;
}

.units-container{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-direction: row-reverse;
}

/* GRID */
.units-grid{
   flex: 3;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

/* CARD */
.unit-card{
    background:#000;
    border-radius:20px;
    overflow:hidden;
    color:#fff;
    position:relative;
}

.unit-image{
    position:relative;
}

.unit-image img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.unit-content{
    padding:20px;
}

.location{
    font-size:14px;
    color:#aaa;
}

.type{
    color:#f4a51c;
    margin:5px 0 10px;
}

.bottom-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.details{
    font-size:13px;
    background:#111;
    padding:6px 12px;
    border-radius:20px;
}

.plus-btn{
    border:1px solid #fff;
    width:35px;
    height:35px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:.3s;
}
.plus-btn a{
    color: white;
}
.plus-btn:hover{
    background:#f4a51c;
    border:none;
}

@media (max-width:992px){

    .units-container{
        flex-direction: column;   /* يخليهم تحت بعض */
        align-items: stretch;
    }

    .units-grid{
        order: 1;   /* الكروت الأول */
        grid-template-columns: repeat(2,1fr);
        width: 100%;
    }
}
@media (max-width:992px){
    .units-grid{
        grid-template-columns: 1fr;
    }
}

.footer {
  background: #efefef;
  padding: 60px 20px 30px;
  direction: rtl;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #f4a51c;
}

.footer-col p {
  color: #777;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: #777;
  text-decoration: underline;
  margin-bottom: 10px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #000;
}

/* SOURCES GRID */
.links-grid {
  display: flex;
  gap: 40px;
}

/* SOCIAL */
.social {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.social span {
  width: 45px;
  height: 45px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.social span i {
  font-size: 16px;
  color: #555;
}

.social span:hover {
  background: #f4a51c;
}

.social span:hover i {
  color: #fff;
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  color: #777;
  font-size: 14px;
}

.footer-bottom a {
  color: #777;
  text-decoration: underline;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .links-grid {
    flex-direction: column;
  }

  .social {
    justify-content: flex-start;
  }

  .footer {
    padding: 40px 15px;
  }
}


































/* Fade In + Slide Up Animation */
.fade-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.fade-slide.show {
    opacity: 1;
    transform: translateY(0);
}

/* Unit Card Hover Animation */
.unit-card {
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unit-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.25);
}

/* Plus Button Bounce on Hover */
.plus-btn:hover {
    animation: bounce 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero Text Animation */
.hero-content h1, .hero-content .script-title, .contact-pill, .location {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s forwards;
}

.hero-content h1 { animation-delay: 0.3s; }
.hero-content .script-title { animation-delay: 0.1s; }
.contact-pill { animation-delay: 0.5s; }
.location { animation-delay: 0.7s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.image-slider {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: #f9f9f9;
}
.slider-title {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}
.slider-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 25s linear infinite;
}

.slide {
    width: 250px;
    height: 180px;
    margin: 0 15px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */

@media (max-width:992px){
    .slide {
        width: 180px;
        height: 130px;
    }

    .slider-track {
        width: calc(180px * 10);
    }
}