body {
  background: url("../IMG/rsz_mock-up-poster-frame-childs-room.jpg");
  background-size: cover;        /* تخلي الصورة تغطي كل الشاشة */
  background-repeat: no-repeat;  /* تمنع تكرار الصورة */
  background-position: center;   /* تخلي الصورة في المنتصف */
  background-attachment: fixed;  /* دي اللي بتثبت الصورة */
  /* min-height: 100vh;             عشان الخلفية تمتد بطول الصفحة */
  scroll-behavior: smooth;       /* سكرول ناعم */
  overflow-y:scroll ;
  max-width: 100%;
  overflow-X: hidden;
}
main{
    max-width: 100%;
    overflow-X: hidden;
    width: 90%;
    margin: auto;
    min-height: 63vh;
    margin-top: 150px !important;
    margin-bottom: 100px !important;
}

.hero{
  min-height: 30vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 40px;
}
.header-hero{
  font-size: 4.5rem;
  font-weight: 600;
  letter-spacing: 10px;
  color: var(--secondary-color);
  text-transform: uppercase;
  text-align: center;
}
p{
    font-size: 18px;
    text-align: center;
}
.swiper-slide{
    background:#fff;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    display:flex;
    align-items:center;
    justify-content:center;
    height:320px;
    overflow:hidden;
}
.slide-inner {
    text-align:center;
    padding:20px;
}
.slide-inner img{max-width:100%; height:180px; object-fit:cover; border-radius:8px; display:block; margin:0 auto 12px;}
.slide-title{font-weight:700; margin-bottom:6px; color: var(--primary-color);}
.slide-desc{color:#555; font-size:14px; }
.grid-system{
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px , 1fr));
  gap: 70px 40px ;
}
.grid-system .card-film{
  max-width: 100%;
  text-align: center;
  transition: .5s;
}
.grid-system .card-film:hover{
  transform: translateY(-10px);
}
.grid-system .card-film h2{
  color: white;
  margin-top: 7px;
}
.grid-system .card-film img{
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.slide-title{
    color: var(--primary-color);
}
@media (max-width:500px) {
    .grid-system{
        grid-template-columns: repeat(auto-fill,minmax(100px , 140px));
        gap: 70px 20px ;
        justify-content: center;
    }
    main{
        width: 95%;
    }
    .hero{
        min-height: 50vh;
    }
    .swiper-slide{height:260px;}
    .header-hero{
        font-size: 3.5rem;
    }
    h2{
        font-size: 2rem;
    }
    p{
        font-size: 16px;
    }
}