@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

@font-face {
  font-family: "FontAwesome";
  src: url("fontawesome-webfont.woff2") format("woff2"), url("fontawesome-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #2b2773;
  --secondary-color: #0071bc;
  --tertiary-color: #44afe3;
  --primary-item-color: #0eb9cd;
  --secondary-item-color: #f59000;
  --accent-color: #fdd901;
  --gray-color: #f0f0f0;
  --font-size: 1rem;
}

body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Raleway", Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
}

.blue-color {
  background-color: var(--primary-color);
  color: white;
}

.teal-color {
  background-color: var(--primary-item-color);
  color: white;
}

.orange-color {
  background-color: var(--secondary-item-color);
  color: white;
}

.yellow-color {
  background-color: var(--accent-color);
  color: white;
}

.gray-color {
  background-color: var(--gray-color);
}

.white-color {
  background-color: white;
  color: black;
}

.blue-text {
  color: var(--primary-color);
}

.orange-text {
  color: var(--secondary-item-color);
}

.teal-text {
  color: var(--primary-item-color);
}

html {
  font-size: 100%; /* 16px on most browsers */
}

body {
  font-size: var(--font-size);
  max-width: 900px;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

img {
  width: 100%;
}

.divider {
  width: 100%;
  padding: 1rem;
}

.navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.banner {
  width: 50%;
  margin: 1rem;
}

.navbar {
  width: 100%;
  padding: 0 0.25rem;
  overflow: hidden;
}

.navbar ul {
  display: flex;
  justify-content: space-between; /* Even spacing */
  align-items: center;
  height: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.25rem;
}

.navbar li {
  flex: 1;
  text-align: center;
  height: 100%;
}

.navbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: clamp(1.25rem, 2vw, 2rem);
  background-color: var(--secondary-color);
  border-radius: 1rem 1rem 0 0;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.navbar a:hover,
.navbar a.active {
  background-color: var(--accent-color);
  color: black;
}

.extra-bold {
  font-weight: 900;
}

.bold {
  font-weight: bold;
}

.ticket-box {
  border-radius: 1rem;
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.ticket-box .ticket-price {
  font-weight: 900;
}

.w3-input {
  border: solid 1px gray;
  border-radius: 1vw;
  margin-bottom: 20px;
}

input[type="password"] {
  font-size: 2em; /* Make dots bigger */
  max-height: 2.7rem;
  font-family: monospace; /* Optional: aligns better */
}

fieldset {
  margin-bottom: 20px;
}

.ticketradio:checked + label {
  background-color: var(--primary-item-color);
  color: white; /* optional for contrast */
  padding: 4px 8px; /* optional for spacing */
  border-radius: 6px; /* optional for rounded look */
  display: inline-block; /* needed for background to appear */
}

.text-normal {
  font-size: 16px !important;
}

.disabled-color {
  filter: saturate(0) !important;
}

.profile-card {
  display: flex;
  flex-wrap: wrap; /* makes it responsive */
}

.profile-image {
  background-image: url("../img/karimunprofile.jpg");
  background-size: cover; /* fill while preserving aspect ratio */
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (min-width: 600px) {
  .profile-image {
    width: 50%;
    height: auto; /* will be set by flex to match the table */
  }
  .profile-detail {
    width: 50%;
  }
}

/* For small screens, keep it square */
@media screen and (max-width: 599px) {
  .profile-image {
    width: 100%;
    aspect-ratio: 1/1; /* ensures square image block */
  }
  .profile-detail {
    width: 100%;
    
  }
}
