/* Tour Page Styling */
.tour-page {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.tour-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.tour-hero {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tour-hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.tour-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  padding: 3rem 2rem 2rem;
}

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

.tour-intro {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
}

/* Content Layout */
.tour-content {
  display: grid;
  gap: 2rem;
}

/* Tour Details Card */
.tour-details-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tour-details-card h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.tour-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.detail-value.price {
  color: #ffeb3b;
  font-size: 1.5rem;
}

.detail-value.difficulty {
  color: #4caf50;
}

/* Tour Types */
.tour-types {
  margin-bottom: 1rem;
}

.tour-type-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tour-type-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Availability Status */
.availability-status {
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.availability-status.available {
  background: rgba(76, 175, 80, 0.2);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

.availability-status.unavailable {
  background: rgba(244, 67, 54, 0.2);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
}

.status-icon {
  font-size: 1.2rem;
}

/* Tour Sections */
.tour-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.tour-section h2 {
  color: #2c3e50;
  margin: 0 0 1.5rem 0;
  font-size: 1.8rem;
  font-weight: 600;
  border-bottom: 3px solid #3498db;
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* Rich Text Content */
.tour-description,
.meeting-point,
.inclusion-list,
.exclusion-list {
  font-size: 1.1rem;
  line-height: 1.7;
}

.tour-description p,
.meeting-point p,
.inclusion-list p,
.exclusion-list p {
  margin-bottom: 1rem;
}

/* What to Expect */
.what-to-expect {
  font-size: 1.1rem;
}

.what-to-expect h3 {
  color: #2c3e50;
  margin: 1.5rem 0 0.75rem 0;
  font-size: 1.3rem;
}

.what-to-expect ul {
  padding-left: 0;
  list-style: none;
}

.what-to-expect li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ecf0f1;
  position: relative;
  padding-left: 1.5rem;
}

.what-to-expect li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* Inclusions/Exclusions */
.inclusions-exclusions {
  display: grid;
  gap: 2rem;
}

.inclusions {
  border-left: 4px solid #27ae60;
}

.exclusions {
  border-left: 4px solid #e74c3c;
}

.inclusions h2 {
  border-bottom-color: #27ae60;
}

.exclusions h2 {
  border-bottom-color: #e74c3c;
}

/* Gallery */
.tour-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  background: #f8f9fa;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

/* ===== TOUR INDEX PAGE STYLING ===== */
.tour-index-page {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

.tours-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 20px;
}

/* Tours Header */
.tours-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.tours-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  z-index: 1;
}

.tours-header > * {
  position: relative;
  z-index: 2;
}

.tours-title {
  font-size: 4rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
  }
  100% {
    text-shadow: 0 4px 8px rgba(118, 75, 162, 0.5);
  }
}

.tours-intro {
  font-size: 1.4rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tours-intro p {
  margin-bottom: 1rem;
}

/* Additional decorative elements */
.tours-header::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(102, 126, 234, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
  z-index: 1;
}

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

/* Enhanced container styling */
.tours-container {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Filters */
.tours-filters {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tours-filters h3 {
  margin: 0 0 1rem 0;
  color: #2c3e50;
  font-size: 1.2rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: #e9ecef;
  border-color: #3498db;
  color: #3498db;
}

.filter-btn.active {
  background: #3498db;
  border-color: #3498db;
  color: white;
}

/* Tours Grid */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Tour Card */
.tour-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tour Card Image */
.tour-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.05);
}

.tour-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: white;
}

/* Tour Card Overlay */
.tour-card-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.tour-card-types {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tour-type-badge {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #495057;
}

/* Tour Card Content */
.tour-card-content {
  padding: 1.5rem;
}

.tour-card-title {
  margin: 0 0 0.75rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.tour-card-title a {
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s ease;
}

.tour-card-title a:hover {
  color: #3498db;
}

.tour-card-intro {
  color: #666;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

/* Tour Card Details */
.tour-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.tour-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.tour-detail i {
  font-style: normal;
}

/* Tour Card Footer */
.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
}

.tour-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #27ae60;
}

.availability-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.availability-badge.available {
  background: #d4edda;
  color: #155724;
}

.availability-badge.unavailable {
  background: #f8d7da;
  color: #721c24;
}

/* Tour Card Button */
.tour-card-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tour-card-button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
  transform: translateY(-1px);
}

/* No Tours Message */
.no-tours {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: #666;
}

.no-tours h3 {
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tour-container,
  .tours-container {
    padding: 0 15px;
  }

  .tour-title,
  .tours-title {
    font-size: 2.5rem;
  }

  .tours-header {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .tours-intro {
    font-size: 1.1rem;
  }

  .tour-hero-content {
    padding: 2rem 1.5rem 1.5rem;
  }

  .tour-details-grid {
    grid-template-columns: 1fr;
  }

  .tour-section {
    padding: 1.5rem;
  }

  .tour-gallery {
    grid-template-columns: 1fr;
  }

  .inclusions-exclusions {
    grid-template-columns: 1fr;
  }

  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .filter-buttons {
    justify-content: center;
  }

  .tour-card-footer {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

@media (min-width: 769px) {
  .inclusions-exclusions {
    grid-template-columns: 1fr 1fr;
  }
}

/* Animations */
.tour-section,
.tour-card {
  animation: fadeInUp 0.6s ease-out;
}

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