/**
 * Package Master Styles
 * CSS for tour package master/listing page
 */

/* Hero Section Styles */
.tour-master-hero {
  position: relative;
  height: 500px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/slider/wildlife-srilanka-main-sliderjpg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.tour-master-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tour-master-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.tour-master-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Categories Section Styles */
.tour-categories-section {
  padding: 80px 0;
  background-color: var(--darker-color, #0a0a0a);
}

.section-subtitle {
  color: var(--accent-gold, #f8b400);
  letter-spacing: 2px;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold, #f8b400);
}

.section-description {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #aaa;
}

.category-card {
  padding: 30px 20px;
  border-radius: 10px;
  background-color: #1e1e1e;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-gold, #f8b400);
}

.category-icon {
  font-size: 2.5rem;
  color: var(--accent-gold, #f8b400);
  margin-bottom: 20px;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.category-description {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.category-link {
  color: var(--accent-gold, #f8b400);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.category-link:hover {
  color: var(--accent-gold, #f8b400);
  transform: translateX(5px);
}

/* Tour Packages Section Styles */
.tour-packages-section {
  padding: 80px 0;
  background-color: var(--dark-color, #121212);
}

.filter-controls {
  border-radius: 10px;
  padding: 20px;
  background-color: #1e1e1e;
  margin-bottom: 30px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-filter {
  background-color: #2a2a2a;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-filter:hover, .btn-filter.active {
  background-color: var(--accent-gold, #f8b400);
  color: #000;
  transform: translateY(-2px);
}

.form-select {
  background-color: #2a2a2a;
  color: #fff;
  border-color: #444;
  font-size: 0.85rem;
}

.package-card {
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e1e1e;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.package-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.package-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.package-category {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 10px;
  background-color: var(--accent-gold, #f8b400);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
}

.package-info {
  padding: 20px;
}

.package-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.package-title:hover {
  color: var(--accent-gold, #f8b400);
}

.package-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.package-duration, .package-price {
  font-size: 0.9rem;
  color: #ccc;
}

.package-price {
  color: var(--accent-gold, #f8b400);
  font-weight: 700;
}

.package-description {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.package-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.package-feature {
  font-size: 0.8rem;
  color: #ccc;
  display: flex;
  align-items: center;
}

.package-feature i {
  color: var(--accent-gold, #f8b400);
  margin-right: 5px;
  font-size: 0.85rem;
}

.package-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-view-details {
  background-color: transparent;
  color: var(--accent-gold, #f8b400);
  border: 1px solid var(--accent-gold, #f8b400);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-view-details:hover {
  background-color: var(--accent-gold, #f8b400);
  color: #000;
  transform: translateY(-2px);
}

.btn-book-package {
  background-color: var(--accent-gold, #f8b400);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-book-package:hover {
  background-color: #e6a800;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(248, 180, 0, 0.3);
}

.package-code {
  font-size: 0.8rem;
  color: #777;
  display: inline-block;
  margin-top: 10px;
}

/* Tour Planning Section Styles */
.tour-planning-section {
  padding: 80px 0;
  background-color: var(--darker-color, #0a0a0a);
  position: relative;
}

.custom-tour-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.custom-tour-features li {
  padding: 8px 0;
  color: #ccc;
}

.custom-tour-features li i {
  color: var(--accent-gold, #f8b400);
}

.custom-tour-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-planning-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.tour-planning-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: var(--accent-gold, #f8b400);
  color: #000;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(248, 180, 0, 0.5);
  animation: pulse 2s infinite;
}

.tour-planning-badge span:first-child {
  font-size: 1.8rem;
}

.tour-planning-badge span:last-child {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(248, 180, 0, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 30px rgba(248, 180, 0, 0.8);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 20px rgba(248, 180, 0, 0.5);
  }
}

/* Testimonial Section Styles */
.testimonial-section {
  padding: 80px 0;
  background-color: var(--dark-color, #121212);
}

.testimonial-card {
  padding: 30px;
  border-radius: 10px;
  background-color: #1e1e1e;
  margin: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-content:before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent-gold, #f8b400);
  opacity: 0.3;
  position: absolute;
  top: -20px;
  left: -15px;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--accent-gold, #f8b400);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-location {
  color: #aaa;
  font-size: 0.9rem;
}

.testimonial-rating {
  color: var(--accent-gold, #f8b400);
  margin-top: 5px;
}

/* FAQ Section Styles */
.faq-section {
  padding: 80px 0;
  background-color: var(--darker-color, #0a0a0a);
}

.accordion-item {
  background-color: #1e1e1e;
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-button {
  background-color: #1e1e1e;
  color: #fff;
  font-weight: 600;
  padding: 20px;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background-color: #1e1e1e;
  color: var(--accent-gold, #f8b400);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f8b400'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px;
  color: #ccc;
  background-color: #252525;
}

/* No Results Message */
#noResultsMessage {
  padding: 50px 20px;
  background-color: #1e1e1e;
  border-radius: 10px;
  margin-top: 20px;
}

#noResultsMessage i {
  color: var(--accent-gold, #f8b400);
  margin-bottom: 15px;
}

/* Loading Styles */
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--accent-gold, #f8b400);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

.loading-text {
  color: #ccc;
  text-align: center;
  margin-top: 15px;
}

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

/* Responsive Media Queries */
@media (max-width: 991.98px) {
  .tour-master-hero {
    height: auto;
    padding: 60px 0;
  }
  
  .tour-master-title {
    font-size: 2.5rem;
  }
  
  .filter-buttons {
    margin-bottom: 15px;
  }
  
  .btn-filter {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .tour-planning-badge {
    width: 100px;
    height: 100px;
  }
  
  .tour-planning-badge span:first-child {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .tour-master-title {
    font-size: 2rem;
  }
  
  .category-card {
    padding: 20px 15px;
  }
  
  .package-card {
    margin-bottom: 20px;
  }
  
  .testimonial-card {
    padding: 20px;
    margin: 10px 0;
  }
  
  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }
  
  .accordion-button {
    padding: 15px;
    font-size: 0.95rem;
  }
  
  .accordion-body {
    padding: 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .hero-buttons .btn:first-child {
    margin-right: 0;
  }
  
  .filter-buttons .btn-filter {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
  
  .package-title {
    font-size: 1.1rem;
  }
  
  .package-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-view-details, .btn-book-package {
    width: 100%;
    text-align: center;
  }
}