/* Mobile-first minimalist styles for The Little Prince landing page */

:root {
  --primary-color: #02030c;
  --secondary-color: #FFFFFF;
  --accent-color: #FFD700;
}

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

body {
  font-family: Montserrat, Helvetica, sans; /*Arial, sans-serif;*/
  color: var(--secondary-color);
  overflow-x: hidden;
  background: #02030c;
}

.background {
  background-image: url('img/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

.header {
  display: flex;
  justify-content: center;
  padding: 30px 10px 10px;
  z-index: 10;
}

.logo {
  width: 70%;
  max-width: 300px;
  height: auto;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  /*justify-content: center;*/
  align-items: center;
  padding: 20px;
  /*background-image: url(img/circle.png);*/
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center 10px;
  margin-top: 20px;
  position: relative;
}

.coming-soon {
  text-align: center;
  position: relative;
}

.circle-bg {
  position: relative;
  display: inline-block;
}

.circle-image {
  width: 100%;
  object-fit: contain;
}
.availability {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
}

.availability p {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 8px;
}

.coming-soon-text {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: bold;
  color: var(--primary-color);
  width: 70%;
}

.countdown {
  position: absolute;
  bottom: 45%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42px;
  color: var(--primary-color);
}

.calendar-section {
  width: 100%;
  max-width: 400px;
  background-image: url(img/circle.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 370px;
  background-position-y: -5px;
}

.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 360px;
  margin: 10px auto;
  min-height: 320px;
}

.slider {
  flex: 1;
  overflow: hidden;
  border-radius: 10px;
  padding: 20px;
  color: var(--primary-color);
  position: relative;
  margin-top: -25px;
}

.slider .slide {
  display: none;
  flex-wrap: wrap;
  justify-content: left;
  gap: 13px;
  margin-bottom: 20px;
}

.slider .slide.active {
  display: flex;
}

.slide h3 {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  font-size: 26px;
}

.date {
  flex: 0 0 29%;
  text-align: center;
  padding: 8px 5px;
  cursor: default;
  font-size: 30px;
  font-weight: bold;
  border: 5px solid;
  border-radius: 15px;
}

.date.available {
  color: #77AA00;
  cursor: pointer;
}

.date.available:hover {
  opacity: 0.8;
}

.date.sold-out {
  color: #C60000;
}

.slider-arrow {
  width: 28px;
  height: 28px;
  cursor: pointer;
  margin: 0 10px;
}

.slider-arrow:hover {
  opacity: 0.8;
}

.time-selection {
  text-align: center;
  position: relative;
  
  min-width: 350px;
  width: 100%;
  max-width: 400px;
  background-image: url(img/circle.webp);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 370px;
  background-position-y: -5px;


}
/*
.time-content {
  background-image: url('img/circle.png');
  background-size: 95%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
  position: relative;
}
*/
.time-content h2 {
  margin-bottom: 15px;
  font-size: 36px;
  color: var(--primary-color);
}

.time-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  
}

.time-buttons button {
  padding: 5px 10px;
  font-size: 28px;
  background-color: transparent;
  border: 5px solid;
  border-radius: 25px;
  cursor: pointer;
  /* background: rgba(2, 3, 12, 0.1); */
  font-weight: bold;
  font-family: Montserrat, Helvetica, sans;
  color: #77AA00;
}
/*
.time-buttons button:hover {
  background-color: #FFA500;
}
*/
#back-to-calendar {
  margin: -15px 0 15px;
  width: 28px;
  border: none;
  cursor: pointer;
}

#back-to-calendar:hover {
  background-color: #AAAAAA;
}

.right-arrow {
  margin: 10px 20px 0 0px;
}

.left-arrow {
  margin: 10px 0px 0 20px;
}

.footer {
  display: flex;
  align-items: center;
  padding: 20px;
  z-index: 10;
  margin: auto;
}

.footer-logo {
  width: 30%;
  height: auto;
  margin-right: 20px;
  align-self: flex-start;
}

.footer-text {
  width: 62%;
  text-align: left;
}

.footer-text p:not(.contact) {
  font-size: 12px;
  line-height: 1.5;
}

.contact {
  font-size: 16px;
  font-weight: 600;
  padding: 3px 0px;
}

.phone {
  margin-left: -7px;
}

p.contact:not(.phone) {
  margin-top: 3px;

}

.footer h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.cast-list {
  font-size: 15px;
  line-height: 1.5;
  color: var(--secondary-color);
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
  margin: 8px;
}

.cast-section {
  padding: 20px;
  text-align: center;
  z-index: 10;
  margin: 0 auto 10px;
}

.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: var(--secondary-color);
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.close {
  position: absolute;
  top: 6px;
  left: 20px;
  color: #330000;
  font-size: 32px;
  /* font-weight: bold; */
  cursor: pointer;
  z-index: 1001;
  padding: 0.5px 11px;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.close:hover {
  color: var(--accent-color);
}

#booking-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.hidden {
  display: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .logo {
    width: 60%;
  }
/*
  .circle-image {
    width: 250px;
    height: 250px;
  }
*/
  .coming-soon-text {
    font-size: 60px;
  }

  .countdown {
    font-size: 58px;
  }

  .footer {
    max-width: 700px;
  }

  .footer-logo {
    width: 25%;
    margin-right: 10px;
    align-self: flex-start;
  }

  .footer-text {
    width: 75%;
  }

  .footer-text p:not(.contact) {
    font-size: 10px;
  }

  .contact {
    font-size: 12px;
    font-weight: 600;
  }

  .footer h2 {
    font-size: 32px;
  }

  .cast-list {
    font-size: 26px;
  }

  .cast-section {
    max-width: 700px;
  }
  .calendar-section {
    padding-top: 25px;
  }
}