/* Additional styles for enhanced visual appeal */
/* Hero section enhancements */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

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

/* Destination cards enhancements */
.destination-card {
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.destination-image {
  height: 250px;
  overflow: hidden;
}

.destination-image img {
  transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

/* Trip explanation sections */
.trip-explanation {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.trip-explanation-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.trip-explanation-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trip-explanation-image img {
  width: 100%;
  height: auto;
  display: block;
}

.trip-explanation-text {
  flex: 1;
}

.trip-explanation-text h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.trip-explanation-text p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.trip-explanation-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.trip-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trip-feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Testimonial enhancements */
.testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  margin: 0;
  color: var(--dark-color);
}

.testimonial-author-info p {
  margin: 5px 0 0;
  color: #777;
  font-size: 0.9rem;
}

/* Call to action enhancements */
.cta-section {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 128, 185, 0.9) 0%, rgba(52, 152, 219, 0.9) 100%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-cta-primary {
  background-color: white;
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: var(--dark-color);
  color: white;
  transform: translateY(-3px);
}

.btn-cta-secondary {
  background-color: transparent;
  color: white;
  padding: 15px 30px;
  border-radius: 4px;
  border: 2px solid white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Responsive enhancements */
@media (max-width: 992px) {
  .trip-explanation-content {
    flex-direction: column;
  }
  
  .trip-explanation-image, 
  .trip-explanation-text {
    flex: none;
    width: 100%;
  }
  
  .trip-explanation-features {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 500px;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 20px;
  }
}

/* Authentication form enhancements */
.auth-container {
  animation: slideUp 0.5s ease-out;
}

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

.auth-form .form-group {
  position: relative;
}

.auth-form input {
  transition: all 0.3s ease;
  border: 2px solid #eee;
}

.auth-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.auth-form button {
  transition: all 0.3s ease;
}

.auth-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Loading indicators */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

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

/* Success animations */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
}

.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4CAF50;
}

.success-checkmark .check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.success-checkmark .check-icon::before, .success-checkmark .check-icon::after {
  content: '';
  height: 100px;
  position: absolute;
  background: white;
  transform: rotate(-45deg);
}

.success-checkmark .check-icon .icon-line {
  height: 5px;
  background-color: #4CAF50;
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.success-checkmark .check-icon .icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.success-checkmark .check-icon .icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

@keyframes icon-line-tip {
  0% { width: 0; left: 1px; top: 19px; }
  54% { width: 0; left: 1px; top: 19px; }
  70% { width: 50px; left: -8px; top: 37px; }
  84% { width: 17px; left: 21px; top: 48px; }
  100% { width: 25px; left: 14px; top: 46px; }
}

@keyframes icon-line-long {
  0% { width: 0; right: 46px; top: 54px; }
  65% { width: 0; right: 46px; top: 54px; }
  84% { width: 55px; right: 0px; top: 35px; }
  100% { width: 47px; right: 8px; top: 38px; }
}
