/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: #0D0D0D;
  color: #F8F9FA;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
  color: #E63946;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.nav-logo img {
  height: 70px;
}

/* NAV */
nav {
  display: flex;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  cursor: pointer;
}

nav a:hover {
  color: #E63946;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider, .slide {
  position: absolute;
  width: 100%;
  height: 100%;
}

.slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* HERO CENTER */
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-center img {
  width: 360px;
  max-width: 80vw;
  filter: drop-shadow(0 0 20px #E63946);
}

/* TAGLINE */
.tagline {
  margin-top: -50px;
  letter-spacing: 2px;
}

/* RED BUTTON */
.whatsapp-btn {
  display: inline-block;       /* IMPORTANT */
  margin-top: 18px;            /* Moves button down */
  padding: 14px 36px;
  background: #E63946;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 40px;
}

.whatsapp-btn:hover {
  box-shadow: 0 0 20px #E63946;
}

/* PROJECTS */
.projects {
  padding: 80px 20px 100px;
  text-align: center;
}

.project-slider {
  overflow: hidden;
  width: 100%;
}

.project-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.project-card {
  min-width: 220px;
  margin-right: 30px;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ABOUT */
.about {
  padding: 80px 20px 100px;
  text-align: center;
}

/* CONTACT */
footer {
  padding: 60px 20px;
  border-top: 1px solid #222;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 30px auto;
}

.copy {
  opacity: 0.5;
  margin-top: 20px;
}

/* BOOKING PAGE */
.book-hero {
  height: 50vh;
  background: url('images/hero1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.book-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.book-hero h1 {
  position: relative;
  color: #E63946;
  font-size: 3rem;
  text-align: center;
}

.tickets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

.ticket-card {
  background: #1A1A1A;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(230,57,70,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.ticket-card h3 {
  color: #E63946;
  margin: 15px;
}

.ticket-card p {
  color: #fff;
  margin: 0 15px 15px 15px;
}

.book-now {
  margin: 15px;
  padding: 12px;
  background: #E63946;
  color: #fff;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: box-shadow 0.3s;
}

.book-now:hover {
  box-shadow: 0 0 15px #E63946;
}

/* MOBILE */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    align-items: center;
    display: none;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 15px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-center img {
    width: 220px;
  }

  .nav-logo img {
    height: 50px;
  }

  .book-hero h1 {
    font-size: 2rem;
  }

  .ticket-card img {
    height: 220px;
  }
}

/* LOADING SCREEN */
.loader {
  position: fixed;
  inset: 0;
  background: #0D0D0D;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loader.active {
  opacity: 1;
  pointer-events: all;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #333;
  border-top: 4px solid #E63946;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.loader p {
  margin-top: 20px;
  color: #E63946;
  letter-spacing: 2px;
  font-weight: bold;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* HERO BUTTON FIX */
.hero .slide {
  z-index: 0; /* slides behind overlay and hero-center */
}

.hero .overlay {
  z-index: 1; /* overlay behind hero-center */
}

.hero-center {
  z-index: 2; /* logo, tagline above overlay */
}

#bookBtn {
  z-index: 3; /* button is topmost, clickable */
  position: relative; /* ensure z-index works */
}

/* ===== MOBILE SEAT MAP ADJUSTMENTS ===== */
.seat-map {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28px, 1fr)) !important;
  gap: 6px !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden !important;
}

.seat {
  width: 28px !important;
  height: 28px !important;
  font-size: 10px !important;
}

.summary, .info-box, form {
  max-width: 95% !important;
  padding: 12px !important;
}

button, select, input {
  font-size: 14px !important;
  padding: 10px !important;
}

/* SMALL CIRCULAR BACK BUTTON */
.mobile-back {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E63946;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(230,57,70,0.6);
}

.mobile-back:hover {
  box-shadow: 0 0 12px rgba(230,57,70,0.9);
}

/* MOBILE RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .seat-map {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(20px, 1fr)) !important;
    gap: 4px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    transform: scale(1) !important;
  }

  .seat {
    width: 100% !important;
    height: 24px !important;
    font-size: 10px !important;
  }

  .summary {
    max-width: 95% !important;
    padding: 10px !important;
  }

  .mobile-back {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
}

/* ================= MOBILE BACK BUTTON ================= */
.mobile-back {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #E63946;
  color: #fff;
  border: none;
  font-size: 20px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 999;
  padding: 0;
  box-shadow: 0 0 8px rgba(230,57,70,0.5);
}

/* ================= SEAT MAP RESPONSIVE ================= */
.seating {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seat-map {
  display: grid;
  gap: 6px;
  max-width: 100%; /* fit mobile screen */
  width: 100%; /* take full available width */
  overflow-x: auto; /* in case grid is very wide */
  padding: 0 10px; /* small horizontal padding */
  box-sizing: border-box;
}

.seat {
  width: 32px;
  height: 32px;
  background: #333;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* smaller seats on very small screens */
@media (max-width: 400px) {
  .seat {
    width: 24px;
    height: 24px;
    font-size: 9px;
  }
}

/* =================== MOBILE BACK BUTTON =================== */
.mobile-back {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  background: #E63946;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #E63946;
}

/* =================== SEAT MAP RESPONSIVE =================== */
.seat-map {
  display: grid;
  gap: 6px;
  width: 100%;             /* full width of container */
  max-width: 100%;         /* prevent horizontal scroll */
  grid-template-columns: repeat(auto-fit, minmax(24px, 1fr)); /* responsive seats */
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Optional: shrink seats slightly on very small screens */
@media (max-width: 480px) {
  .seat {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
}

/* =================== MOBILE BACK BUTTON =================== */
.mobile-back {
  position: fixed;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  border: none;
  background: #E63946;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #E63946;
}

/* =================== SEAT MAP RESPONSIVE =================== */
.seat-map {
  display: grid;
  gap: 6px;
  width: 100%;             /* full width of container */
  max-width: 100%;         /* prevent horizontal scroll */
  grid-template-columns: repeat(auto-fit, minmax(24px, 1fr)); /* responsive seats */
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Optional: shrink seats slightly on very small screens */
@media (max-width: 480px) {
  .seat {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }
}