/* General Styles */

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.film-title {
    color: #521011;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 20px;
}

.titleH4 {
    background-color: transparent;
    font-family: 'Ubuntu', 'Arial', sans-serif;
    font-style: normal;
    text-decoration: none;
    margin: .56em 0;
    color: #424b50;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.167;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.qfsbutton {
  background-color: #e0c46f; 
  border: 3px solid black;
  border-radius: 12px;
  color: black;
  padding: 15px 32px;
  text-align: center;
  vertical-align: middle;
  height: 150px;
  text-decoration: none;
  display: inline-block;
  font-size: 28px;
  margin: auto;
}

/* Container holding all cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Flexible columns */
    gap: 20px;
    margin: 20px;
    background-color: #76b8c8;
    padding: 20px;
    border-radius: 10px;
}

/* Individual card styling */
.card {
    background-color: #f4f1e1;
    border: 2px solid #521011;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 650px;
}

/* Container for the movie poster */
.poster-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.movie-poster {
    max-width: 100%;
    height: auto;
    max-height: 250px; /* Adjusted max height for better fit */
    border-radius: 10px;
}

/* Container for title and date */
.title-date-container {
    text-align: center; /* Center title and date */
    margin-bottom: 10px; /* Space below the date */
}

.visionsoftexascontent h3 {
    font-family: 'Ultra', serif;
    font-weight: normal;
    color: #521011;
    font-size: 18px; /* Reduced font size */
    margin-bottom: 5px; /* Reduce space below title */
}

.visionsoftexascontent h4 {
    font-family: 'Ultra', serif;
    font-weight: normal;
    color: #521011;
    font-size: 16px; /* Reduced font size */
}

/* Container for the description */
.description-container {
    flex: 1; /* Allow description to take up remaining space */
    font-size: 14px; /* Reduced font size */
    line-height: 1.4; /* Adjusted line height for better spacing */
    margin-bottom: 10px; /* Space below description */
}

/* Showtime buttons styling */
.showtimes {
    display: flex;
    justify-content: space-around; /* Adjusted to space buttons evenly */
    gap: 10px;
    margin-top: 10px;
}

.showtimes a {
    flex: 1;
    font-size: 14px; /* Reduced button text size */
    padding: 10px 15px; /* Adjusted padding for buttons */
}

.visionsoftexasbutton {
    background-color: #521011;
    border-radius: 28px;
    border: 1px solid #1b0505;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #5f1214;
    height: 45px; /* Fixed height for consistency */
    line-height: 23px; /* Match line-height to image height for centering */
    vertical-align: middle;
}

.visionsoftexasbutton img {
    height: 23px; /* Set image height */
    vertical-align: middle; /* Align the image with the text */
    margin-left: 5px; /* Optional: Add some space between text and image */
}

.visionsoftexasbutton:hover {
    background-color: #b52424; /* Lighter red for better contrast */
    color: #ffffff; /* Keep text white for readability */
    border-color: #921111; /* Adjusted border color for better visibility */
}

.visionsoftexasbutton:active {
	position: relative;
	top: 1px;
}

/* Responsive Design */

/* No need for complex media queries since grid adjusts automatically */

.flex-table {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
}

.flex-cell {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
}

.flex-cell:first-child {
  background-color: #f2f2f2;
}


.boxActionContainer input.typeButton.registerButton { 
    background-color: #ffc403 !important;
    color: #000 !important; /* Optional: makes text more readable on yellow */
}

.board-poster-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* left-aligns content */
  margin-bottom: 10px;
}

.board-name {
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: bold;
  color: #521011;
  margin-bottom: 3px;
}

.board-bio p {
  font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 1em;
}

.board-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px; /* Ensures no more than 3 full-width cards */
  margin: 0 auto;     /* Center the container horizontally */
  padding: 20px;
}

.board-photo {
  width: 160px;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto 10px;
}

.board-title {
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  color: #444;
  margin-bottom: 5px;
}

.board-profile:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .board-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.qfs-tab-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1em auto;
  gap: 1em;
}

.qfs-utility-tabs {
  display: flex;
  justify-content: center;
  gap: 2em;
  background-color: #000;
  padding: 0.5em 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid #ccc;
}

.qfs-utility-tabs a {
  color: #fff;
  text-decoration: none;
  padding-bottom: 0.25em;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease-in-out;
}

.qfs-utility-tabs a:hover {
  color: #fff79a;
  border-bottom: 3px solid #fff79a;
}

/* Use this class to mark the selected/active tab */
.qfs-utility-tabs a.active {
  background-color: #fff;
  color: #000;
  padding: 0.25em 0.5em;
  border-radius: 2px 2px 0 0;
  border-bottom: 3px solid #fff;
}

@keyframes simpleMarqueeFlash {
  0% {
    box-shadow:
      0 0 8px 4px yellow,
      10px 0 8px 4px red,
      -10px 0 8px 4px yellow,
      0 10px 8px 4px red,
      0 -10px 8px 4px yellow;
  }
  100% {
    box-shadow:
      0 0 8px 4px red,
      10px 0 8px 4px yellow,
      -10px 0 8px 4px red,
      0 10px 8px 4px yellow,
      0 -10px 8px 4px red;
  }
}

.simple-marquee {
  animation: simpleMarqueeFlash 1s infinite alternate;
  border: 4px solid black;
  border-radius: 10px;
}

/* ======= SEATING CHART STYLES ======= */
  #seating-chart .screen {
    background: #e0c46f;
    color: #000;
    padding: 0.75em 1em;
    border-radius: 0 0 30px 30px;
    margin: 0 auto 2em;
    width: 60%;
    font-size: 1.25rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
  }

  #seating-chart .seating {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    justify-content: center;
    margin: auto;
    max-width: 750px;
  }

  #seating-chart .row {
    display: grid;
    grid-template-columns: 2em 48px repeat(8, 48px) 2em;
    align-items: center;
    gap: 0.5em;
  }

  #seating-chart .row-label {
    font-weight: bold;
    font-size: 0.9em;
    text-align: center;
    white-space: nowrap;
    width: auto;
    min-width: 2em;
  }

  #seating-chart .spacer {
    width: 48px;
    height: 48px;
  }

  #seating-chart .seat {
    display: inline-block;
    background: #fff;
    border: 2px solid #003366;
    color: #003366;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s;
    width: 48px;
    height: 48px;
  }

  #seating-chart .seat:hover {
    background-color: #e6f0ff;
  }

  #seating-chart .seat.unavailable {
    background-color: #ccc;
    color: #666;
    border-color: #999;
    pointer-events: none;
    cursor: not-allowed;
  }

  #seating-chart .seat.accessible::after {
    content: " \267F";
    font-size: 0.8em;
  }

  #seating-chart .seat.selected {
  background-color: #003366;
  color: #fff;
  border-color: #001a33;
}

#seating-chart .seat:focus {
  outline: 2px solid #ffcc00;
  outline-offset: 2px;
}