/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f8fbff;
  color: #333;
}

/* Navbar */
nav {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  padding: 18px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav a {
  color: white;
  margin: 0 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  transition: 0.3s;
}

nav a:hover {
  color: #ffeb3b;
}

/* Hero Section */
.hero {
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -100px;
  left: -150px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin: 0;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 20px;
  margin-top: 10px;
  animation: fadeInUp 1.2s ease;
}

/* Section Container */
.container {
  max-width: 1100px;
  margin: -60px auto 60px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.container h2 {
  color: #007bff;
  font-size: 28px;
  margin-bottom: 20px;
}

.container p {
  line-height: 1.8;
  font-size: 16px;
  color: #555;
}

/* Button Style */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================= */
/* Bottom Glassy Navigation Bar  */
/* ============================= */
nav.bottom {
  background: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;   /* allow wrapping on mobile */
  gap: 12px;
  padding: 12px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

nav.bottom a {
  display: inline-block;
  padding: 8px 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 1px 1px 2px rgba(255,255,255,0.4),
    inset -1px -1px 2px rgba(0,0,0,0.4),
    0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  white-space: nowrap; /* prevent label breaking */
}

nav.bottom a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(255,255,255,0));
  pointer-events: none;
}

nav.bottom a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 1px 1px 3px rgba(255,255,255,0.5),
    inset -2px -2px 4px rgba(0,0,0,0.4),
    0 8px 20px rgba(0,0,0,0.5);
}

nav.bottom a:active {
  transform: translateY(1px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.5),
    inset -2px -2px 4px rgba(255,255,255,0.3),
    0 2px 4px rgba(0,0,0,0.5);
}

/* Responsive tweaks for mobile */
@media (max-width: 480px) {
  nav.bottom a {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/*===================*/
/* Seat page Styling */
/*===================*/

/* Highlight today's date */
.current-date {
  font-weight: 600;
  color: #007bff;
}

/* Seat status blink animation */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Available status */
.status-available {
  color: #28a745;
  font-weight: 600;
  animation: blink 1.2s infinite;
}

/* Reserved status */
.status-reserved {
  color: #dc3545;
  font-weight: 600;
  animation: blink 1s infinite;
}
