@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Anton&family=Baskervville:ital,wght@0,400..700;1,400..700&family=LXGW+Marker+Gothic&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Truculenta:opsz,wght@12..72,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-overlay {
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.booking-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 4rem;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  color: #fff;
  animation: fadeIn 1s ease-in-out;
}

.booking-form h2,
.booking-form h3 {
  text-align: center;
  margin-bottom: 1.0rem;
  font-weight: 600;
  margin-top: 7rem;
  font-size: 30px;
  font-family: LXGW Marker Gothic;
}

.booking-form input,
.booking-form select,
.booking-form textarea,
.booking-form button {
  width: 100%;
  padding: 0.9rem;
  margin-top: 1rem;
  border: none;
  border-radius: 14px;
  font-size: 15px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
  
}
.booking-form input:hover,
.booking-form textarea:hover {
  color: rgba(255, 255, 255, 0.6);
  border: #147722 1px solid;
  transition: .3s ease;
  
}

.booking-form select option {
  color: #000;
}

.booking-form button {
  background: linear-gradient(135deg, #ffda88, #c5a560);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.booking-form button:hover {
  background: linear-gradient(135deg, #c5a560, #ffda88);
}

.dates {
  display: flex;
  gap: 1rem;
}
.che {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 14px;
  font-family: ubuntu;
  margin-bottom: -10px;
}
 .payment-container {
      backdrop-filter: blur(12px);
      background: rgba(255, 255, 255, 0.1);
      padding: 2rem;
      border-radius: 16px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
      color: #fff;
    }

    .payment-container h2 {
      text-align: center;
      margin-bottom: 1rem;
      font-weight: 600;
      font-size: 26px;
    }

    .summary {
      background: rgba(255,255,255,0.2);
      padding: 1rem;
      border-radius: 12px;
      margin-bottom: 1.5rem;
    }

    .summary p {
      margin: 0.3rem 0;
    }

    .payment-methods {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
    }

    .payment-method {
      background: rgba(255,255,255,0.15);
      padding: 1rem;
      border-radius: 12px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .payment-method:hover {
      background: rgba(255,255,255,0.3);
      transform: scale(1.05);
    }

    .payment-method input {
      display: none;
    }

    .card-info {
      margin-top: 1.5rem;
      display: none;
    }

    .card-info input {
      width: 100%;
      padding: 0.9rem;
      margin-top: 0.8rem;
      border: none;
      border-radius: 12px;
      font-size: 16px;
      background: rgba(255,255,255,0.2);
      color: #fff;
    }

    .pay-btn {
      margin-top: 2rem;
      background: linear-gradient(135deg, #c5a560, #b89442);
      color: #000;
      font-weight: bold;
      width: 100%;
      padding: 1rem;
      border-radius: 12px;
      border: none;
      font-size: 18px;
      cursor: pointer;
    }

    .pay-btn:hover {
      background: linear-gradient(135deg, #b89442, #c5a560);
    }



    /* Overlay */
  #popupOverlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    animation: fadeIn 0.4s ease;
  }
#popupOverlay {
  display: none; /* hide it until triggered */   
}

  /* Popup Box */
  .popupBox {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 16px;
    padding: 40px 30px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    color: #fff;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: scaleUp 0.5s ease-out;
  }

  /* Close Button */
  .popup-close {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #eee;
    transition: transform 0.2s ease, color 0.3s ease;
  }
  .popup-close:hover {
    transform: scale(1.2);
    color: #ff4d4f;
  }

  /* Title */
  #popupTitle {
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 600;
    color: #f5f5f5;
  }

  /* Loader Animation */
  #loader {
    width: 50px;
    height: 50px;
    margin: 0 auto 25px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top: 5px solid #ffda88;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
  }

  /* Connected Message */
  #connectedText {
    display: none;
    font-size: 16px;
    font-weight: 500;
    color: #52ff90;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in-out;
  }

  /* Connect Button */
  #connectBtn {
   background: linear-gradient(135deg, #ffda88, #c5a560);
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(150, 116, 4, 0.3);
  }
  #connectBtn:hover {
    background: linear-gradient(135deg, #c5a560, #ffda88);
    transform: scale(1.03);
  }
  #connectBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }

  /* Animations */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes scaleUp {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }

  /* Responsive (Optional Enhancements) */
  @media (max-width: 480px) {
    .popupBox {
      padding: 30px 20px;
    }

    #popupTitle {
      font-size: 18px;
    }

    #connectBtn {
      width: 100%;
    }
   
  }