/*
Theme Name: Dragon's Trails
Theme URI: https://chinamountaineering.org
Author: Dragon's Trails Team
Author URI: https://chinamountaineering.org
Description: A WordPress theme for Dragon's Trails mountaineering website
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dragons-trails
*/

/* Global Styles */
:root {
  --primary-color: #1a365d;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --light-color: #f3f4f6;
  --dark-color: #1f2937;
  --white-color: #ffffff;
  --gray-color: #6b7280;
  --light-gray: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}

.btn-primary:hover {
  background-color: #1e40af;
  color: var(--white-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.btn-secondary:hover {
  background-color: #d97706;
  color: var(--white-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--gray-color);
}

/* Header Styles */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  font-family: 'Ma Shan Zheng', cursive;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  position: relative;
  height: 80px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
  height: 80px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.9rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link:hover {
  color: #c41e3a;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c41e3a;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.search-item {
  display: flex;
  align-items: center;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: var(--light-gray);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  transition: all 0.3s ease;
}

.search-box:hover {
  background-color: #d1d5db;
}

.search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  padding: 0.3rem;
  width: 150px;
  transition: width 0.3s ease;
}

.search-box:hover .search-input {
  width: 180px;
}

.search-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: #c41e3a;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: #c41e3a;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Dragon%20flying%20over%20snow-capped%20mountains%20in%20China%2C%20epic%20landscape%2C%20blue%20sky%2C%20professional%20photography&image_size=landscape_16_9');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
}

.hero-content {
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Regions Section */
.regions {
  background-color: var(--white-color);
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.region-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.region-image {
  height: 200px;
  overflow: hidden;
}

.region-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.region-content {
  padding: 1.5rem;
}

.region-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.region-description {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

/* Routes Section */
.routes {
  background-color: var(--light-color);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.route-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

.route-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.route-content {
  padding: 1.5rem;
}

.route-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--gray-color);
}

.route-meta-item {
  display: flex;
  align-items: center;
}

.route-meta-item i {
  margin-right: 0.5rem;
  color: var(--secondary-color);
}

.route-description {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

.route-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background-color: var(--white-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--secondary-color);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-description {
  color: var(--gray-color);
}

/* News Section */
.news {
  background-color: var(--light-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.875rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.news-excerpt {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--white-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--light-color);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--gray-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

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

.testimonial-info h4 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: var(--gray-color);
}

/* Packages Section */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.package-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.package-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.package-content {
  padding: 1.5rem;
}

.package-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.package-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.package-description {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c41e3a;
  margin-bottom: 1rem;
}

/* Peaks Section */
.peaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.peak-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.peak-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.peak-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.peak-content {
  padding: 1.5rem;
}

.peak-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.peak-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.peak-description {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.peak-difficulty {
  margin-bottom: 1rem;
}

.difficulty-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--light-gray);
  color: var(--primary-color);
}

/* Guide Section */
.guide-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.guide-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-content {
  color: var(--dark-color);
}

.guide-content p {
  margin-bottom: 1rem;
}

.guide-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.guide-content li {
  margin-bottom: 0.5rem;
}

.region-season {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: var(--light-color);
  border-radius: 0.3rem;
}

.region-season h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.gear-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.gear-category {
  padding: 1rem;
  background-color: var(--light-color);
  border-radius: 0.3rem;
}

.gear-category h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Tour Details Section */
.tour-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.tour-gallery {
  margin-bottom: 2rem;
}

.tour-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.tour-thumbnails {
  display: flex;
  gap: 1rem;
}

.tour-thumbnail {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tour-thumbnail:hover {
  transform: scale(1.05);
}

.tour-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: 0.5rem;
}

.tour-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tour-meta-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.tour-description {
  margin-bottom: 3rem;
}

.tour-description h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.tour-description p {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.tour-itinerary {
  margin-bottom: 3rem;
}

.tour-itinerary h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.itinerary-day {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.itinerary-day:last-child {
  border-bottom: none;
}

.itinerary-day-number {
  flex: 0 0 80px;
  background-color: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 0.3rem;
  margin-right: 1rem;
}

.itinerary-day-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.itinerary-day-content p {
  color: var(--dark-color);
}

.itinerary-day-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.itinerary-day-content li {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.tour-inclusions,
.tour-exclusions {
  margin-bottom: 3rem;
}

.tour-inclusions h3,
.tour-exclusions h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.tour-inclusions ul,
.tour-exclusions ul {
  padding-left: 1.5rem;
}

.tour-inclusions li,
.tour-exclusions li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
}

.tour-inclusions li i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.tour-exclusions li i {
  color: #ef4444;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

/* Route Map Section */
.tour-map {
  margin-bottom: 3rem;
}

.tour-map h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.map-legend {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.map-legend h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.map-legend ul {
  padding-left: 0;
  list-style: none;
}

.map-legend li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--dark-color);
}

.map-legend li i {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* Trip FAQ Section */
.tour-faq {
  margin-bottom: 3rem;
}

.tour-faq h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 0.3rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--light-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e5e7eb;
}

.faq-question h4 {
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  margin: 1rem 0;
  color: var(--dark-color);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1rem 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Booking Guide Section */
.booking-guide {
  margin-bottom: 3rem;
}

.booking-guide h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.guide-step {
  display: flex;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.guide-step:last-child {
  border-bottom: none;
}

.guide-step-number {
  flex: 0 0 60px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50%;
  margin-right: 1rem;
  height: 60px;
  font-size: 1.2rem;
}

.guide-step-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.guide-step-content p {
  color: var(--dark-color);
}

/* Booking Form */
.booking-form-container {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.booking-form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.booking-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 0.3rem;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
}

.form-group .btn-block {
  width: 100%;
  margin-top: 1rem;
}

.booking-info {
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.booking-info h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.booking-info p {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.booking-info i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Similar Tours Section */
.similar-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.similar-tour-card {
  background-color: var(--white-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.similar-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.similar-tour-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.similar-tour-content {
  padding: 1.5rem;
}

.similar-tour-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.similar-tour-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.similar-tour-description {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.similar-tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c41e3a;
  margin-bottom: 1rem;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: var(--light-color);
  padding: 4rem 0;
}

.why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-choose-us-item {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.why-choose-us-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-us-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.why-choose-us-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.why-choose-us-description {
  color: var(--dark-color);
  line-height: 1.6;
}

/* Peak Detail Section */
.peak-detail {
  padding: 4rem 0;
}

.peak-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.peak-main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.peak-gallery-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Gallery Button */
.gallery-button-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Photo Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal-content {
  background-color: var(--white-color);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 0.5rem;
  width: 80%;
  max-width: 1000px;
  position: relative;
}

.close-button {
  color: var(--gray-color);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.close-button:hover {
  color: var(--primary-color);
}

.gallery-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

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

.gallery-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.peak-gallery-image:hover {
  transform: scale(1.05);
}

.peak-info {
  background-color: var(--white-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mountaineering History */
.peak-history {
  margin-bottom: 2.5rem;
}

.peak-history h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.history-timeline {
  position: relative;
  padding-left: 2rem;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-color);
}

.history-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.history-item::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid var(--white-color);
  box-shadow: 0 0 0 2px var(--primary-color);
}

.history-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.history-content h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.history-content p {
  color: var(--dark-color);
  line-height: 1.6;
}

/* Peak Facts */
.peak-facts {
  margin-bottom: 2.5rem;
}

.peak-facts h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.fact-item {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.fact-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.fact-item p {
  color: var(--dark-color);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Related Tour Packages */
.related-tours {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.related-tours h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.related-tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-tour-card {
  background-color: var(--light-color);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.related-tour-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-tour-content {
  padding: 1.5rem;
}

.related-tour-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.related-tour-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.related-tour-description {
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-size: 0.9rem;
  line-height: 1.6;
}

.related-tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #c41e3a;
  margin-bottom: 1rem;
}

.peak-info-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.peak-info-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: 0.5rem;
}

.peak-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.peak-info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.peak-info-label {
  font-size: 0.8rem;
  color: var(--gray-color);
  margin-bottom: 0.25rem;
}

.peak-info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
}

.difficulty-extreme {
  color: #ef4444;
  font-weight: 700;
}

.peak-description,
.peak-routes,
.peak-requirements,
.peak-safety,
.peak-book-now {
  margin-bottom: 2.5rem;
}

.peak-description h3,
.peak-routes h3,
.peak-requirements h3,
.peak-safety h3,
.peak-book-now h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.peak-description p,
.peak-routes p,
.peak-safety p {
  margin-bottom: 1rem;
  color: var(--dark-color);
  line-height: 1.6;
}

.route-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: 0.5rem;
}

.route-item h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.route-item ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.route-item li {
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.peak-requirements ul,
.peak-safety ul {
  padding-left: 1.5rem;
}

.peak-requirements li {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  display: flex;
  align-items: flex-start;
}

.peak-requirements li i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.peak-safety li {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.peak-book-now {
  background-color: var(--light-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
  text-align: center;
}

/* Similar Peaks Section */
.similar-peaks {
  padding: 4rem 0;
  background-color: var(--light-color);
}

/* CTA Section */
.cta {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 4rem 0;
  text-align: center;
  margin: 3rem 0;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--light-gray);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

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

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

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}
