@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto-VariableFont_wdth\,wght.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/IBMPlexSansArabic-Regular.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
}

html, body{
  margin: 0;
  font-family: 'roboto' ,  'IBM Plex Sans Arabic', sans-serif;
  font-family:  sans-serif;
  direction: rtl;
  overflow-x: hidden;
  overflow-y: auto;
}
header {
  border-radius: 10px;
  background-color: #fff;
  padding: 20px 30px;
  position: relative;   
  margin-top: 30px;
  margin-bottom: -20px;
  transform: translateY(-25px);
}
.ticket{
  position: absolute;
  top: 35px;
  left: 50px;
  background: #b55412;
  padding: 10px 40px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  border: none  ;
  animation: pulse 2s infinite;
  box-shadow: 2px 5px 5px rgba(71, 71, 71, 0.5);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(180, 150, 100, 0.25);
}

.top-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  border-radius: 10px;
  background-color: #b55412;
  box-shadow: 0px 8px 3px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 10px;
  margin: 20px auto;
  max-width: 600px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

nav ul li a.active {
  color: #4d2a0c; 
  font-weight: bolder; 
}

/* محتوى الصفحة */
main {
  padding: 20px;
}
.pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pagination a{
  background-color: #b55412;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.content-wrapper {
  display: flex;
  gap: 20px;
}

/* قسم الفلترة */
.filter-section {
  min-width: 180px;
}

.option-box {
  background-color: white;
  border: 1px solid #b55412;
  border-radius: 8px;
  padding: 20px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}

/* switch modern style */
.switch {
  position: relative;
  width: 40px;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background-color: #ccc;
  outline: none;
  border-radius: 20px;
  transition: background-color 0.3s;
  cursor: pointer;
}

.switch:checked {
  background-color: #b55412;
}

.switch::before {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.switch:checked::before {
  transform: translateX(-18px);
}


.option-lable {
  font-size: 14px;
  color: #333;
}

/* البطاقات */
.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  flex: 1;
  justify-items: stretch;
}

.company-card {
  background-color: white;
  border: 1px solid #b55412;
  border-radius: 10px;
  padding: 10px;
  text-align: right;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease; /* سلاسة التكبير */
  cursor: pointer; /* مؤشر أن البطاقة قابلة للنقر */
}

.company-card:hover {
  transform: scale(1); /* حجم البطاقة عند الوقوف عليها */
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.logo {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  max-height: 150%;
  max-width: 150%;
  object-fit: contain;
}

.company-card > div {
  margin-bottom: 6px;
  font-size: 14px;
}



.pagination2 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.pagination2 a{
  background-color: #b55412;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.motex-footer {
  background-color: #2A1510;
  padding: 40px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.header-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logoo img {
  width: 350px;
  height: 80px;
}

.top-button button {
  background-color: #e06623;
  color: white;
  border: none;
  padding: 14px 35px;
  font-size: 18px;
  border-radius: 25px;
  cursor: pointer;
  margin-bottom: 30px;
}

.top-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.top-logos img {
  max-height: 60px;
}

.event-date {
  font-size: 20px;
  margin-bottom: 40px;
}

.event-date h2 {
  font-size: 28px;
  margin: 5px 0;
}
.ticket1 {
  background: #b55412;
  padding: 10px 40px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  color: white;
  border: none  ;
  margin-left: 100px;
  animation: pulse 2s infinite;
}

.columns {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  text-align: right;
  margin-top: 90px;
  color: white;
  margin-right: 50px;
  flex: 0 1 250px;
  padding: 0 20px; 
}

.column:not(:last-child) {
  border-left: 1px solid white; 
} 

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.ticket1:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(180, 150, 100, 0.25);
}

.column {
  flex: 0 1 250px;
}
.column h4{
  font-size: 24px;
  margin-bottom: 15px;
}

.column h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}

.column p {
  font-size: 18px;
  margin: 6px 0;
}

.columns a {
  color: inherit; 
  text-decoration: none; 
  cursor: pointer; 
}

.columns a:hover {
  text-decoration: underline; 
  color: #e06623; 
}

.copyright {
  margin-top: 40px;
  font-size: 14px;
  color: #ccc;
  text-align: center;
}
.date h2{
  color: white;
  margin-top: 30px;
  margin-right: 60px;
}

.icons {
  display: flex;
  flex-direction: column; 
  gap: 10px; 
}

.icons a {
  color: white;
  font-size: 18px; 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap; 
}

.icons a:hover {
  color: #e06623;
}

.icons a i {
  font-size: 24px; 
}

.icon-facebook1,
.icon-instagram1{
  font-size: 20px;
  color: white;
}

.icon-facebook,
.icon-instagram{
  font-size: 20px;
  color: black;
}

.icon-facebook i {
  color: #000; 
  transition: color 0.3s;
}
.icon-facebook i:hover {
  color: #1877f2; 
}

.icon-instagram i {
  color: #000; 
  transition: color 0.3s;
}
.icon-instagram i:hover {
  color: #e1306c; 
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }

  .filter-section {
    order: -1;
    width: 100%;
  }

}

@media (max-width: 480px) {
  .header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: nowrap;
  }

  .images img{
    width: 180px;  
    height: auto;
  }

  .ticket{
    margin-left: -15px;
    margin-top: -10px; 
    display: inline-block;
    font-size: 16px;
    padding: 8px 20px;
  }

  .company-card {
    font-size: 13px;
  }

  .cards-section {
    grid-template-columns: 1fr;
  }

  .header .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 5px;
    align-items: center;
    margin-top: 0;
  }

  .motex-footer {
    padding: 20px 10px;
  }

  .header-cont {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .logoo img {
    margin-right: 35px !important; /* إزالة المارجن اليمين */
    max-width: 80%;
    height: auto;
  }

  .button-wrapper {
    margin-left: 0 !important;
  }
  
  .ticket1{
    margin-right: 100px;
  }

  .date h2 {
    font-size: 16px;
    margin-right: 0 !important;
    text-align: center;
  }

  .columns {
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
  }

  .column {
    flex: none;
    width: 70%;
    border: none;
    padding: 10px 0;
    position: relative; border-right: none !important;
    border-left: none !important;
    
  }

  .column:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: white; /* الخط بين الأعمدة */
  }

  .column h4 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .column p, .column a {
    font-size: 16px;
  }

.icons {
    display: flex;
    flex-direction: column; /* خليهم عمود */
    align-items: flex-start; /* النصوص والايقونات عالشمال */
    gap: 10px; /* مسافة بين كل رابط */
  }

  .icons a {
    display: flex;
    align-items: center;
    color: white; /* خلي النص أبيض */
    font-size: 16px;
    text-decoration: none;
    gap: 8px; /* مسافة بين الأيقونة والنص */
    position: relative;
    left: 25px;
  }

  .icons a i {
    font-size: 20px; /* حجم الأيقونة */
    color: white;
  }

  .copyright {
    font-size: 14px;
    margin-top: 30px;
  }
}
