/* Thanks Page Specific Styles for La Reserva De Marcha */

.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(46, 139, 87, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);
  padding-top: 120px; /* Account for fixed header */
}

.thanks-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(46, 139, 87, 0.1);
  border: 1px solid rgba(46, 139, 87, 0.1);
}

.thanks-icon {
  animation: bounceIn 1s ease-out;
}

.thanks-title {
  color: var(--heading-color);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.thanks-message {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.thanks-message p {
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.7;
}

.next-steps {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.next-steps h3 {
  color: var(--heading-color);
  font-weight: 600;
}

.step-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.1);
  border: 1px solid rgba(46, 139, 87, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(46, 139, 87, 0.2);
  border-color: var(--primary);
}

.step-icon {
  color: var(--primary);
  font-size: 2.5rem;
}

.step-card h5 {
  color: var(--heading-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-color);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.contact-info {
  animation: fadeInUp 1s ease-out 0.8s both;
}

.contact-info h3 {
  color: var(--heading-color);
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(46, 139, 87, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 139, 87, 0.2);
}

.contact-item span:last-child {
  color: var(--text-color);
  font-weight: 500;
}

.action-buttons {
  animation: fadeInUp 1s ease-out 1s both;
}

.action-buttons .btn {
  transition: all 0.3s ease;
}

.action-buttons .btn:hover {
  transform: translateY(-2px);
}

/* Animations */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .thanks-section {
    padding-top: 100px;
  }
  
  .thanks-content {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .thanks-title {
    font-size: 2.5rem;
  }
  
  .thanks-message p {
    font-size: 1rem;
  }
  
  .step-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .action-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .contact-item {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .thanks-content {
    padding: 1.5rem 1rem;
  }
  
  .thanks-title {
    font-size: 2rem;
  }
  
  .step-card {
    padding: 0.75rem;
  }
  
  .step-icon {
    font-size: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* Enhanced hover effects */
.thanks-content:hover {
  box-shadow: 0 25px 50px rgba(46, 139, 87, 0.15);
}

.step-card:hover .step-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Success state animations */
.thanks-icon.text-success {
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Loading state for buttons */
.btn.loading {
  position: relative;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced focus states */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.25);
}

/* Print styles */
@media print {
  .thanks-section {
    background: white;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .thanks-content {
    background: white;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .action-buttons,
  .footer {
    display: none;
  }
}
