/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

.site-container {
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FDC300;
  padding: 15px 20px;
}

.navbar-logo {
  margin-left: 25px;
  font-size: 24px;
  font-weight: bold;
}


.navbar-link {
  text-decoration: none;
  color: #000;
}

.navbar-link:hover {
  color: white;
  text-decoration: none;
}

.navbar-icons {
  margin-right: 25px;
  display: flex;
  gap: 20px;
}

/* Navbar Icons */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticket-icon {
  position: relative;
}

.ticket-icon i {
  font-size: 50px;
  cursor: pointer;
}

/* Badge Styling for Ticket Counter */
.ticket-badge {
  position: absolute;
  top: 20px;
  right: 40px;
  background-color: #E73331;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-weight: bold;
  text-align: center;
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.hero-content h1 {
  /* Bottom-right shadow */
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p.description {
  /* Bottom-right shadow */
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-button {
  background-color: #FDC300;
  color: #000;
  text-decoration: none;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #8f751d;
  color: #000;
  text-decoration: none;
}

/* Featured Events Section */
.featured-events {
  padding: 40px 20px;
  background-color: white;
}

.featured-events h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 32px;
  color: #333;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.event-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 30px;
}

.event-card h3 {
  text-align: center;
}

.event-card:hover {
  transform: translateY(-10px);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card h3 {
  font-size: 20px;
  margin: 15px 0;
  color: #333;
}

.event-card p {
  font-size: 16px;
  color: #777;
  margin-bottom: 20px;
}

/* Style for the unordered list */
.date-list {
  /* Remove default bullet points */
  padding: 0 25px;
  margin: 0;
}

/* Style for list items */
.date-list li {
  /* Display list items inline */
  margin-right: 10px;
  /* Space between items */
  margin-right: 10px;
  font-size: 16px;
  color: #555;
}

/* Add // between list items, but not after the last item */
.date-list li:not(:last-child)::after {
  /* content: " //"; */
  /* Separator content */
  margin-left: 10px;
  /* Space after the separator */
}


.buy-ticket {
  text-decoration: none;
  background-color: #FDC300;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-ticket:hover {
  background-color: #e8cc72;
  text-decoration: none;
  color: #000;
}


/* Back Button */
.back-button {
  margin: 20px;
  font-size: 16px;
}

.back-button a {
  text-decoration: none;
  color: #ff5a5f;
  display: flex;
  align-items: center;
}

.back-button a i {
  margin-right: 8px;
}

/* Event Container */
.event-container {
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Event Title */
.event-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

/* Event Image */
.event-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Event Info (Location, Dates) */
.event-info {
  margin-bottom: 20px;
}

.event-info p {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Event Description */
.event-description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Price and Buy Now Button */
.event-purchase-wrapper {
  width: 100%;
}

.event-purchase {
  margin-left: 50%;
  text-align: right;
  width: 50%;
}

@media (max-width: 768px) {
  .event-purchase {
    margin-left: 0%;
    width: 100%;
  }
}

.event-price {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

/* Buy Now Button */
.buy-now {
  background-color: #ff5a5f;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-now:hover {
  background-color: #ff3b3f;
}

/* Responsive Design */
@media (max-width: 768px) {
  .event-container {
    padding: 10px;
  }

  .event-title {
    font-size: 28px;
  }

  .event-price {
    font-size: 20px;
  }

  .buy-now {
    font-size: 16px;
    padding: 12px 25px;
  }
}

/* Footer */
footer {
  font-size: 0.8rem;
  position: static;
  width: 100%;
  left: 0;
  bottom: 0;
  background-color: #FDC300;
  padding: 20px;
  text-align: center;
}

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

.footer-links a,
.footer-social a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}


.shopping-cart {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.cart-empty {
  text-align: center;
  padding: 20px;
  font-size: 18px;
}

.cart-items {
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #ccc;
}

.item-details h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.item-details p {
  margin-bottom: 8px;
}

.discount-code {
  color: #ff5a5f;
}

.item-total p {
  font-weight: bold;
}

.item-remove i {
  cursor: pointer;
  font-size: 20px;
  color: #ff5a5f;
  transition: color 0.3s ease;
}

.item-remove i:hover {
  color: #ff3b3f;
}

/* Cart Summary */
.cart-summary {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 5px;
  text-align: right;
}

.cart-summary h3 {
  margin-bottom: 15px;
}

/* Cart Actions */
.cart-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.buy-button,
.continue-button {
  text-align: center;
  padding: 15px 30px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-button {
  background-color: #FDC300;
  color: #000;
}

.buy-button:hover {
  background-color: #cfb45b;
}

.continue-button {
  background-color: #702283;
  color: white;
}

.continue-button:hover {
  background-color: #7b4a88;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .item-total,
  .item-remove {
    margin-top: 10px;
  }

  .cart-summary {
    text-align: center;
  }

  .cart-actions {
    flex-direction: column;
  }

  .buy-button,
  .continue-button {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Discount Codes Section */
.discount-header {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}

.discount-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.discount-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 8px;
  background-color: #f4f4f4;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.discount-item:hover {
  background-color: #e9e9e9;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.discount-code {
  font-size: 16px;
  color: #555;
}

.delete-icon {
  cursor: pointer;
  color: #ff5a5f;
  transition: color 0.3s ease;
}

.delete-icon:hover {
  color: #ff3b3f;
}

/* Form Styling */
.form-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-form {
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  margin-bottom: 5px;
  color: #333;
}

.form-input {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: #333;
}

.form-input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Payment Section Styling */
.payment-section {
  display: flex;
}

.payment-section select {
  height: 50px;
  margin-top: 15px;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 15px;
}

.bank-logo,
.issuer-logo {
  height: 50px;
  width: auto;
  display: block;
  margin: 10px 0;
}

/* Button Styling */
.submit-button {
  background-color: #28a745;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #218838;
}

/* Error Alert */
.error-alert {
  margin-top: 15px;
  padding: 10px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  position: relative;
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  color: #721c24;
}

.close-btn:hover {
  color: #f5c6cb;
}

.giphy {
  width: 100%;
  height: auto;
}

/* Content Container */
.content {
  margin: 1rem;
}

.content-container {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.title {
  font-size: 32px;
  color: #004085;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Button Styles */
.download-btn {
  padding: 12px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #28a745;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #218838;
}

/* Error Styling */
.content-container.error {
  border-left: 5px solid #dc3545;
  background-color: #f8d7da;
  padding: 20px;
  color: #721c24;
}

.retry-link {
  color: #721c24;
  text-decoration: none;
  font-weight: bold;
}

.retry-link:hover {
  text-decoration: underline;
}

/* Event Image */
.event-image {
  display: block;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Styles for normal view */
.hidden-in-print {
  display: block;
  /* default display property for non-print view */
}

/* Styles for print view */
@media print {
  .hidden-in-print {
    display: none;
    /* hide elements with this class in print view */
  }
}

/* General Styles */
.latest-news {
  padding: 40px 20px;
  background-color: #f4f4f9;
  text-align: center;
}

.latest-news h2 {
  font-size: 32px;
  color: #E73331;
  margin-bottom: 10px;
}

/* News Container */
.news-container {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 300px;
}

.news-grid {
  display: flex;
  gap: 20px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  padding: 10px 0;
  max-width: 100%;
}

.news-grid::-webkit-scrollbar {
  display: none;
}

.news-card {
  min-width: 300px;
  max-width: 300px;
  background-color: #fff;
  padding: 20px;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.news-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.news-card p {
  font-size: 14px;
  color: #666;
}

.news-card a {
  color: #E73331
}

.news-card a:hover {
  color: #eb6765;
}

.news-card hr {
  border: none;
  border-top: 2px solid #E73331;
  margin: 10px 0;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.news-card i {
  font-size: small;
}

.news-controls {
  display: inline-flex;
  /* gap: 10px; */
}

/* Arrow Buttons */
.news-arrow {
  background: #f4f4f9;
  color: #E73331;
  border: none;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  border-radius: 20%;
  margin: 0 10px;
  transition: background 0.3s;
  padding-top: 1px;
  width: 100px;
  height: 50px;
}

.news-arrow:hover {
  color: #701720;
}

/* Full-screen loader container */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  z-index: 9999;
  /* Ensure it appears on top of everything */
}

/* The spinning loader itself */
.spinner {
  border: 8px solid #000;
  /* Light grey background for the circle */
  border-top: 8px solid #FDC300;
  /* Blue section for the top, adds the color */
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1.5s linear infinite;
}

/* Animation for the spinning effect */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.search-bar {
  width: 100%;
  margin: 5px;
  height: 50px;
}

.switch input[type="checkbox"] {
  margin: 50%;
  width: 20px;
  height: 25px;
}

.page {
  width: 100%;

  @media (min-width: 1200px) {
    margin: 0px 25%;
    width: 50%;
  }
}

.page-content {
  margin: 10px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-content img {
  max-width: 100%;
  height: auto;
}