/* 导游风采页面专用样式 */

/* 导游页面主横幅调整 */
.guide-hero {
  min-height: 60vh;
  padding: 120px 0 60px;
}

.guide-hero .hero-content {
  display: block;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background-image: url("../images/cq.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-attachment: local;
  padding: 40px 20px;
}

.guide-hero .hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 1),
    0 0 15px rgba(255, 255, 255, 0.9), -2px -2px 6px rgba(255, 255, 255, 0.8);
}

.guide-hero .hero-text p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  color: #2c3e50;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 0.8), -1px -1px 4px rgba(255, 255, 255, 0.7);
}

/* 导游展示区样式 */
.guide-gallery {
  padding: 80px 0;
  background: #fff;
}

.guide-gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 60px;
}

.guide-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.guide-item {
  flex: 0 1 calc(25% - 15px);
  min-width: 250px;
  max-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.guide-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guide-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.guide-item:hover img {
  transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .guide-item {
    flex: 0 1 calc(33.333% - 14px);
  }
}

@media (max-width: 768px) {
  .guide-hero .hero-text h1 {
    font-size: 2.5rem;
  }

  .guide-hero .hero-text p {
    font-size: 1rem;
  }

  .guide-gallery h2 {
    font-size: 2rem;
  }

  .guide-grid {
    gap: 15px;
  }

  .guide-item {
    flex: 0 1 calc(50% - 8px);
    min-width: 150px;
  }

  .guide-item img {
    height: auto;
  }
}

@media (max-width: 480px) {
  .guide-hero {
    padding: 100px 0 40px;
  }

  .guide-hero .hero-text h1 {
    font-size: 2rem;
  }

  .guide-gallery {
    padding: 60px 0;
  }

  .guide-gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .guide-item {
    flex: 0 1 100%;
    max-width: 100%;
  }

  .guide-item img {
    height: auto;
  }
}

/* 图片加载动画 */
.guide-item img {
  opacity: 0;
  animation: fadeInImage 0.6s ease forwards;
}

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

/* 为不同的图片添加延迟动画 */
.guide-item:nth-child(1) img {
  animation-delay: 0.1s;
}
.guide-item:nth-child(2) img {
  animation-delay: 0.2s;
}
.guide-item:nth-child(3) img {
  animation-delay: 0.3s;
}
.guide-item:nth-child(4) img {
  animation-delay: 0.4s;
}
.guide-item:nth-child(5) img {
  animation-delay: 0.5s;
}
.guide-item:nth-child(6) img {
  animation-delay: 0.6s;
}
.guide-item:nth-child(7) img {
  animation-delay: 0.7s;
}
.guide-item:nth-child(8) img {
  animation-delay: 0.8s;
}
.guide-item:nth-child(9) img {
  animation-delay: 0.9s;
}
.guide-item:nth-child(10) img {
  animation-delay: 1s;
}
.guide-item:nth-child(11) img {
  animation-delay: 1.1s;
}
.guide-item:nth-child(12) img {
  animation-delay: 1.2s;
}
