/* ===== عام ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* ===== فاصل عام ===== */
.section-separator {
    width: 90%;
    max-width: 1000px;
    height: 1px;
    background: #ddd;
    margin: 40px auto;
}

/* ===== 1. Hero Slider & Search ===== */
.hero {
    position: relative;
    margin-top: 60px;
}
.swiper-container-hero {
    width: 100%;
    height: 60vh;
}
.swiper-container-hero .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}
/* طبقة التعتيم فوق الصور */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 1;
}
/* نص الشريحة */
.slide-text {
    position: absolute;
    bottom: 20%;
    right: 10%;
    color: #fff;
    text-align: right;
    z-index: 2;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.slide-text h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}
.slide-text p {
    font-size: 1rem;
}
/* أزرار التنقل في السلايدر */
.swiper-button-prev,
.swiper-button-next {
    color: #fff;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}
.swiper-pagination-bullet {
    background: #ff6b6b;
    opacity: 0.8;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* مربع البحث فوق السلايدر */
.search-box {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 90%;
    max-width: 900px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.search-box select,
.search-box input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    outline: none;
}
.search-box .btn-search {
    background: #ff6b6b;
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .search-box { flex-direction: column; }
}

/* ===== 3. Locations Slider ===== */
.locations {
    padding: 100px 20px 40px;
    background: #fff;
    text-align: center;
}
.locations h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
}
.swiper-container-locations {
    padding: 0 40px;
}
.swiper-container-locations .swiper-slide {
    width: 200px;
    text-align: center;
}
.swiper-container-locations img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ff6b6b;
    margin: 0 auto 8px;
    display: block;
}
.swiper-container-locations .swiper-button-prev,
.swiper-container-locations .swiper-button-next {
    color: #333;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== 4. Daily Deals ===== */
.deals {
    padding: 40px 20px;
    background: #f9f9f9;
}
.deals h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}
.swiper-container-deals {
    padding: 0 20px;
}
.swiper-container-deals .swiper-slide {
    width: 300px;
    padding: 10px;
}
.deals .listing-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: right;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.deals .listing-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 4px solid #ff6b6b;
}
.deals .listing-card .info {
    padding: 15px;
    flex-grow: 1;
}
.deals .listing-card .info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.deals .listing-card .info p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #555;
}
.deals .listing-card .info .price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
}
.swiper-container-deals .swiper-button-prev,
.swiper-container-deals .swiper-button-next {
    color: #555;
}



/* ملف CSS المحلي */
.listing-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* نسبة الارتفاع بالنسبة للعرض */
  overflow: hidden;
}

.img-wrapper img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* الشكل الغير منتظم */
  border-radius: 60% 40% 30% 70% / 40% 60% 70% 30%;
  /* يمكنك تعديل الأرقام للحصول على شكل مختلف */
}
