/* Booking form styling - same as contact theme */

/* Heading */
.form-heading {
  text-align: center;
  background: #0B2E33;
  color: #fff;
  padding: 15px 30px;
  border-radius: 20px;
  margin-bottom: 30px;
  transition: 0.3s ease;
  animation: slideInTop 1s ease forwards;
}
.form-heading:hover {
  background-color: #4F7C82;
  box-shadow: 0 0 15px #00ffff;
}

/* Section layout */
.form-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
  gap: 30px;
  animation: slideIn 1.2s ease forwards;
  flex-wrap: wrap;
}

/* Form container */
.form-container {
  flex: 1 1 60%;
  background: #ffffff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(11, 46, 51, 0.2);
  transition: 0.3s ease;
}
.form-container:hover {
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
  transform: scale(1.01);
}
.form-container p {
  margin-bottom: 20px;
  color: #4F7C82;
}

/* Image block */
.form-image {
  flex: 1 1 35%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
.form-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Form inputs */
form input,
form select,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: #4F7C82;
  outline: none;
}

/* Fieldset for checkbox group */
form fieldset {
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 10px;
  margin-top: 15px;
}
form fieldset legend {
  font-weight: bold;
  color: #0B2E33;
  margin-bottom: 5px;
}

/* Buttons */
.form-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.form-buttons button {
  flex: 1 1 45%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  background-color: #0B2E33;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: slideInButtons 1.2s ease forwards;
}
.form-buttons button:hover {
  background-color: #4F7C82;
  box-shadow: 0 0 10px #0ff;
}

/* Status Message */
#statusMessage {
  text-align: center;
  font-weight: bold;
  padding-top: 15px;
  color: green;
}

/* Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInButtons {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .form-section {
    flex-direction: column;
    align-items: center;
  }

  .form-container,
  .form-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-buttons button {
    width: 100%;
  }
}
