/* Travel Demo page styles */

/* Hero Section */
.demo-hero {
  background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), 
              url('https://images.unsplash.com/photo-1503220317375-aaad61436b1b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  padding: 120px 20px;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.demo-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}

.demo-hero .section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-buttons .button {
  min-width: 200px;
}

/* Intro Section */
.demo-intro {
  padding: 80px 0;
  background: white;
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.intro-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.intro-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-color);
  line-height: 1.7;
}

.intro-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-color);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* Original Demo Section */
.demo-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f1f5f9 0%, #ffffff 100%);
  font-family: 'Poppins', sans-serif;
}

.demo-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.demo-section .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 60px;
  color: var(--text-color);
  font-weight: 400;
}

/* Demo Image Section */
.demo-image-section {
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.demo-image-container {
  margin-bottom: 30px;
}

.demo-screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.image-caption {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-color);
  margin-top: 15px;
}

.demo-button-container {
  margin-top: 20px;
}

.demo-button-container .button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.demo-button-container .button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.demo-button-container .button i {
  font-size: 1.1rem;
}

/* Features Section */
.demo-features {
  padding: 100px 0;
  background: white;
}

.demo-features h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.demo-features .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 60px;
  color: var(--text-color);
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #f8fafc;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Customization Section */
.demo-customization {
  padding: 100px 0;
  background: linear-gradient(to bottom, #f1f5f9 0%, #ffffff 100%);
}

.demo-customization h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  font-family: 'Montserrat', sans-serif;
}

.demo-customization .section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 60px;
  color: var(--text-color);
  font-weight: 400;
}

.customization-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.customization-item {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.customization-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.customization-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
}

.customization-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-family: 'Montserrat', sans-serif;
}

.customization-item p {
  color: #64748b;
  line-height: 1.7;
}

/* CTA Section */
.demo-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 100px 20px;
  border-radius: 12px;
  margin: 0px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--primary-dark);
}

.demo-cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}

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

.demo-cta h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: 'Montserrat', sans-serif;
}

.demo-cta p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 400;
}

.demo-cta .button {
  font-size: 1.3rem;
  padding: 20px 50px;
  font-weight: 700;
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 40px;
}

.demo-cta .button:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: 500;
  backdrop-filter: blur(5px);
}

.trust-badge i {
  color: gold;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .demo-hero h1 {
    font-size: 2.5rem;
  }
  
  .demo-hero .section-subtitle {
    font-size: 1.3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .customization-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .demo-content {
    gap: 35px;
  }
  
  .search-form-section,
  .demo-results-section {
    padding: 35px;
  }
  
  .result-item {
    gap: 25px;
  }
  
  .result-image {
    width: 200px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .demo-hero {
    padding: 80px 20px;
  }
  
  .demo-hero h1 {
    font-size: 2rem;
  }
  
  .demo-hero .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .button {
    width: 100%;
    max-width: 300px;
  }
  
  .intro-stats {
    gap: 25px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .demo-section,
  .demo-features,
  .demo-customization {
    padding: 80px 0;
  }
  
  .demo-section h2,
  .demo-features h2,
  .demo-customization h2 {
    font-size: 2rem;
  }
  
  .demo-section .section-subtitle,
  .demo-features .section-subtitle,
  .demo-customization .section-subtitle {
    font-size: 1.1rem;
  }
  
  .demo-content {
    grid-template-columns: 1fr;
  }
  
  .result-item {
    flex-direction: column;
  }
  
  .result-image {
    width: 100%;
    height: 200px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .features-grid,
  .customization-features {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto 15px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-card p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .demo-hero {
    padding: 60px 20px;
  }
  
  .search-form-section,
  .demo-results-section {
    padding: 25px 20px;
  }
  
  .result-item {
    padding: 20px;
  }
  
  .result-details h4 {
    font-size: 1.4rem;
  }
  
  .rating {
    font-size: 1.1rem;
  }
  
  .result-details .button {
    width: 100%;
    text-align: center;
  }
  
  .demo-cta h2 {
    font-size: 1.8rem;
  }
  
  .demo-cta p {
    font-size: 1.1rem;
  }
  
  .demo-cta .button {
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .demo-image-container {
    padding: 30px 15px;
  }
  
  .demo-screenshot {
    max-width: 100%;
    height: auto;
  }
  
  .live-demo-cta .button {
    padding: 12px 20px;
    font-size: 1rem;
  }
}
