/* Custom Package Page Styles */

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

.package-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);
}

/* Progress Section */
.progress-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-bottom: 1px solid #e5e7eb;
}

.step-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.step-progress::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: #f97316;
  color: white;
}

.step.completed .step-number {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
}

.step.active .step-label {
  color: #f97316;
  font-weight: 600;
}

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

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

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

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.destination-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.destination-card:hover {
  border-color: #f97316;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.1);
}

.destination-card.selected {
  border-color: #f97316;
  background: #fef3e2;
  transform: scale(1.05);
}

.destination-card.selected::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f97316;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.destination-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.destination-card h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.destination-card p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Interests Grid */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.interest-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.interest-card:hover {
  border-color: #f97316;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.1);
}

.interest-card.selected {
  border-color: #f97316;
  background: #fef3e2;
}

.interest-card.selected::after {
  content: "✓";
  position: absolute;
  top: -5px;
  right: -5px;
  background: #f97316;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.interest-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.75rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.interest-card h6 {
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
  font-size: 0.875rem;
}

/* Services Options */
.services-options {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.service-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.service-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-section h6 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.accommodation-options {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

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

.form-check-label {
  font-weight: 500;
  cursor: pointer;
}

/* Months Grid */
.months-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.month-option {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.875rem;
}

.month-option:hover {
  border-color: #f97316;
  background: #fef3e2;
}

.month-option.selected {
  border-color: #f97316;
  background: #f97316;
  color: white;
}

/* Package Summary */
.package-summary {
  background: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
}

.package-summary h6 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.summary-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-label {
  font-weight: 500;
  color: #6b7280;
}

.summary-value {
  font-weight: 600;
  color: #1a1a1a;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.submit-buttons {
  width: 100%;
}

.submit-buttons h6 {
  color: #1a1a1a;
  font-weight: 600;
}

/* 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;
}

/* Features Section */
.features-section .feature-item {
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.features-section .feature-item:hover {
  transform: translateY(-5px);
}

.features-section h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

/* 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;
}

/* 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);
  }
}

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

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

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

  .step-progress {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .step {
    flex: 0 0 auto;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .destinations-grid,
  .interests-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .months-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .services-options {
    padding: 1.5rem;
  }

  .summary-content {
    grid-template-columns: 1fr;
  }

  .form-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .form-navigation button {
    width: 100%;
  }
}

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

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

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

  .destinations-grid,
  .interests-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .months-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-options {
    padding: 1rem;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .destination-card,
  .interest-card,
  .month-option {
    border-width: 3px;
  }

  .services-options,
  .package-summary {
    border-width: 2px;
  }

  .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;
  }
}

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

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

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