/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  font-family: "Abel", sans-serif;
  background: #0d0d0d url('images/BG-1.jpg') center/cover no-repeat fixed;
  color: #fff;
  overflow-y: auto;
}

/* NAVBAR */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 50px;
  position: fixed; width: 100%; top: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  font-size: 1.2rem;
}
.logo { font-size: 22px; font-weight: 700; color: #07aef0; }
.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links li a { text-decoration: none; color: #ffffff; font-weight: bolder; }
.nav-links li a:hover { color: #07aef0; }

/* SECTIONS FULLSCREEN */
.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  position: absolute;
  top: 0;
  left: 0;
}
.hidden { display: none !important; }

/* HERO FIX */
.hero { text-align: center; }
.hero-content { max-width: 650px; margin: auto; transform: translateY(-30px); }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.3; margin-bottom: 15px; padding-bottom: 1rem; }
.hero p { margin: 5px 0 25px; font-size: 1.2rem; color: #dbdbdb; max-width: 600px; padding-bottom: 1.5rem; }

/* BUTTONS */
.btn {
  padding: 12px 28px; border-radius: 30px; margin: 0 10px; cursor: pointer;
  font-weight: bold; text-decoration: none; border: none; transition: all 0.3s;
  font-size: 1.2rem;
}
.btn.primary { border: 2px solid #07aef0; color: #fff; background: transparent; }
.btn.primary:hover { background: #07aef0; color: #ffffff; }
.btn.outline { border: 2px solid #07aef0; color: #fff; background: transparent; }
.btn.outline:hover { background: #07aef0; color: #ffffff; }
.btn.full { grid-column: span 2; width: 100%; }

/* FLOATING SHAPES */
.floating-shapes .circle {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, #07aef0, #3333ff);
  opacity: 0.25; animation: float 6s ease-in-out infinite;
}
.floating-shapes .circle:nth-child(1){width:120px;height:120px;top:15%;left:10%;}
.floating-shapes .circle:nth-child(2){width:80px;height:80px;bottom:25%;right:20%;}
.floating-shapes .circle:nth-child(3){width:200px;height:200px;bottom:15%;left:25%;}
@keyframes float {0%{transform:translateY(0)}50%{transform:translateY(-20px)}100%{transform:translateY(0)}}

/* CARD BASE STYLE */
.card {
  background: rgba(0, 0, 0, 0.85);
  padding: 25px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  animation: fadeIn 0.5s ease;
}

/* BOOKING FORM */
.booking {
  width: 650px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 15px;
}
.booking h2 { grid-column: span 2; text-align: center; font-size:1.4rem; color: #07aef0; margin-bottom: 10px; }
.booking label { font-size:0.85rem; font-weight:600; color:#ddd; margin-bottom:4px; display:block; }
.booking input, .booking select {
  width: 100%; padding: 8px; border-radius: 6px; border: 1px solid #333;
  background: #111; color: #fff; font-size: 0.85rem;
}
.booking input:focus, .booking select:focus { border: 1px solid #07aef0; outline: none; }

#seatSelection {
    height: auto;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 50px;
}

/* === EDITED: SEAT SECTION STYLES === */

/* CHANGED: Slightly reduced width to better fit the 6-column layout */
.seat-section.card {
  width: 100%;
  max-width: 360px; /* Was 380px */
  padding: 15px;
}
.seat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #fff;
}
.back-arrow {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}
.seat-header h2 { color: #07aef0; margin-bottom: 0; }

/* CHANGED: Switched to a uniform 6-column grid */
.seat-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* This is the key change */
  gap: 6px; /* Uniform gap */
  justify-content: center;
  margin: 15px auto;
}

.seat, .seat-element {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.seat {
  background: #444;
  border: 1px solid #555;
}
.seat:hover:not(.taken):not(.selected) {
    background: #5c5c5c;
    transform: scale(1.05);
}
.seat.selected {
  background: linear-gradient(135deg, #07aef0, #3333ff);
  color: #fff;
  border-color: #07aef0;
}
.seat.taken {
  background: #c0392b;
  cursor: not-allowed;
  opacity: 0.7;
}
.seat-element { cursor: default; }
.seat-element.driver { background-color: #2c3e50; color: white; border: none; }
.seat-element.exit { background-color: #f39c12; color: white; border: none; }
.seat-element.aisle {
  border: 1px solid #444;
  background: #222;
  color: #888;
  width: 18px;
  height: 18px;
  font-size: 9px;
  margin: auto;
  border-radius: 4px;
}
.seat-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #333;
}
#selectedCounter {
  font-size: 0.9rem;
  font-weight: bold;
  color: #ddd;
}
.seat-footer .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
  margin: 0;
}