/*
| --------------------------------------------------------
| File : yit-book-now.css
| Description : Custom styles for Book Now page
| --------------------------------------------------------
*/

/* --- Book Now Nav Button --- */
.nav-btn-book .btn-book-now {
  background: #4c5687;
  color: #fff !important;
  padding: 8px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.nav-btn-book .btn-book-now:hover {
  background: #3a4268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 86, 135, 0.3);
}

.nav-btn-book .btn-book-now.active {
  background: #3a4268;
}

/* --- Page Title Banner --- */
.page-title-banner {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-overlay-black::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.page-title-banner .container {
  position: relative;
  z-index: 2;
}

.page-title-banner h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-title-banner p {
  font-size: 18px;
  font-weight: 300;
}

/*** Book Now Section CSS BOF ***/
.book-now-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.book-now-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.book-now-section .font-xxxsmall {
  font-size: 14px;
  margin-bottom: 15px;
}

.book-now-section hr.yit-seprator-l {
  width: 60px;
  height: 2px;
  margin: 10px auto;
}

/*** Book Now Form Wrapper CSS BOF ***/
.book-now-form-wrapper {
  background: #fff;
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/*** Book Now Form CSS BOF ***/
.book-now-form .form-group {
  margin-bottom: 25px;
}

.book-now-form .form-control {
  border-width: 0 0 2px 0;
  border-style: none none solid none;
  border-color: #ced4da;
  padding: 12px 0;
  font-size: 15px;
  color: #333;
  background: transparent;
  transition: border-color 0.3s ease;
}

.book-now-form .form-control:focus {
  border-color: #4c5687;
  box-shadow: none;
  outline: none;
}

.book-now-form .form-control::placeholder {
  color: #999;
  opacity: 1;
}

.book-now-form .form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}

.book-now-form .form-control::-webkit-input-placeholder {
  color: #999;
  opacity: 1;
}

.book-now-form .yit-nice-select.nice-select.form-control {
  padding: 12px 0;
  border-width: 0 0 2px 0;
  border-style: none none solid none;
  border-color: #ced4da;
  background: transparent;
  font-size: 15px;
  color: #333;
}

.book-now-form .yit-nice-select.nice-select.form-control:focus {
  border-color: #4c5687;
}

.book-now-form .yit-nice-select.nice-select.form-control::after {
  border-bottom: 2px solid #999;
  border-right: 2px solid #999;
  right: 15px;
  top: 45%;
}

.book-now-form .yit-nice-select.nice-select .option {
  color: #333;
  padding: 8px 15px;
}

.book-now-form .yit-nice-select.nice-select .option:hover,
.book-now-form .yit-nice-select.nice-select .option.selected {
  background: #4c5687;
  color: #fff;
}

/*** Submit Button CSS BOF ***/
.book-now-form .btn-primary {
  background: #4c5687;
  border: none;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.book-now-form .btn-primary:hover {
  background: #3a4268;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 86, 135, 0.3);
}

.book-now-form .btn-primary:active {
  transform: translateY(0);
}

/*** Alert CSS BOF ***/
.book-now-form-wrapper .alert {
  margin-bottom: 25px;
  padding: 15px 20px;
  border-radius: 4px;
}

.book-now-form-wrapper .alert-success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.book-now-form-wrapper .alert-danger {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/*** Responsive CSS BOF ***/
@media (max-width: 767px) {
  .nav-btn-book .btn-book-now {
    margin-left: 0;
    padding: 6px 18px !important;
  }
  
  .page-title-banner {
    padding: 60px 0;
    background-attachment: scroll;
  }

  .page-title-banner h1 {
    font-size: 2rem;
  }

  .page-title-banner p {
    font-size: 14px;
  }

  .book-now-section {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .book-now-section h2 {
    font-size: 28px;
  }

  .book-now-form-wrapper {
    padding: 30px 20px;
  }

  .book-now-form .form-group {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .book-now-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .book-now-form-wrapper {
    padding: 40px 30px;
  }
}
