/* Theme Name: Tickets */

/* CSS RESET */

/* Box sizing and margin reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Root font size */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
}

/* Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* Improve text styles */
body {
  font-family: "Plus Jakarta Sans", serif;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* Improve button styles */
button, input, select, textarea {
  font: inherit;
}

/* Global */

body::after{
  content:'';
  display:block;
  clear:both;
}

h1, h2, h3, h4, h5,
.passster-form > form.password-form .ps-form-headline{
  font-family: 'Clash Display', sans-serif;
  text-transform: uppercase;
  font-weight:800;
  letter-spacing:1px;
  color:#5577ad;
}

h2{
  text-align: center;
  font-size: 30px;
  line-height: 30px;
  max-width: 220px;
  margin: 0 auto 30px;

  @media(min-width:768px){
    max-width: unset;
    font-size: 30px;
  }
}

body p{
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.btn,
.passster-form > form.password-form .passster-submit{
  background:#5577ad;
  color:white;
  font-family: 'Clash Display', sans-serif;
  text-transform: uppercase;
  text-align: center;
  display:inline-block;
  padding:7.5px 15px;
  border-radius: 7.5px;
  margin-top:15px;
  border:0px;
}


input[type=text],
input[type=password],
.passster-form > form.password-form .passster-password{
  border-radius: 7.5px;
}

/* PASSTER FORM */

body .passster-form{
  margin:0px;
  padding:0px;
  width:100vw;
  height:100vh;
  max-width: unset !important;
  display:flex;
  justify-content: center;
  align-items: center;
  background: #5577ad url("/wp-content/themes/tickets/assets/cincinattiopen.jpg") no-repeat center center;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000000;
}

.passster-form > form.password-form {
  background: rgba(255,255,255,.95);
  margin: 15px;
  padding: 30px;
  border-radius: 15px;
  max-width:450px;
}

.passster-form p{
  margin-bottom:15px !important;
}

/* BANNER */

.banner{
  background:url("/wp-content/themes/tickets/assets/crowdshot.jpg") no-repeat center center;
  background-size:cover;
  width:100vw;
  height:80vh;
  position: relative;
}

.banner h1 {
    color: white;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    text-align: center;
    font-size: 45px;
    line-height: 45px;
    text-shadow: 0px 5px 15px rgba(0,0,0,.75);
    padding: 0 15px;
    display:block;
    width:100%;

    @media(min-width:768px){
      font-size: 60px;
      line-height: 75px;
      max-width: 768px;
      left: 50%;
      transform: translate(-50%,-50%);
    }
}

/* NAV */

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: rgb(71,92,148);
  background: linear-gradient(90deg, rgba(71,92,148,1) 0%, rgba(20,34,72,1) 100%);
  position:sticky;
  top:0;
}

nav a {
  color: white;
  font-family: 'Clash Display', sans-serif;
  text-decoration: none;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom:5px solid transparent;
  border-top:5px solid transparent;
}

nav a:hover {
  border-bottom: 5px solid white;
}

/* SECTIONS */

section{
  width:100%;
  display:block;
  margin:0 auto;
  float:left;
  padding: 7.5vh 7.5vw;
}

/* LEGEND */

.legend{
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 60px;
}

.legend .seats{
  margin-bottom:15px !important;
  display: flex !important;
  cursor: default;
  margin-top:0px !important;
}

.legend p{
  margin:15px 0 0 0;
  text-align: center;
}

.legend p a{
  color:#5577ad;
}


/* SESSION */

.session{
  padding:30px 0;
  border-top:3px solid #5577ad;
}

.session:last-of-type{
  border-bottom:3px solid #5577ad;
}


/* TOGGLE */

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.toggle span.material-symbols-outlined{
  font-size:45px;
  color: #5577ad;
}

.toggle h3{
  font-size:24px;
}

.toggle p{
  font-weight:700;
  margin-bottom:0px;
}

@media(min-width:768px){
  .toggle .details{
    display:flex;
    flex-grow:1;
    justify-content: space-between;
    align-items: center;
  }
}



/* SEATS */

.session.open .seats{
  display:flex;
}

.seats{
  display:none;
  flex-wrap: wrap;
  gap:15px;
  justify-content: flex-start;
  align-items: center;
  margin-top:15px;
}

.seats h4{
  display:block;
  width:100%;
}

label.seat{
  display: block;
}

label.seat strong{
  border-radius: 7.5px;
  border: 2px solid;
  padding: 5px 15px;
  cursor: pointer;
  display:block;
  font-weight: 600;
  display:flex;
  gap:20px;
  align-items: center;
  justify-content: space-between;
}

label.seat strong span{
  font-weight:500;
}

label.seat.clubhouse strong{
  border-color:#ffa500;
  background: rgba(255, 165, 0, .15);
}

label.seat.clubhouse input:checked + strong{
  background: rgba(255, 165, 0, 1);
  color: black;
}

label.seat.parking strong{
  border-color: #5577ad;
  background: rgba(85, 119, 173, .15);
}

label.seat.parking input:checked + strong{
  background: rgba(85, 119, 173, 1);
  color:white;
}

label.seat input{
  display:none;
}

label.seat.sold strong{
  border-color:rgb(77, 77, 77) !important;
  background:rgb(230, 230, 230) !important;
  color:rgb(77, 77, 77) !important;
  text-decoration: line-through;
}

/* CONTACT */

#contact p{
  max-width:360px;
  margin:0 auto 15px;
  text-align: center;
}

textarea.hidden{
  display: none;
}

#contact form{
  background:rgba(85, 119, 173, .15);
  padding:15px 30px;
  border-radius:30px;
  margin:0 auto;
  max-width:400px;
}

#contact form p{
  text-align: left;
}

#contact form input:not([type="submit"]){
  width:100%;
  display:block;
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 0 5px;
  padding: 10px;
  box-sizing: border-box;  
  border-radius:7.5px;
  margin-top:5px;
}

#contact form input[type=submit]{
  width:100%;
}

#contact form .wpcf7-spinner{
  display:none !important;
}



/* CONTENT PAGE */

.wppage{
  width:100%;
  margin:0 auto;
  max-width:900px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* Image Alignment */
.alignleft {
    float: left;
    margin: 10px 20px 10px 0;
}
.alignright {
    float: right;
    margin: 10px 0 10px 20px;
}
.aligncenter {
    display: block;
    margin: 10px auto;
}

/* Captions */
.wp-caption {
    max-width: 100%;
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
}
.wp-caption img {
    margin-bottom: 5px;
}
.wp-caption-text {
    display: block;
    font-style: italic;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #ddd;
    padding-left: 15px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* Lists */
ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}
ul li {
    list-style-type: disc;
}
ol li {
    list-style-type: decimal;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background: #f4f4f4;
}

/* Buttons */
.button, .wp-block-button__link {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}
.button:hover, .wp-block-button__link:hover {
    background: #005f8d;
}