

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 25px;
  background: linear-gradient(90deg, #ff512f, #f09819, #ff512f); 
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  z-index: 1000;
  animation: slideDown 0.7s ease-out;
}

/* Slide-down animation */
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Navbar List */
nav ul {
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

/* Logo / Title */
.movie h3 {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.movie h3:hover {
    background: linear-gradient( #2e2a36);
  transform: scale(1.15);
  text-shadow: 0px 0px 12px rgba(255,255,255,0.7);
}

/* Navbar Items */
.nav-items {
  margin: 0 12px;
}

/* Links with gift effect */
.nav-kinks {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  background: linear-gradient(45deg, #fffbd5, #b20a2c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
}

.nav-kinks:hover {
  background: none;                 /* remove gradient bg */
  -webkit-background-clip: initial; /* reset */
  -webkit-text-fill-color: initial; /* reset */
  color: red;                     /* force white */
}
/* Hover underline effect */
.nav-kinks::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  /* background: #fff; */
  transition: 0.3s;
  transform: translateX(-50%);
}
.nav-kinks:hover::after {
  width: 60%;
}

/* Search Bar */
input[type="search"] {
  /* border: none; */
  border-radius: 15px;
  padding: 6px 14px;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
  width: 500px;
}
input[type="search"]:focus {
  box-shadow: 0 0 10px #fff;
}

/* Dropdown */
.dropdown .btn {
  border-radius: 8px;
  border: none;
  font-weight: 500;
  transition: 0.3s;
}
.dropdown .btn:hover {
background: linear-gradient( #2e2a36);
  color: #ff512f;
  transform: scale(1.08);
}
.dropdown-menu {

  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.4s ease;
}
.dropdown-item:hover {
background: linear-gradient( #2e2a36);
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gift Button */
.gift a {
  /* background: linear-gradient(45deg, #ff512f, #dd2476); */
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  
}
.gift a:hover {
  background: linear-gradient( #2e2a36);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0px 0px 12px rgba(255,255,255,0.7);
}

.nav-items a:hover {
  background: linear-gradient( #2e2a36);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0px 0px 12px rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}
/* Hover underline effect */
.nav-kinks::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.4s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0;
}

.nav-kinks:hover::after {
  width: 60%;
  opacity: 1;
}

    body {
      font-family: Arial, sans-serif;
      text-align: center;
      padding: 20px;
    }

    .screen {
      background: #ccc;
      padding: 50px;
      margin: 20px auto;
      width: 60%;
      border-radius: 10px;
    }

    .seat-container {
      display: grid;
      grid-template-columns: repeat(23, 40px);
      gap: 10px;
      justify-content: center;
      margin-top: 30px;
    }

    .seat {
      width: 40px;
      height: 40px;
      background-color: #eee;
      border: 1px solid #999;
      border-radius: 5px;
      cursor: pointer;
    }

    .seat.selected {
      background-color: #6c6;
    }

    .seat.occupied {
      background-color: #f66;
      cursor: not-allowed;
    }

    .legend {
      margin-top: 20px;
    }

    .legend span {
      display: inline-block;
      width: 20px;
      height: 20px;
      margin-right: 8px;
      border-radius: 3px;
    }

    #count {
      margin-top: 20px;
      font-weight: bold;
    }
    #submit-btn{
        background-color: red;
        width: 200px;
        height: 50px;
        color: white;
        border-radius: 50px;
    }


    
.atoj{
  margin-right: 1400px;
  margin-top: 350px;
}
.head1{
  margin-top: -900px;
}
#bill{
  background-image: url("https://png.pngtree.com/thumb_back/fw800/background/20240925/pngtree-above-the-electricity-bill-is-a-calculator-and-a-light-bulb-image_16251437.jpg");
}
/* Blur background when bill is visible */
.blur {
  filter: blur(6px);
  pointer-events: none;
}

/* Bill popup styling */
#bill {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30 0px;
  background: linear-gradient(135deg, #fff, #fdf2f8);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  text-align: center;
  animation: popUp 0.5s ease-out;
  font-family: "Poppins", sans-serif;
  border: 3px solid #ff512f;
  overflow: hidden;
  height: 500px;
}

/* Decorative top bar */
#bill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #ff512f, #dd2476, #f09819);
  border-radius: 20px 20px 0 0;
}

/* Ticket / Success icon */
#bill h2::before {

  display: block;
  font-size: 40px;
  margin-bottom: 10px;
  animation: bounce 1.2s infinite;
}

/* Title */
#bill h2 {
  margin-bottom: 15px;
  font-size: 26px;
  font-weight: 700;
  color: #e63946;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Seat details */
#bill-seats {
  font-size: 15px;
  color: #444;
  margin: 15px 0;
  line-height: 1.6;
  background: #fff5f5;
  padding: 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 8px rgba(255, 81, 47, 0.2);
}

/* Total amount */
#bill-total {
  font-size: 20px;
  font-weight: bold;
  color: #1d3557;
  margin: 20px 0;
  padding: 12px;
  background: linear-gradient(135deg, #ffe9e3, #fff);
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(255, 81, 47, 0.2);
}

/* Close button */
#close-btn {
  margin-top: -10px;
  /* padding: 12px 26px; */
  /* border: none; */
  /* background: linear-gradient(90deg, #ff512f, #dd2476); */
  color: white;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-left: 250px;
}
#close-btn:hover {
  background: linear-gradient(90deg, #dd2476, #ff512f);
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.25);
}

/* Animations */
@keyframes popUp {
  from {
    transform: translate(-50%, -50%) scale(0.7);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}


/* Fade-in animation */
@keyframes fadeIn {
  from {opacity: 0; transform: translate(-50%, -60%);}
  to {opacity: 0; transform: translate(-50%, -50%);}
}



