/* ✅ Navbar Styling */
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;
}

/* Layout for Form + Preview */
section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px;
}
@media (max-width: 900px) {
  section {
    flex-direction: column;
    align-items: center;
  }
}

/* Gift Card Preview */
.border2 {
  flex: 1;
  max-width: 380px;
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease-in-out;
  height: 1050px;
}
.border2:hover {
  transform: translateY(-8px);
}
.border2 img {
  border-radius: 12px;
  width: 100%;
  margin-bottom: 20px;
}
.border2 input {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

/* Form Section */
.border {
  flex: 2;
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.border input {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.border h2 {
  margin-top: 20px;
  margin-bottom: 15px;
  color: #185a9d;
}

/* Amount Buttons */
.amount {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.amount a {
  padding: 12px 20px;
  border-radius: 10px;
  background: #f1f1f1;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}
.amount a:hover {
  background: #185a9d;
  color: white;
  transform: scale(1.1);
}
.amount a.active {
  background: linear-gradient(145deg, #43cea2, #185a9d);
  color: #fff;
}

/* Payment Button */
.btn-info {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  color: white;
  transition: transform 0.3s;
}
.btn-info:hover {
  transform: scale(1.05);
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.custom-footer {
  margin-top: 50px;
  background: #2d2c32;
  color: white;
  padding: 40px 20px;
  text-align: center;
}
.footer-item {
  margin: 15px 0;
}
.footer-item i {
  font-size: 30px;
  margin-bottom: 10px;
  transition: transform 0.3s, color 0.3s;
}
.footer-item:hover i {
  transform: scale(1.2) rotate(8deg);
  color: #f9d423;
}
