
.smoovie-page-logo-wrapper {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  margin-bottom: -40px;
}


.smoovie-page-logo {
  max-width: 360px;
  width: 90%;
  height: auto;
  display: inline-block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}



/* ===== Venue Page Styles ===== */

.venue-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
}

.embed-mode {
  padding: 1rem 1rem 2rem;
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 1rem auto;
}

.embed-mode .film-listings-container {
  margin-bottom: 1.5rem;
}

.embed-mode .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}


.embed-mode::before {
  content: '';
  display: block;
  height: 4px;
  width: 60px;
  margin: 0 auto 1rem;
  background: #0077cc;
  border-radius: 2px;
}
.trailer-container {
  width: 100%;
  margin: 0.75rem 0 1rem;
}

.trailer-container iframe,
.trailer-container video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  max-width: 100%;
}

.film-meta-inline {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: normal;
  word-wrap: break-word; /* Prevent long strings from overflowing */
}

.film-meta-inline strong {
  font-weight: 600;
}

@media (max-width: 600px) {
  .film-meta-inline {
    display: block;
    text-align: center;
  }
  .film-meta-inline strong {
    display: inline-block;
    margin-right: 0.25rem;
  }
}

.screening-filter-container {
  margin-bottom: 1.5rem;
  text-align: center;
}

.screening-filter-container select.inline-dropdown {
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  margin-left: 0.2rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
}


/* --- Screening List --- */

#screenings-list .film-listing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 6px;
}

.film-listing-left {
  display: flex;
  flex-direction: column;
}

.film-listing-left .film-title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.film-listing-left .film-date-time {
  font-size: 0.95rem;
  color: #666;
}

/* --- Book Button --- */

.book-now-button {
  padding: 0.5rem 1rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.book-now-button:hover {
  background-color: #005fa3;
}

/* --- Films at Venue --- */

.film-listings-container {
  margin-top: 2rem;
}

/* Vertical card containing poster + content */
.film-card.vertical-layout {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
  overflow: hidden;
  margin-bottom: 2rem;
}

/* ===== Venue Page Styles ===== */

.poster-wrapper {
  position: relative;    /* establish a positioning context */
  overflow: hidden;      /* ensure nothing drifts outside */
}

.poster-wrapper img.film-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.poster-wrapper .film-title {
  position: absolute;
  top: 0px;
  left: 12px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 4px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 4px;
}


/* Remove any old wedge styles */
.title-wedge {
  display: none !important;
}

.poster-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 20%, transparent 70%);
  z-index: 1;
}
.poster-wrapper img.film-image {
  position: relative;
  z-index: 0;
}
.poster-wrapper .film-title {
  z-index: 2;
}

.poster-wrapper img.film-image {
  transition: transform 0.3s ease;
}
.poster-wrapper:hover img.film-image {
  transform: scale(1.02);
}


/* --- Tab Buttons --- */

.film-tabs {
  display: flex;
  border-top: 1px solid #ddd;
}

.film-tabs button {
  flex: 1;
  padding: 0.75rem;
  background: white;
  color: black;
  font-weight: bold;
  border: none;
  border-right: 1px solid #ddd;
  cursor: pointer;
  font-size: 1rem;
  position: relative;  /* for arrow pseudo-element */
}

.film-tabs button:last-child {
  border-right: none;
}

.film-tabs button:hover {
  background: #f0f0f0;
}

/* Arrow indicating collapsed/expanded state */
.film-tabs button::after {
  content: ' ▶';
  margin-left: 0.5rem;
}
.film-tabs button.active::after {
  content: ' ▼';
}

/* Panels hidden by default */
.film-panel {
  display: none;
  padding: 1rem;
  border: 1px solid #ddd;
}

/* When active, show panel */
.film-panel.active {
  display: block;
  background: white;
}

/* --- Info Panel --- */

.info-panel .film-details p {
  margin: 0.5rem 0;
  line-height: 1.4;
}

/* --- Screenings Panel --- */

.screenings-panel .screening-day {
  margin-bottom: 1rem;
}

.screenings-panel .screening-day strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.screenings-panel .time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.screenings-panel .time-slot {
  background-color: #222;
  color: white;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.screenings-panel .time-slot:hover {
  background-color: #444;
}







/* --- Utility --- */
.hidden {
  display: none;
}


.about-venue-section {
  margin-top: 3rem;
  padding: 2rem;
  background: #fdfdfd;
   border-radius: 6px;
  border: 1px solid #ddd;
}
.venue-photo-gallery {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap; /* prevent stacking */
  overflow-x: auto;   /* allow horizontal scroll on very small screens */
}

.venue-photo-gallery img.venue-photo {
  flex: 1 1 0;
  max-width: 33%;
  min-width: 100px; /* prevents becoming too small */
  border-radius: 2px;
  object-fit: cover;
  max-height: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.venue-about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem;
  justify-content: space-between;
}

.venue-details,
.venue-newsletter-box {
  flex: 1 1 320px;
}

.venue-details h2,
.venue-newsletter-box h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

.venue-details p,
.venue-newsletter-box p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Form container */
.venue-newsletter-box form {
  margin-top: 0.5rem; /* slightly less top margin */
}

/* Labels: bold and very tight margin below */
.venue-newsletter-box label {
  font-weight: bold;
  display: block;
  margin-bottom: 0.1rem; /* minimal vertical gap */
  font-size: 0.95rem;
}

/* Inputs: padding kept, but margin below drastically reduced */
.venue-newsletter-box input[type="text"],
.venue-newsletter-box input[type="email"] {
  padding: 0.5rem;
  width: 70%;
  font-size: 1rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  margin-bottom: 0.3rem; /* much tighter spacing */
  display: block;
}

/* Submit button styling */
.venue-newsletter-box input[type="submit"],
.venue-newsletter-box button[type="submit"] {
  padding: 0.5rem 1.5rem;
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-block;
  transition: opacity 0.3s ease;
  margin-top: 0.3rem; /* small margin on top */
}

/* Hover effect for button */
.venue-newsletter-box input[type="submit"]:hover,
.venue-newsletter-box button[type="submit"]:hover {
  opacity: 0.8;
}



.newsletter-message {
  background-color: #e1f6e8;
  border-left: 4px solid #2e8b57;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  border-radius: 5px;
}
.newsletter-message.error {
  background-color: #fbeaea;
  border-left-color: #cc0000;
}







/* === Modal Wrapper === */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

/* === Modal Box === */
.modal-content {
  background: #fff;
  border-radius: 10px;
  max-width: 640px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

/* === Scaling Wrapper === */
.modal-scale {
  transform-origin: top center;
  width: 100%;
  padding: 2rem 1.25rem;
  box-sizing: border-box;
  transition: transform 0.2s ease;
  overflow: hidden;
}

@media (max-width: 600px) {
  .modal-scale {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 420px) {
  .modal-scale {
    padding: 1rem 0.75rem;
  }
}

/* === Utility === */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

/* === Close Button === */
.close-modal {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: #444;
  background: #f7f7f7;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 10;
}
.close-modal:hover {
  background: #e4e4e4;
  color: #111;
}

/* === Booking Container === */
.booking-container {
  width: 100%;
  padding: 0.75rem;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 1rem;
  flex-wrap: nowrap;
}

.booking-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  flex: 1 1 auto;
  text-align: center;
  padding-top: 1rem;
}

.booking-preview-image {
  width: 110px;
  flex-shrink: 0;
  text-align: right;
}

.booking-preview-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: block;
}

/* === Ticket Selection === */
.ticket-selection {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-bottom: 0.75rem;
}
.ticket-selection .ticket-group {
  flex: 0 0 35%;
}
.ticket-selection label {
  font-weight: 600;
  font-size: 0.9em;
  display: block;
  margin-bottom: 0.25rem;
}
.ticket-selection select {
  width: 100%;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  appearance: none;
  box-sizing: border-box;
}

/* === Input Fields === */
.customer-info label {
  font-weight: 600;
  display: block;
  font-size: 0.9em;
  margin: 0.5rem 0 0.25rem;
}
input[type="text"],
input[type="email"] {
  width: 75%;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
  margin-bottom: 0.75rem;
}

/* === Buttons === */
.booking-button {
  display: block;
  margin: 2rem auto 0 auto;
  width: 70%;
  padding: 0.75rem;
  font-size: 1rem;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.booking-button:hover {
  background: #005fa3;
}

.back-button {
  background: #eee;
  color: #333;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 0.85rem;
  width: 60px;
  text-align: center;
  display: inline-block;
}

/* === Newsletter === */
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.checkbox-line input[type="checkbox"] {
  transform: scale(1.1);
  flex-shrink: 0;
}
.checkbox-line label {
  font-size: 0.9em;
  color: #333;
}


#booking-step-2 {
  padding: 1rem 1rem 2rem;
  text-align: left;
}

#booking-step-2 p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  #booking-step-2 h2 {
    font-size: 1.25rem;
  }
  #booking-step-2 p {
    font-size: 0.9rem;
  }
}

#sumup-card {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* === Step 3: Success === */
#booking-step-3 {
  text-align: center;
  padding: 0; /* Remove outer step padding */
}

/* Remove padding on modal wrapper just for Step 3 */
#booking-step-3 .modal-scale {
  padding: 0 !important;
}

#booking-step-3 .booking-container {
  padding: 0 !important;
}

/* Success content styling */
.modal-success-content {
  max-width: 100%;
  margin: 0 auto;
  background: #fefefe;
  padding: 1.5rem 1rem;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* Header */
.modal-success-content h2.booking-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: #111;
  text-align: center;
  padding-top: 0.5rem;
}

/* Summary text */
.modal-success-content p {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: #333;
}

/* Ticket details list */
.ticket-details-list {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.5;
  max-width: 340px;
}

.ticket-details-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.4rem;
}

/* Barcode image */
.ticket-barcode img {
  margin: 1rem auto 0 auto;
  max-width: 260px;
  border: 1px solid #ccc;
  padding: 6px;
  background: white;
  border-radius: 4px;
  display: block;
}

/* Download button */
.modal-success-content .booking-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  background: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}
.modal-success-content .booking-button:hover {
  background: #005fa3;
}

/* Confirmation note */
.ticket-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .modal-success-content {
    padding: 1rem 0.75rem;
  }

  .ticket-details-list {
    padding: 0 0.5rem;
  }

  .modal-success-content .booking-button {
    width: 100%;
    max-width: 280px;
  }
}


/* ====================
   Footer styles
   ==================== */

.frontend-footer {
  padding: 1.5rem 1rem;       /* reduced padding */
  text-align: center;
  margin-top: 1.5rem;         /* reduced top margin */
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.social-links img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.footer-nav {
  margin-bottom: 1rem;
}

.footer-link {
  margin: 0 0.8rem;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #000;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 600px) {
  .frontend-footer {
    padding: 1rem 0.5rem;
  }
  
  .social-links img {
    width: 24px;
    height: 24px;
  }

  .footer-nav {
    margin-bottom: 0.5rem;
  }

  .footer-link {
    margin: 0 0.4rem;
    font-size: 0.85rem;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }
}


/* ===== Venue Photo Lightbox (standalone, no conflict with booking .modal) ===== */

.venue-photo-gallery img.venue-photo,
.js-lightbox-thumb {
  cursor: zoom-in;
}

/* Overlay */
.lb-overlay {
  position: fixed;
  inset: 0;
  display: none;                 /* toggled via .open */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6); /* was 0.8 */
  z-index: 10000;                /* above booking modal */
}

/* Open state */
.lb-overlay.open {
  display: flex;
}

/* Content wrapper */
.lb-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  margin: 0 auto;
}

/* Image */
.lb-image {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}

/* Close button */
.lb-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lb-close:hover { transform: scale(1.06); }

/* Prev/Next buttons (optional, show when multiple thumbs exist) */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #616161;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  display: none;                 /* enabled by JS if >1 images */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.lb-nav:hover { background: #fff; }

.lb-prev { left: -16px; }
.lb-next { right: -16px; }

/* Captions (use alt text) */
.lb-caption {
  text-align: center;
  color: #eee;
  font-size: 0.95rem;
  margin-top: 0.6rem;
  max-width: 92vw;
}

/* Accessibility */
.js-lightbox-thumb:focus {
  outline: 2px dashed #fff;
  outline-offset: 2px;
}

body.lb-open { overflow: hidden; }

@media (max-width: 600px) {
  .lb-close, .lb-nav { width: 36px; height: 36px; font-size: 18px; }
  .lb-prev { left: -8px; }
  .lb-next { right: -8px; }
}
