/* ============================================
   Optimized CSS for index.php
   Extracted from mainhome.css
   Contains only used styles
   ============================================ */

/* === Global Styles === */
* {
  padding: 0;
  margin: 0;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:before,
:after {
  clear: both;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'FontBold', sans-serif;
  font-weight: 400;
  color: #fff;
  -webkit-transition: .4s all ease;
  -o-transition: .4s all ease;
  transition: .4s all ease;
  padding: 0;
  margin: 0;
  direction: rtl !important;
  background-size: 100% 100%;
  background: #181d25;
  font-size: 14px;
  overflow-x: hidden;
  padding-top: 70px;
}

a {
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  outline: 0;
}

input,
textarea,
button,
select {
  border: 0;
  outline: 0;
  font-family: 'FontBold', sans-serif;
  outline: 0;
}

ul,
ol,
li {
  list-style: none;
  font-family: 'FontBold', sans-serif;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'FontBold', sans-serif;
  font-weight: 400;
}

img {
  max-width: 100%;
}

p {
  margin: 0;
  padding: 0;
}

/* === Container === */
.container {
  display: block;
  margin: 0 auto;
  width: 97%;
}

/* === Main Page Layout === */
.forms-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.all-holded {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

/* === Right Area (Logo & Search) === */
.right-area {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.main-p-logo {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.main-p-logo:hover {
  transform: scale(1.05);
}

.title {
  font-size: 42px;
  font-weight: bold;
  color: #fff;
  margin: 10px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-family: 'FontBlack', sans-serif;
}

.goHomePage {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #ce0000, #ff3333);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(206, 0, 0, 0.3);
}

.goHomePage:hover {
  background: linear-gradient(135deg, #ff3333, #ce0000);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(206, 0, 0, 0.5);
}

.goHomePage i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.goHomePage:hover i {
  transform: translateX(-5px);
}

/* === Search Form === */
#main-p-search {
  width: 100%;
  max-width: 450px;
  position: relative;
  margin: 20px auto;
}

#main-p-search input[type="text"] {
  width: 100%;
  padding: 15px 60px 15px 20px;
  font-size: 16px;
  background: #242b35;
  color: #fff;
  border: 2px solid #313842;
  border-radius: 30px;
  outline: none;
  transition: all 0.3s ease;
  font-family: 'FontBold', sans-serif;
}

#main-p-search input[type="text"]:focus {
  border-color: #ce0000;
  background: #2c3440;
  box-shadow: 0 0 15px rgba(206, 0, 0, 0.2);
}

#main-p-search input[type="text"]::placeholder {
  color: #888;
}

#main-p-search button {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ce0000, #ff3333);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-p-search button:hover {
  background: linear-gradient(135deg, #ff3333, #ce0000);
  transform: translateY(-50%) scale(1.1);
}

/* === Left Area (Menu) === */
.lef-area {
  flex: 2;
  min-width: 600px;
}

.row {
  width: 100%;
}

.ct-title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
  font-family: 'FontBlack', sans-serif;
}

.ct-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ce0000, #ff3333);
  border-radius: 2px;
}

/* === Main Menu === */
.main-p-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-p-menu li {
  flex: 0 0 auto;
}

.main-p-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: #242b35;
  color: #fff;
  border: 2px solid #313842;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.main-p-menu li a:hover {
  background: linear-gradient(135deg, #ce0000, #ff3333);
  border-color: #ce0000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(206, 0, 0, 0.4);
}

.main-p-menu li a i {
  font-size: 18px;
}

/* === Utility Classes === */
.d-flex {
  display: flex !important;
}

.justify-content-center {
  justify-content: center !important;
}

.mx-2 {
  margin-left: 0.5rem !important;
  margin-right: 0.5rem !important;
}

.mx-4 {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}

/* === Footer === */
footer {
  background: #1f252e;
  padding: 30px 0;
  margin-top: 50px;
  border-top: 1px solid #2c3440;
}

footer .row {
  margin-bottom: 20px;
}

footer .main-p-menu {
  justify-content: center;
  gap: 10px;
}

footer .main-p-menu li a {
  padding: 8px 20px;
  font-size: 14px;
  background: transparent;
  border: 1px solid #3a4250;
}

footer .main-p-menu li a:hover {
  background: #2c3440;
  border-color: #ce0000;
}

.AboElSeed {
  text-align: center;
  padding: 15px 0;
  border-top: 1px solid #2c3440;
}

.AboElSeed p {
  color: #888;
  font-size: 14px;
  margin-bottom: 5px;
}

.AboElSeed a {
  color: #ce0000;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.AboElSeed a:hover {
  color: #ff3333;
}

/* === Menu Item Classes === */
.menu-item {
  list-style: none;
}

.menu-item-type-taxonomy,
.menu-item-object-category {
  /* Additional menu styling if needed */
}

/* === FontAwesome Icons === */
.fas {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.fa-angle-left:before {
  content: "\f104";
}

.fa-search:before {
  content: "\f002";
}

.fa-film:before {
  content: "\f008";
}

.fa-tv:before {
  content: "\f26c";
}

/* === Responsive Design === */
@media (max-width: 1200px) {
  .all-holded {
    gap: 30px;
  }

  .ct-title {
    font-size: 28px;
  }
}

@media (max-width: 992px) {
  .forms-container {
    padding: 30px 0;
  }

  .all-holded {
    flex-direction: column;
    align-items: center;
  }

  .right-area,
  .lef-area {
    max-width: 100%;
    min-width: auto;
    width: 100%;
  }

  .title {
    font-size: 36px;
  }

  .ct-title {
    font-size: 24px;
  }

  .main-p-menu {
    gap: 10px;
  }

  .main-p-menu li a {
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 20px;
  }

  .forms-container {
    padding: 20px 0;
  }

  .title {
    font-size: 30px;
  }

  .ct-title {
    font-size: 22px;
  }

  .main-p-logo {
    max-width: 280px;
  }

  #main-p-search input[type="text"] {
    font-size: 14px;
    padding: 12px 55px 12px 15px;
  }

  #main-p-search button {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .main-p-menu {
    gap: 8px;
  }

  .main-p-menu li a {
    padding: 8px 15px;
    font-size: 14px;
  }

  .goHomePage {
    padding: 10px 25px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }

  .title {
    font-size: 24px;
  }

  .ct-title {
    font-size: 20px;
  }

  .main-p-logo {
    max-width: 220px;
  }

  .main-p-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .main-p-menu li {
    width: 100%;
  }

  .main-p-menu li a {
    justify-content:center;
    width: 100%;
  }

  .mx-4 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* === Scrollbar Styling === */
*::-webkit-scrollbar {
  width: 6px;
}

*::-webkit-scrollbar-track {
  background: #1f252e;
}

*::-webkit-scrollbar-thumb {
  background-color: #ce0000;
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #ff3333;
}
