/* Booking Page Specific Styles */

/* Page Header */
.page-header {
  padding: 120px 0 80px;
  min-height: 60vh;
  position: relative;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}

.header-content {
  animation: fadeInUp 0.8s ease-out;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
  font-size: 1.25rem;
}

/* Form Sections */
.booking-form-section {
  background: linear-gradient(135deg, #fef7ed 0%, #f9fafb 100%);
}

.form-section {
  padding: 2rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f97316;
  display: flex;
  align-items: center;
}

.form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  padding: 0.75rem;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

/* Accommodation Options */
.accommodation-options {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.form-check-inline {
  margin-right: 0;
}

.form-check-input:checked {
  background-color: #f97316;
  border-color: #f97316;
}

.form-check-label {
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.form-check-input:checked + .form-check-label {
  background-color: #fef3e2;
  color: #ea580c;
}

/* Submission Section */
.submission-section {
  padding: 2rem;
  background: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
  border-radius: 1rem;
  border: 1px solid #fed7aa;
}

/* Button Styles */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #20b65c 100%);
  border: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20b65c 0%, #1da851 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  color: white;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: none;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #ea580c, #c2410c);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
  color: white;
}

/* Card Styles */
.card {
  border-radius: 1rem;
  overflow: hidden;
}

.card-header.bg-primary-custom {
  background: linear-gradient(135deg, #f97316, #ea580c) !important;
  border: none;
}

/* Success Message */
.success-icon {
  animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Trust Indicators */
.trust-indicators {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.trust-item {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-item h5 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Loading States */
.btn[data-loading="true"] {
  position: relative;
  color: transparent !important;
}

.btn[data-loading="true"]::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  top: 50%;
  left: 50%;
  margin-left: -0.5rem;
  margin-top: -0.5rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form Validation */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #dc3545;
}

/* Date Inputs */
input[type="date"] {
  position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color: #f97316;
  opacity: 1;
  display: block;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 24 24"><path fill="%23f97316" d="M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z"/></svg>')
    no-repeat;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 100px 0 60px;
    min-height: 50vh;
  }

  .booking-features {
    margin-top: 2rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .form-section {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .accommodation-options {
    flex-direction: column;
    gap: 1rem;
  }

  .submission-section {
    padding: 1.5rem;
  }

  .trust-item {
    padding: 1.5rem 1rem;
  }

  .trust-item h5 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 90px 0 50px;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .form-section {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer-section,
  .trust-indicators {
    display: none !important;
  }

  .page-header {
    background: none !important;
    color: black !important;
    padding: 2rem 0;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .form-section {
    background: white;
    border: 2px solid #000;
  }

  .btn-primary-custom {
    background: #000 !important;
    color: white !important;
  }

  .btn-whatsapp {
    background: #006600 !important;
    color: white !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
