/* Basic reset for margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styles with background image */
body {
  font-family: 'Arial', sans-serif;
  background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQKac51FKjWLlYG5nVDxwah7q5peyTIe6LOiw&s');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  padding: 1rem;
}

/* Semi-transparent background overlay for form readability */
.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* Header styling */
header {
  background-color: rgba(0, 123, 255, 0.9);
  color: white;
  padding: 1.5rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Form container */
.booking-form {
  background-color: white;
  padding: 2.5rem;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
  animation: fadeIn 1s ease-out;
  backdrop-filter: blur(8px);
}

/* Form label and input */
form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #007BFF;
  font-size: 1.1rem;
}

form input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1.1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* Input hover and focus effects */
form input:focus {
  border-color: #007BFF;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

/* Button styling */
button {
  margin-top: 2rem;
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
}

button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

/* Confirmation message styling */
#confirmation {
  margin-top: 2rem;
  padding: 2rem;
  background-color: rgba(224, 247, 250, 0.9);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #007BFF;
}

#confirmationMessage {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
}

/* Placeholder styling for inputs */
::placeholder {
  color: #bbb;
  font-style: italic;
}

/* Input icons */
form input[type="text"], form input[type="date"], form input[type="time"] {
  background-image: url('https://www.shutterstock.com/image-vector/pin-point-logo-can-be-600nw-1679653036.jpg');
  background-position: 10px 12px;
  background-repeat: no-repeat;
  padding-left: 40px;
}





/* Form and button shadow on hover */
.booking-form:hover, button:hover {
  box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
}

/* Animation for form appearance */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  .booking-form {
    width: 95%;
  }

  button {
    font-size: 1.1rem;
  }
}
/* Responsive design */

/* General adjustments for small screens */
@media (max-width: 768px) {
  body {
    padding: 0.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  .booking-form {
    width: 95%;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  button {
    font-size: 1.1rem;
  }

  form input {
    padding: 0.6rem;
    font-size: 1rem;
  }
}

/* Specific adjustments for very small screens (mobile phones) */
@media (max-width: 480px) {
  header h1 {
    font-size: 1.6rem;
    padding: 1rem;
  }

  .booking-form {
    padding: 1rem;
    width: 100%;
  }

  button {
    font-size: 1rem;
    padding: 0.6rem;
  }

  form input {
    padding: 0.5rem;
  }

  #confirmation {
    padding: 1rem;
    font-size: 1rem;
  }
}

