/* Streamlined Header Styling */
.streamlined-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 4rem 2rem 3.5rem;
  margin-top: 65px; /* Reduced space for shorter fixed header */
  position: relative;
  overflow: hidden;
}

.streamlined-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.streamlined-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2E7D32 0%, #F8BBD9 50%, #6A1B26 100%);
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.streamlined-header-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.header-icon {
  font-size: 3.5rem;
  color: #8E44AD; /* Purple for nature/mountain theme */
  margin-bottom: 1.5rem;
}

.streamlined-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #343a40;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  position: relative;
  animation: slideInUp 0.8s ease-out;
}

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

.streamlined-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #2E7D32;
  border-radius: 2px;
}

.streamlined-subtitle {
  font-size: 1.3rem;
  color: #6c757d;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.quick-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 1.5rem;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(142, 68, 173, 0.2);
  border-color: #F8BBD9;
  background: rgba(248, 187, 217, 0.1);
}

.stat-item:nth-child(1) i {
  color: #8E44AD; /* Purple */
}

.stat-item:nth-child(2) i {
  color: #E67E22; /* Orange */
}

.stat-item:nth-child(3) i {
  color: #E74C3C; /* Red */
}

.stat-item i {
  font-size: 1.2rem;
}

.stat-item span {
  font-weight: 600;
  color: #343a40;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .streamlined-header {
    padding: 3rem 1rem 3rem;
    margin-top: 70px;
  }
  
  .header-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .streamlined-title {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
  }
  
  .streamlined-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  
  .quick-stats {
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 0.75rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .streamlined-header {
    padding: 2.5rem 1rem 2.5rem;
  }
  
  .header-icon {
    font-size: 2.5rem;
  }
  
  .streamlined-title {
    font-size: 1.8rem;
  }
  
  .streamlined-subtitle {
    font-size: 1rem;
  }
  
  .quick-stats {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .stat-item span {
    font-size: 0.85rem;
  }
}

/* Enhanced destination card styling - toned down version with faded images */
.destination-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    background: #fff;
    transition: all 0.4s ease;
    position: relative;
    border-bottom: none;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.destination-img-container {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.destination-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
    opacity: 0.85;
}

.destination-card:hover .destination-img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1);
    opacity: 1;
}

.distance-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.destination-card:hover .distance-badge {
    background-color: var(--accent-color, #FFC107);
}

.destination-info {
    padding: 25px;
    position: relative;
}

.destination-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.4rem;
}

.activity-tags {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.activity-tag {
    background-color: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.destination-card:hover .activity-tag {
    background-color: #eee;
    transform: translateY(-2px);
}

/* Remove the time recommendation section with the redundant distance info */
.time-recommendation {
    display: none;
}

/* Responsive adjustments for destination cards */
@media (max-width: 768px) {
    .destination-img-container {
        height: 220px;
    }
    
    .destination-info {
        padding: 20px;
    }
    
    .destination-title {
        font-size: 1.2rem;
        flex-direction: column;
    }
}

/* Keep the original destination-card styles for backward compatibility */

/* New mosaic gallery styles */
.mosaic-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    grid-gap: 10px;
    margin: 30px 0;
}

.mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mosaic-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

.mosaic-item:hover img {
    transform: scale(1.1);
}

.mosaic-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 10px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mosaic-item:hover .mosaic-caption {
    opacity: 1;
}

/* Define specific grid positions for feature photos */
.feature-item {
    grid-column: span 2;
    grid-row: span 2;
}

.wide-item {
    grid-column: span 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mosaic-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 150px);
    }
    
    .feature-item, .wide-item {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Enhanced Element Card Styling */
.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.element-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border-radius: 15px;
    padding: 1.8rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top: 5px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.element-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color, #FF6900), var(--primary-color, #FF6900));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    border-radius: 15px;
}

.element-card:hover {
    transform: translateY(-8px);
    border-top-color: var(--primary-color, #FF6900);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.element-card:hover:before {
    opacity: 0.03;
}

.element-card h4 {
    display: flex;
    align-items: center;
    color: var(--primary-color, #ff6a00cb);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.element-card h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color, #FF6900);
    transition: width 0.3s ease;
}

.element-card:hover h4:after {
    width: 80px;
}

.element-card h4 i {
    margin-right: 10px;
    font-size: 1.4rem;
    background: rgba(255, 105, 0, 0.1);
    color: var(--primary-color, #ff6a00b7);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.element-card:hover h4 i {
    transform: scale(1.15) rotate(5deg);
    background: var(--primary-color, #FF6900);
    color: white;
}

.element-card strong {
    color: var(--primary-dark, #333);
    font-weight: 600;
}

.element-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.element-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.element-card ul li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* Special styles for food cards */
.element-card.food-card h4 i {
    color: var(--accent-color, #FFC107);
    background: rgba(255, 193, 7, 0.1);
}

.element-card.food-card:hover h4 i {
    background: var(--accent-color, #FFC107);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .elements-grid {
        grid-template-columns: 1fr;
    }
    
    .element-card {
        padding: 1.5rem;
    }
}

/* Define specific category colors */
.food-category .element-card {
    border-top-color: #e74c3c;
}

.transport-category .element-card {
    border-top-color: #3498db;
}

.practical-category .element-card {
    border-top-color: #2ecc71;
}

.adventure-category .element-card {
    border-top-color: #f39c12;
}