@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300&display=swap');

:root {
    --main-color: #ff4081;
}

* {
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";
}

body {
    font-size: 16px !important;

}

/* شريط التنقل */
.mynav {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: fixed;
    top: 0;
    padding: 0px 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 111111111111;
    backdrop-filter: blur(30px);
    background-color: rgba(6, 45, 216, 0.479);
    width: 100%;
}

.mynav.act {
    background-color: var(--main-color);
}

.mynav a {
    color: #fff;
    font-size: 14px;
}

@media (max-width:733px) {
    .mynav a {
        font-size: 14px !important;
    }
}

/* أزرار */
.button-18 {
    align-items: center;
    background-color: var(--main-color);
    border: 0;
    border-radius: 100px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    padding: 10px 20px;
    transition: background-color 0.167s, box-shadow 0.167s, color 0.167s;
}

.button-18:hover,
.button-18:focus {
    background-color: #fff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

.button-18:active {
    background: #09223b;
    color: rgba(255, 255, 255, 0.7);
}

.btns {
    background-color: var(--main-color) !important;
}

.btns.act {
    background-color: #fff !important;
    color: var(--main-color) !important;
    font-weight: bold !important;
}

/* قسم */
.section-title {
    background-color: var(--main-color) !important;
    color: #fff;
    font-size: large !important;
}

/* الصور */
.Image_cats {
    object-fit: cover;
    height: 400px;
}

/* خطوط استجابة */
@media (max-width:460px) {
    .mynav {
        padding: 0px 11px;
        justify-content: flex-start;
        gap: 13px;
        padding-right: 15px;
    }

    .mynav a {
        font-size: 11px !important;
        font-weight: bold;
    }
    .main-content {
        flex: 1; /* يجعل المحتوى الرئيسي يأخذ المساحة المتبقية ويدفع الفوتر لأسفل */
      }
      .payment-section {
        padding: 10px;
      }

      .payment-section h2 {
        font-size: 18px;
      }

      .payment-method {
        padding: 8px;
        margin-top: 10px;

      }

      .payment-method label {
        font-size: 12px;
      }

      .payment-icons {
        gap: 50px;
        padding-right: 10px;
      }

      .discount-code input {
        padding: 6px;
      }

      .checkbox-group label {
        font-size: 8px;
        color: #ccc;
        font-weight: bold;
      }

      .important-info {
        font-size: 8px;
      }
      .payment-section p{
        font-size: 8px;
        color: #ccc;
      }
      .ticket-summary{
            flex-direction: row;
            padding: 0px 30px;
            margin-top: 0px;

      }
      .checkbox-group input[type="checkbox"] {
        margin-left: 8px;
      }
      .event-card{
        width: 63%;
        border-radius: 20px;
        overflow: hidden;
        word-wrap: break-word;
      }
}

.cont_feed::-webkit-scrollbar
{
    background-color: #fff !important;
}
.cont_feed::-webkit-scrollbar-thumb

 {
    background-color: #e3e3e3 !important;
    height: 10px !important ;
 }
 .cont_feed::-webkit-scrollbar-corner
 {
    height: 5px !important;
    background-color: red !important;
 }
.cont_feed .items
{
    text-align: center;
}
.items_Feed_img
{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow:0px 0px 1px 4px rgba(137, 43, 226, 0.527);
}

*::-webkit-scrollbar
{
    background-color:#fff;
    padding: 2px;
    width: 10px;
}
*::-webkit-scrollbar-thumb
{
    background-color: var(--main-color);
    pad: 2px;
    border-radius: 10px;
}

/* تصميم الفوتر */
.footer {
    background-color: #000;
    color: #fff;
    padding: 0px;
    /* padding-top: 5%; */
}

  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
  }

  .app-download p {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
  }

  .app-links {
    display: flex;
    gap: 10px;
  }

  .app-button img {
    height: 40px;
  }

  .payment-options p {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
  }

  .payment-icons img {
    height: 100px;
    width: 270px;
  }

  /* نص حقوق النشر */
  .copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
    padding: 10px 0;
    border-top: 1px solid #333;
  }

  /* استجابة للشاشات الصغيرة */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }

    .app-links {
      justify-content: center;
    }

    .payment-icons {
      justify-content: center;
    }
    .details {
        display: block;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    .btndet{
        display: none;
    }
    .banner .overlay h1,p {
        font-size: 1.1em;
    }
    footer.mobile-footer .btn {
        background-color: #e91e63;
        color: white;
        font-size: 1.1em;
        border-radius: 23px;
        text-decoration: none;
        display: block;
    }
footer.desktop-footer {
    display: none; /* إخفاء الفوتر العادي */
}
footer.mobile-footer {
    display: block; /* إظهار الفوتر المخصص للهاتف */
}
.left-panel, .right-panel {
    width: 100%; /* جعل اللوحات الجانبية تحتل 100% من العرض */
    margin-bottom: 20px;
  }

  .main-layout {
    flex-direction: column; /* جعل العناصر تتراص عموديًا */
    gap: 10px;
    margin-bottom: 50px;
  }

  .event-info {
    flex-direction: column;
    align-items: center;
  }

  /* تغيير ترتيب اللوحات: .left-panel يظهر فوق .right-panel */
  .main-layout {
    flex-direction: column-reverse;
  }

  /* إخفاء الـ .placeholder و .order-summary في الهواتف */
  .placeholder,
  .order-summary {
    display: none;
  }

  .pay-btn {
    width: 114%; /* زر الدفع سيأخذ كامل العرض في الموبايل */
    padding: 10px;
    font-size: 1.1em;
    border-radius: 23px;
    margin-right: 49px;
  }

  .footer-bar {
    flex-direction: column; /* ترتيب العناصر عموديًا في الشريط السفلي */
    align-items: center;
  }
  .payment-section {
    max-width: 100%;
    padding: 15px;
  }

  .payment-section h2 {
    font-size: 20px;
  }

  .payment-method label {
    font-size: 14px;
  }

  .payment-method {
    flex-direction: column;
    padding: 10px;
    margin-top: 10px;
  }

  .payment-icons  {
    gap: 46px;

  }

  .discount-code input {
    padding: 8px;
    width: 94.2%;
    height: 25px;
    border: 2px solid #e91e63;
  }

  .important-info {
    font-size: 10px;
  }
  .expired-label {
    font-size: 1.9rem;
    position: absolute;
    top: 63%;
    left: 52%;
    transform: translate(-51%, -50%) rotate(-30deg);
    font-weight: bold;
    color: red;
    opacity: 0.8;
    text-transform: uppercase;
    background: rgb(255 255 255 / 60%);
    padding: 10px 20px;
    border-radius: 5px;
  }
  .event-details p {
     font-size: 14px;
     line-height: 1.4;
     max-width: 100%;

}
.event-details h3 {
    font-size: 12px;
     line-height: 1.4;
     max-width: 100%;
    margin: 0.5rem 0;
}
.event-info .event-title {

    font-size: 15px;
}
.event-info .event-image {
    width: 100%;
  }
  .events-container{
    margin-right: 20px;
  }
}
