/* ======================
   HERO SLIDER
====================== */
.hero{
  position:relative;
  width:100%;
  height:320px;
  overflow:hidden;
  background:#000;
}

.hero-slide{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  opacity:0;
  transition:opacity .6s ease;
}

.hero-slide.active{
  opacity:1;
  z-index:1;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-content{
  position:absolute;
  bottom:30px;
  left:30px;
  color:#fff;
  max-width:70%;
}

.hero-content h2{
  font-size:28px;
  margin-bottom:8px;
}

.hero-content p{
  font-size:16px;
  margin-bottom:12px;
}

.hero-btn{
  display:inline-block;
  background:#ff3d00;
  padding:10px 16px;
  border-radius:4px;
  font-size:14px;
  color:#fff;
}

/* Mobile */
@media(max-width:768px){
  .hero{
    height:220px;
  }
  .hero-content{
    left:15px;
    bottom:15px;
    max-width:90%;
  }
  .hero-content h2{
    font-size:20px;
  }
  .hero-content p{
    font-size:14px;
  }
}

.event-grid{
  transition:opacity .2s ease;
}

.pay-bar {
  z-index: 1001;
}

.bottom-nav {
  z-index: 1000;
}

.seat-wrap {
  padding-bottom: 20px;
}

/* =========================
   MOBILE APP UI – EVENT PAGE
========================= */

@media (max-width: 768px){

/* ---------- HEADER ---------- */
.mobile-header{
  position:sticky;
  top:0;
  z-index:1000;
  height:56px;
  background:#111;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
}
.mh-title{
  font-size:16px;
  font-weight:600;
}
.mh-left,.mh-right{
  font-size:20px;
}

/* ---------- HERO IMAGE ---------- */
.gallery,
.gallery img{
  height:220px;
}
.gallery{
  border-radius:0;
}

/* ---------- EVENT INFO ---------- */
.event-info{
  margin-top:-30px;
  border-radius:16px 16px 0 0;
  padding:18px;
}
.event-info h1{
  font-size:18px;
  line-height:1.3;
}
.event-meta{
  font-size:13px;
  color:#666;
}

/* ---------- CARD STYLE ---------- */
.section-card{
  background:#fff;
  border-radius:14px;
  padding:16px;
  margin:16px 12px;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}

/* ---------- SHARE BUTTONS ---------- */
.share a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:42px;
  padding:0 14px;
  border-radius:10px;
  font-size:14px;
}

/* ---------- ARTISTS ---------- */
.artist-card{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
}

/* ---------- MAP ---------- */
.map iframe{
  border-radius:12px;
}

/* ---------- SEATS ---------- */
.seat-wrap{
  padding:12px;
}
.seat{
  width:28px;
  height:28px;
  font-size:11px;
  margin:3px;
}
.row-label{
  width:18px;
  font-size:12px;
}

/* ---------- STICKY BOTTOM BAR ---------- */
.book-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:64px;
  background:#fff;
  border-top:1px solid #ddd;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  z-index:999;
}
.book-bar button{
  height:42px;
  border-radius:10px;
  font-size:15px;
  padding:0 18px;
}

/* ---------- REVIEWS ---------- */
.review-card{
  font-size:14px;
}

/* ---------- ADS ---------- */
.ad-banner{
  font-size:14px;
  border-radius:14px;
}

}


.seat.selected{
  transform:scale(1.05);
}

/* ======================
   GLOBAL
====================== */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body{
  background:#f2f2f2;
  color:#111;
}

a{
  text-decoration:none;
  color:inherit;
}

/* ======================
   HEADER
====================== */
.header{
  background:#1c1c1c;
  color:#fff;
  padding:15px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-size:24px;
  font-weight:700;
  color:#ff3d00;
}

.nav a{
  margin-left:20px;
  color:#fff;
  font-size:14px;
}

/* ======================
   EVENT GRID
====================== */
.container{
  width:95%;
  max-width:1200px;
  margin:30px auto;
}

.event-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:20px;
}

.event-card{
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
  transition:.3s;
}

.event-card:hover{
  transform:translateY(-4px);
}

.event-card img{
  width:100%;
  height:160px;
  object-fit:cover;
}

.event-body{
  padding:15px;
}

.event-title{
  font-size:17px;
  font-weight:600;
  margin-bottom:8px;
}

.event-meta{
  font-size:13px;
  color:#666;
  margin-bottom:12px;
}

.book-btn{
  display:inline-block;
  background:#ff3d00;
  color:#fff;
  padding:10px 15px;
  border-radius:4px;
  font-size:14px;
}

/* ===== FIX FOR STICKY PAY BAR + BOTTOM NAV ===== */

/* Reserve space so content is NOT hidden */
.page-content,
body {
  padding-bottom: 140px; /* 64 (pay bar) + 56 (bottom nav) + margin */
}


/* ======================
   SEAT LAYOUT
====================== */
.seat-wrap{
  background:#fff;
  padding:20px;
  border-radius:8px;
}

.screen{
  background:#ddd;
  text-align:center;
  padding:10px;
  margin-bottom:20px;
  font-weight:600;
}

.seat-row{
  display:flex;
  align-items:center;
  margin-bottom:8px;
}

.row-label{
  width:30px;
  font-weight:600;
}

.seat{
  width:34px;
  height:34px;
  margin:4px;
  border-radius:4px;
  border:1px solid #ccc;
  font-size:12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.seat.available{
  background:#fff;
}

.seat.booked{
  background:#ccc;
  cursor:not-allowed;
}

.seat.selected{
  background:#4caf50;
  color:#fff;
}

.legend{
  display:flex;
  gap:15px;
  margin-top:20px;
  font-size:13px;
}

.legend span{
  display:flex;
  align-items:center;
  gap:5px;
}

.legend i{
  width:14px;
  height:14px;
  display:inline-block;
  border-radius:3px;
}

.i-available{border:1px solid #ccc}
.i-selected{background:#4caf50}
.i-booked{background:#ccc}

/* ======================
   BOOK BAR
====================== */
.book-bar{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background:#fff;
  border-top:1px solid #ddd;
  padding:12px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.book-bar button{
  background:#ff3d00;
  color:#fff;
  border:none;
  padding:12px 20px;
  font-size:15px;
  border-radius:4px;
}

/* ======================
   MOBILE OPTIMIZATION
====================== */

@media(max-width:768px){

  .header{
    padding:12px 15px;
  }

  .logo{
    font-size:20px;
  }

  .nav{
    display:none;
  }

  .container{
    width:100%;
    margin:15px auto;
    padding-bottom:80px;
  }

  /* EVENT CARDS */
  .event-grid{
    grid-template-columns:1fr;
    gap:15px;
  }

  .event-card img{
    height:140px;
  }

  .event-title{
    font-size:16px;
  }

  .book-btn{
    width:100%;
    text-align:center;
  }

  /* SEATS */
  .seat-wrap{
    padding:15px;
  }

  .seat{
    width:30px;
    height:30px;
    margin:3px;
    font-size:11px;
  }

  .row-label{
    width:22px;
    font-size:12px;
  }

  /* BOTTOM BAR */
  .book-bar{
    padding:10px 15px;
  }

  .book-bar button{
    padding:10px 15px;
    font-size:14px;
  }
}

/* APP FEEL */
body{
  -webkit-tap-highlight-color:transparent;
}

.seat{
  touch-action:manipulation;
}
