/* Booking Page Styles */

/* Basic Reset and Body Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fafafa;
}

/* Typography */
.hero-title, .section-title, .success-title, .form-section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #8B4513;
}

/* Message Section Styles */
.message-section {
  padding: 2rem 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.message-section .error-message {
  border-left: 4px solid #dc3545;
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
  animation: slideInDown 0.5s ease-out;
}

.message-section .success-container {
  animation: slideInDown 0.5s ease-out;
}

/* Enhanced Success Container Styles */
.success-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid #D4AF37;
  position: relative;
  overflow: hidden;
}

.success-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #F4C842, #D4AF37);
}

.success-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
  animation: bounce 1s ease-in-out;
}

.success-title {
  color: #8B4513;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.success-message {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Process Timeline Styles */
.process-timeline {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-timeline h4 {
  color: #8B4513;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.timeline-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-step.completed .step-number {
  background: #28a745;
  color: white;
}

.timeline-step.active .step-number {
  background: #D4AF37;
  color: white;
  animation: pulse 2s infinite;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto 1rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-content h6 {
  color: #8B4513;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

/* Important Info Cards */
.important-info {
  margin: 2rem 0;
}

.info-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-left: 4px solid #D4AF37;
  margin-bottom: 1rem;
}

.info-card.urgent {
  border-left-color: #dc3545;
}

.info-card.payment {
  border-left-color: #28a745;
}

.info-card i {
  font-size: 2rem;
  color: #D4AF37;
  margin-bottom: 1rem;
}

.info-card.urgent i {
  color: #dc3545;
}

.info-card.payment i {
  color: #28a745;
}

.info-card h6 {
  color: #8B4513;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Contact Options */
.success-contact {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.success-contact h5 {
  color: #8B4513;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-method i {
  font-size: 1.5rem;
  color: #D4AF37;
  margin-right: 1rem;
  width: 40px;
  text-align: center;
}

.contact-method .fab.fa-whatsapp {
  color: #25D366;
}

.contact-method strong {
  color: #8B4513;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-method p {
  margin: 0;
  font-size: 0.9rem;
}

.contact-method a {
  color: #D4AF37;
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Success Actions */
.success-actions {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dee2e6;
}

.success-actions h5 {
  color: #8B4513;
  margin-bottom: 1rem;
}

.action-subtitle {
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.action-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.action-buttons .btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.action-buttons .btn i {
  font-size: 1rem;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline-steps {
    flex-direction: column;
    gap: 1rem;
  }
  
  .timeline-steps::before {
    display: none;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .action-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Success Actions Section */
.success-actions-section {
  padding: 3rem 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

.success-actions-section .section-title {
  color: #8B4513;
  margin-bottom: 1rem;
}

.success-actions-section .section-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

.action-buttons .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.action-buttons .btn-primary {
  background: linear-gradient(135deg, #D4AF37, #F4C842);
  border: none;
  color: white;
}

.action-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #F4C842, #D4AF37);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.action-buttons .btn-outline-primary {
  border: 2px solid #D4AF37;
  color: #D4AF37;
}

.action-buttons .btn-outline-primary:hover {
  background: #D4AF37;
  border-color: #D4AF37;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.booking-hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(139,69,19,0.4), rgba(139,69,19,0.4)), 
              url('../images/f9.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  background: #D4AF37;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #D4AF37;
}

.hero-btn:hover {
  background: transparent;
  color: #D4AF37;
  text-decoration: none;
}

/* Booking Section */
.booking-section {
  padding: 100px 0;
  background: white;
  position: relative;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 2px,
    rgba(212, 175, 55, 0.03) 2px,
    rgba(212, 175, 55, 0.03) 4px
  );
  pointer-events: none;
}

/* Success Container */
.success-container {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 2;
}

.success-icon {
  font-size: 4rem;
  color: #27ae60;
  margin-bottom: 20px;
}

.success-title {
  font-size: 2.5rem;
  color: #8B4513;
  margin-bottom: 20px;
}

.success-message {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}

.success-details {
  background: rgba(212, 175, 55, 0.05);
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  border-left: 4px solid #D4AF37;
}

.success-details h5 {
  color: #8B4513;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.success-details ul {
  text-align: left;
  color: #666;
  line-height: 1.8;
}

.success-contact {
  background: rgba(139, 69, 19, 0.05);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
}

.success-contact a {
  color: #8B4513;
  text-decoration: none;
  font-weight: 600;
}

.success-contact a:hover {
  color: #D4AF37;
}

.success-actions {
  margin-top: 30px;
}

.success-actions .btn {
  margin: 5px 10px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.success-actions .btn-primary {
  background: #D4AF37;
  border: 2px solid #D4AF37;
  color: white;
}

.success-actions .btn-primary:hover {
  background: transparent;
  color: #D4AF37;
}

.success-actions .btn-outline-primary {
  background: transparent;
  border: 2px solid #8B4513;
  color: #8B4513;
}

.success-actions .btn-outline-primary:hover {
  background: #8B4513;
  color: white;
}

/* Error Message */
.error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  border-radius: 15px;
  padding: 20px;
}

.error-message h5 {
  margin-bottom: 15px;
  color: #721c24;
}

.error-message ul {
  margin-bottom: 0;
}

/* Booking Container */
.booking-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
  z-index: 2;
}

.booking-container::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  pointer-events: none;
}

.booking-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #8B4513;
  position: relative;
  z-index: 2;
  font-weight: 300;
  letter-spacing: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  position: relative;
  z-index: 2;
  font-style: italic;
}

/* Form Sections */
.form-section {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(212, 175, 55, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.form-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.form-section-title {
  font-size: 1.5rem;
  color: #8B4513;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title i {
  color: #D4AF37;
  font-size: 1.3rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #8B4513;
  font-weight: 600;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  font-size: 1rem;
  color: #333;
  background: white;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-text {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Phone Input Styling */
.iti {
  display: block;
  width: 100%;
}

.iti__country-list {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Submit Section */
.form-submit {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.submit-btn {
  background: linear-gradient(135deg, #8B4513, #D4AF37);
  color: white;
  padding: 18px 50px;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-note i {
  color: #D4AF37;
}

/* Booking Info Section */
.booking-info {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(139,69,19,0.05), rgba(212,175,55,0.05));
}

.info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
}

.info-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.info-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8B4513, #D4AF37);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.info-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #8B4513;
  margin-bottom: 15px;
}

.info-card p {
  color: #666;
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .success-title {
    font-size: 2rem;
  }
  
  .booking-container {
    padding: 40px 20px;
  }
  
  .form-section {
    padding: 20px;
  }
  
  .form-section-title {
    font-size: 1.3rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
  }
  
  .submit-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
  }
  
  .success-container {
    padding: 40px 20px;
  }
  
  .success-details,
  .success-contact {
    padding: 20px;
  }
  
  .success-actions .btn {
    display: block;
    margin: 10px 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .success-title {
    font-size: 1.8rem;
  }
  
  .form-section-title {
    font-size: 1.2rem;
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
  
  .info-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .submit-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .submit-note {
    flex-direction: column;
    gap: 5px;
  }
}

/* Animation Delays */
.form-section:nth-child(1) { transition-delay: 0.1s; }
.form-section:nth-child(2) { transition-delay: 0.2s; }
.form-section:nth-child(3) { transition-delay: 0.3s; }
.form-section:nth-child(4) { transition-delay: 0.4s; }
.form-section:nth-child(5) { transition-delay: 0.5s; }

.info-card:nth-child(1) { transition-delay: 0.1s; }
.info-card:nth-child(2) { transition-delay: 0.2s; }
.info-card:nth-child(3) { transition-delay: 0.3s; }

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Validation States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: #27ae60;
  box-shadow: 0 0 10px rgba(39, 174, 96, 0.2);
}
