/* ======================
   RESET
====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #1c1f24;
  font-family: "Roboto", sans-serif;
  /* line-height: 1.6; */
}



/* ======================
   SIDEBAR (OVERLAY)
====================== */
.sidepar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  display: flex;
  flex-direction: row;

  z-index: 1000;

  /* حركة السايدبار كله */
  transform: translateX(0);
  transition: transform 0.5s ease-out; 
  /* نا هنا مش مخلى الترانزيشن سريع شويه فى ناس مش بتحب النعومه الزائده */
}

/* لما يتقفل */
.sidepar.closed {
  transform: translateX(-220px);
}

/* ======================
   LEFT SECTION (MENU)
====================== */
/* ======================
   LEFT SECTION (MENU)
====================== */
.section-none {
  width: 220px;
  background: linear-gradient(180deg, #0f0f0f, #151515);
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 25px 20px;

  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.4);
}

/* ======================
   LINKS
====================== */
.first-none {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.first-none p,
.first-none a {
  color: #ccc;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;

  position: relative;
  padding-left: 10px;

  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

/* خط جانبي يظهر عند hover */
.first-none p::before,
.first-none a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 70%;
  background-color: #f39c12;
  transition: transform 0.3s ease;
}

.first-none p:hover,
.first-none a:hover {
  color: #fff;
  transform: translateX(6px);
}

.first-none p:hover::before,
.first-none a:hover::before {
  transform: translateY(-50%) scaleY(1);
}

/* ======================
   BOTTOM SECTION
====================== */
.second-none {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* social icons */
.second-none .icons {
  display: flex;
  gap: 15px;
}

.second-none i {
  font-size: 16px;
  color: #aaa;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.second-none i:hover {
  color: #f39c12;
  transform: scale(1.2);
}

.second-none p {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}


/* ======================
   ICON BAR
====================== */
.sidepar-first {
  width: 60px;
  background-color: #eee;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* top - middle - bottom */
.top,
.middle,
.bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== صورة البروفايل ===== */
.top {
  padding-top: 15px;
}

.top img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #f39c12;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.top img:hover {
  transform: scale(1.15) rotate(4deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* زرار الفتح */
.middle {
  flex: 1;
}

.middle i {
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.middle i:hover {
  transform: scale(1.2);
  color: #f39c12;
}

/* الأيقونات تحت */
.bottom {
  gap: 12px;
  padding-bottom: 15px;
}

.bottom i {
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
}

.bottom i:hover {
  transform: scale(1.15);
  color: #f39c12;
}


/* ======================
   ICON BAR
====================== */
.sidepar-first {
  width: 60px;
  background-color: #eee;

  display: flex;
  flex-direction: column;
}

/* top - middle - bottom */
.top,
.middle,
.bottom {
  display: flex;
  justify-content: center;
}

.top {
  padding-top: 15px;
}

.middle {
  flex: 1;
  align-items: center;
}

.bottom {
  gap: 12px;
  padding-bottom: 15px;
}

/* ======================
   SEARCH
====================== */
/* ======================
   SEARCH BAR
====================== */
.search {
  position: sticky;
  top: 0;
  z-index: 900;

  background-color: #080808;
  /* background-color: #3B4953; */
  /* background-color: #57595B; */
  padding: 25px 20px;

  display: flex;
  justify-content: center;
}

/* input */
.search input {
  width: 60%;
  max-width: 600px;

  padding: 14px 20px;
  font-size: 16px;
  color: #fff;

  background-color: #2a2e35;
  border: 1px solid transparent;
  border-radius: 30px;

  outline: none;
  transition: all 0.3s ease;
}

/* placeholder */
.search input::placeholder {
  color: #aaa;
  letter-spacing: 0.5px;
}

/* hover */
.search input:hover {
  background-color: #30343c;
}

/* focus */
.search input:focus {
  border-color: #f39c12;
  background-color: #30343c;
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.25);
}

/* ======================
   MOVIES (ثابتة لا تتحرك)
====================== */
.container {
  padding: 40px;
}

/* ======================
   MOVIE CARD
====================== */
.movie-card {
  padding: 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);/* هنا انا عملت زى شوشره ورا الكااارت */
  border: 1px solid rgba(255,255,255,0.08);
}


/* الصورة */
.movie-card img {
  height: 400px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
  /* padding: 10px; */
}

/* الـ overlay */
.movie-overlay {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.6);
  color: white;

  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;

  /* يبدأ من النص */
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.4s ease,
    transform 0.5s ease-out;
}

/* hover animation */
.movie-card:hover img {
  transform: scale(1.15) rotateZ(-2deg) skewY(1deg);
}

.movie-card:hover .movie-overlay {
  opacity: 1;
  transform: scale(1);
}

/* النص */
.movie-overlay h5 {
  font-size: 18px;
  margin-bottom: 10px;
}

.movie-overlay .rate {
  color: #f39c12;
  font-weight: bold;
  margin-bottom: 10px;
}

.movie-overlay .overview {
  font-size: 14px;
  line-height: 1.5;
}

/* CONTACT US FORM */
/* ======================
   CONTACT SECTION
====================== */
.contact-section {
  width: 80%;
  margin: 80px auto;
  color: white;

}
a{
  text-decoration: none;
  color: inherit;
}
a:hover{
  color: #f39c12;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

/* الفورم */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* كل صف */
.form-row {
  display: flex;
  gap: 40px;
}

/* inputs */
.form-row input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 10px 5px;
  font-size: 16px;
  color: white;

  transition: border-color 0.3s;
}

.form-row input::placeholder {
  color: #999;
}

.form-row input:focus {
  outline: none;
  border-bottom-color: #f39c12;
}

/* زرار */
.submit-btn {
  width: 150px;
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;

  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #f39c12;
  border-color: #f39c12;
  color: black;
}


.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 45px;
  height: 45px;
  background-color: #f39c12;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;

  text-decoration: none;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.scroll-top:hover {
  background-color: #d35400;
  transform: translateY(-3px);
}







