* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@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 {
  font-family: 'roboto' , 'IBM Plex Sans Arabic', sans-serif;
  direction: rtl;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;   
  z-index: 1000;
  transform: translateY(0); 
  transition: transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.header-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  padding-right: 30px;
  padding-top: 10px;
  width: 350px;
  height: 80px;
}

.button-wrapper{
  padding-left: 30px;
  padding-top: 10px;
}

.ticket {
  background: #b55412;
  padding: 7px 20px;
  font-size: 22px;
  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); }
}

.button-wrapper button {
  margin-left: 10px; 
}

.badges {
  background: #b55412; 
  padding: 7px 20px;
  font-size: 22px;
  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);
}

.badges:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(71, 113, 190, 0.25);
}

.ticket:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 15px rgba(180, 150, 100, 0.25);
}
.main-nav {
  background-color: inherit;
  padding: 10px 0;
}
.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  position: relative;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  position: relative;
  text-decoration: none;
  padding: 5px;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #a14e00;
  transition: width 0.3s ease;
}
nav ul li a:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

nav .activee {
  color: #D96027; 
  border-bottom: 3px solid #D96027; 
  font-weight: 700;
  position: relative;
  padding-bottom: 5px;
}

.trap {
  display: flex;
  align-items: center;
  gap: 40px; /* مسافة بين العناصر */
  padding: 10px 25px;
  background: linear-gradient(45deg, #ffcd73, #fcb661, #faa653, #f68d3e);
  color: #4a2c1a;
  background-size: 200% 200%;
  
  /* الحركة */
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

.trap .inner {
  display: inline-flex;
  align-items: center;
  gap: 80px; 
  animation: scroll 15s linear infinite;
}

.trap .loca,
.trap .clock,
.trap .bus,
.trap .visited,
.trap .open{
  gap: 5px;
  display: flex;
  align-items: center;
  text-align: center;
}
.trap i {
  color:black;
  margin-left: 6px;
}

@keyframes scroll {
  100% {
    transform: translateX(110%); 
  }
  0% {
    transform: translateX(-105%); 
  }
}

main{
  margin-top: 130px;
}

.about-section {
  background-color: #fff3ee;
  text-align: center;
  padding: 90px 20px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 18px;
  line-height: 1.8;
}

.about-images {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.img-box {
  width: 300px;
  height: 200px;
  background-color: #ddd; 
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}

.img1 {
  background-image: url("../image/about1.jpg"); 
  width: 250px;
  height: 250px;
}

.img2 {
  background-image: url("../image/about2.webp");
  margin-top: 25px; 
}

.img3 {
  background-image: url("../image/about3.jpg"); 
  width: 250px;
  height: 250px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 65%;
    max-width: 1000px;
    margin : 80px auto;
    margin-top: 40px;
}

.left {
    flex: 2;
    margin-top: 15px;
}

.right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: #FFF7F3;
  border-radius: 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); 
}

.row {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  background: #fff;
  gap: 10px;
}

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.text {
  font-size: 15px;
}

.logooo{
  width: 100%;
  aspect-ratio: 1/1; 
  object-fit: contain; 
  padding: 40px;
}
.motex-intro {
  padding: 40px 0 ;
  margin-bottom: 40px;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: wrap;
  direction: rtl;
}
.intro-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
.intro-image img {
  max-width: none;
  width: 450px;
  height: 250px;
  border-radius: 40px;
  object-fit: cover;
  margin-right: 80px; 
  box-sizing: border-box; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.intro-text {
  flex: 1;
  text-align: right;
  font-size: 15px;
  margin-left: 20px;
}

.intro-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 100px;
}

.benefit-card1{
  background-color: #f6f1ed;
  border-radius: 10px;
  padding: 20px;
  width: 230px;
  text-align: right;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.benefit-card2{
  background-color: #ffe8de;
  border-radius: 10px;
  padding: 20px;
  width: 230px;
  text-align: right;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.benefit-card .number {
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

.benefit-card1 h3 {
  font-size: 22px;
}

.benefit-card2 h3 {
  font-size: 22px;
}

.benefit-card1 p {
  font-size: 17px;
  line-height: 1.5;
}
.benefit-card2 p {
  font-size: 17px;
  line-height: 1.5;
}

.benefit-card1, .benefit-card2 {
  transition: transform 0.3s ease;
}

.benefit-card1:hover, .benefit-card2:hover {
  transform: scale(1.1);
}

.motex-footer {
  background-color: #2A1510;
  padding: 40px 20px;
}

.header-container {
  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; 
}

@media (max-width: 480px) {
 .header {
    margin-top: 30px; 
    padding: 10px 15px;
  }

  .header-cont {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    flex-wrap: wrap;
  }

  .button-wrapper {
    display: flex;
    justify-content: space-between; 
    width: 100%;
    padding: 15px 20px; 
  }

  .ticket, .badges {
    width: 45%; 
    text-align: center;
    font-size: 16px;
    padding: 8px 0;
  }
  
  .ticket {
    background-color: #b55412;
    color: white;
    border: none;
  }
  
  .badges {
    background-color: #b55412;
    color: white;
    border: none;
    font-size: 14px;
  }

  .logo img {
    width: 60%;        
    max-width: 100%;     
    height: auto;
    margin-right: 16%;
  }
  
  main{
    margin-top: 89px;
  }

  .main-nav{
    padding: 0;
  }

  .main-nav ul {
    font-size: 14px; 
    gap: 4px;
  }

  .ticket, .badges {
    width: 45%; 
    text-align: center;
    font-size: 16px;
    padding: 8px 0;
  }
  
  .ticket {
    background-color: #b55412;
    color: white;
    border: none;
  }
  
  .badges {
    background-color: #b55412;
    color: white;
    border: none;
    font-size: 14px;
  }

  .about-section {
    padding: 115px 10px;
  }

  .about-text h2 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 16px;
    line-height: 1.6;
  }

  .about-images {
    flex-direction: column;
    gap: 15px;
  }

  .img-box, .img1, .img2, .img3 {
    width: 75%;       
    height: 180px;     
    margin-top: 0;     
    margin-right: 50px;
  }
  .container {
    flex-direction: column;
    align-items: stretch;
  }
  .right {
    grid-template-columns: repeat(2, 1fr);
    order: -1; 
  }
  .row {
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
  }
  
  .logooo{
    width: 100%;
    aspect-ratio: 1/1; 
    object-fit: contain; 
    padding: 25px;
  }
  .intro-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .intro-text {
    text-align: center;
  }

  .intro-image {
    order: 2;
    justify-content: center;
    margin-top: 20px;
  }

  .intro-image img {
    width: 80%;
    height: auto;
    border-radius: 16px;
    margin-right: 10px;
  }

  .intro-text h2 {
    font-size: 18px;
  }

  .intro-text p {
    font-size: 15px;
    margin-right: 20px;
  }
    .benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    margin: 0 15px !important;
  }

  .benefit-card1,
  .benefit-card2 {
    width: 100% !important;
    box-sizing: border-box;
  }

  .benefit-card1 .number,
  .benefit-card2 .number {
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
  }

  .benefit-card1 h3,
  .benefit-card2 h3 {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .benefit-card1 p,
  .benefit-card2 p {
    font-size: 15px;
    line-height: 1.4;
  }

  .benefit-card1:active,
  .benefit-card2:active {
    transform: scale(1.1);
  }
  
  .motex-footer {
    padding: 20px 10px;
    margin-top: 40px;
  }

  .header-container {
    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;
  }

  .trap{
    margin-top: 10px;
  }

  @keyframes scroll-mobile {
    100%   { transform: translateX(100%); }
    0% { transform: translateX(-50%); }
  }

  .trap .inner {
    animation: scroll-mobile 10s linear infinite;
  }

  .trap p {
    font-size: 16px; 
  }

  .trap i {
    font-size: 16px; 
  }
}