html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@font-face {
  font-family: "AmericanTypewriter";
  src: url("./AT-ttf/AmericanTypewriter-Semibold-04.ttf") format("truetype");
  font-weight: 600; /* or 700 if bold */
  font-style: normal;
}

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#loader video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body {
  background-image: url("./02-Homepage.png"); /* path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
}

.scrolling-text-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
  font-size: 16px;
  line-height: 60px; /* Same as top-bar height for perfect vertical centering */
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hover-image {
  position: fixed;
  top: 50%;
  right: -30px; /* Half of image width if image is ~200px */
  transform: translateY(-50%);
  transition: right 0.4s ease;
  z-index: 1000;
}

.hover-image img {
  height: 150px; /* Adjust as needed */
  display: block;
  cursor: pointer;
}

.hover-image:hover {
  right: -20px; /* Pulls it in slightly on hover */
}

.card-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 170px;
  flex-wrap: wrap; /* responsive support */
}

/* Individual card */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 240px;
  padding: 10px;
  text-align: left;
  transition: transform 0.3s ease, border 0.3s ease;
  border: 5px solid transparent; /* Add transparent border initially */
}
.card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card a:hover {
  text-decoration: none;
}

.bar {
  position: absolute;
  top: 0;
  left: 15px;
  transform: translateX(-50%);
  width: 100%;
  height: 60px;
  background-color: #000e47;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card:hover {
  transform: translateY(-10px);
  border: 5px solid #fedf08;
}
.card:hover p {
  color: #c20101; /* Change text color on hover */
}

.card:nth-child(3) {
  margin-left: 80px; /* Extra space before the 3rd card */
}

/* Image box inside the card */
.card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
}

/* Image styling */
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}

/* Optional: Typography inside card */
.card h3 {
  font-size: 18px;
  margin: 3px 0;
  font-family: "AmericanTypewriter", sans-serif;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  color: #555;
  margin: 0;
  font-family: "AmericanTypewriter", sans-serif;
  font-weight: 600;
}

.top-bar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%); /* 👈 Centers the bar */
  width: 80%; /* or use fixed like 600px */
  height: 60px;
  background-color: #000e47;
  color: #fff;
  overflow: hidden;
  padding: 0 20px;
  box-sizing: border-box;
  border: 2px dotted #fedf08;
  z-index: 9999;
  border-radius: 4px; /* Optional: rounded edges */
  margin-top: 40px; /* Optional: space from the top */
  display: flex; /* 👈 key to vertical centering */
  align-items: center;
  font-family: "Pixelify Sans", sans-serif;
  font-weight: 600; /* SemiBold */
}

.top-bar marquee {
  line-height: 24px;
}

.main-content {
  padding: 30px;
  margin-top: 50px;
}

.ticket-section {
  position: fixed;
  bottom: 80px;
  right: 35px;
  z-index: 1000;
}
.ticket-content {
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
}

.ticket-image {
  width: 30px; /* adjust size as needed */
  transform: rotate(25deg);
}

.ticket-text p {
  font-family: "AmericanTypewriter", sans-serif;
  font-weight: 600;
  color: #fedf08;
}

/* =====================
   TABLET VIEW (≤ 1024px)
   ===================== */
@media (max-width: 1024px) {
  .top-bar {
    width: 95%;
    margin-top: 20px;
    font-size: 14px;
  }

  .card-container {
    margin-top: 120px;
    gap: 15px;
  }

  .card:nth-child(3) {
    margin-left: 0; /* remove fixed offset */
  }
}

/* =====================
   MOBILE VIEW (≤ 768px)
   ===================== */
@media (max-width: 768px) {
  body {
    background-size: cover;
    background-attachment: scroll;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
  }

  .card {
    width: 80%; /* bigger cards on small screen */
    max-width: 320px;
  }

  .top-bar {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 10px;
    font-size: 14px;
  }

  .hover-image {
    position: fixed;
    top: auto;
    bottom: 20px;
    right: 10px;
    transform: none;
  }

  .hover-image img {
    height: 100px;
  }

  .ticket-section {
    bottom: 20px;
    right: 10px;
  }

  .ticket-content {
    align-items: center;
    text-align: center;
  }
}

/* =====================
   SMALL MOBILE (≤ 480px)
   ===================== */
@media (max-width: 480px) {
  .card {
    width: 90%;
  }

  .card h3 {
    font-size: 16px;
  }

  .card p {
    font-size: 12px;
  }

  .scrolling-text {
    font-size: 14px;
    line-height: normal;
  }

  .ticket-image {
    width: 25px;
  }
}
