:root {
    /* Updated Color Scheme */
    --primary-color: #2C3E50;    /* Midnight Blue */
    --accent-color: #18BC9C;     /* Vibrant Teal */
    --secondary-color: #E67E22;  /* Burnt Orange */
    --light-color: #ECF0F1;     /* Light Gray */
    --dark-color: #34495E;      /* Charcoal */
    
    /* Spacing */
    --spacing-unit: 1rem;
    --border-radius: 0.5rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
  }
  
  /* Base Styles */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Navbar Styles */
  .navbar {
    /* position: fixed;  Change from fixed to sticky */
    top: 0;
    width: 100%;
    z-index: 1030;
    background-color: var(--primary-color) !important;
    box-shadow: var(--shadow-md);
  }

  .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
  }

  /* Hero Section */
  .hero {
    position: relative;
    min-height: 80vh;  /* Change to min-height */
    margin-top: -56px; /* Negative margin to compensate for navbar height */
    padding-top: 56px; /* Add padding equal to navbar height */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                      url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
  }

  .hero-content {
    max-width: 800px;
    text-align: center;
  }

  /* Main Content Area */
  main {
    margin-top: 1rem; /* Add some spacing after navbar for non-hero pages */
    flex: 1;
    padding: calc(var(--spacing-unit) * 1) 0;
  }
  
  /* Card Component */
  .card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), 
                box-shadow var(--transition-normal);
    overflow: hidden;
  }
  
  .card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-lg);
  }
  
  .card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
  }
  
  /* Activity Cards */
  .activity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .activity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  /* Price Display */
  .activity-price {
    font-size: 1.25rem;
    color: var(--success-color);
    font-weight: 700;
  }
  
  /* Badges */
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5em 0.75em;
    border-radius: 2em;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .badge-primary {
    background-color: var(--primary-color);
    color: white;
  }
  
  /* Map Container */
  #map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--light-color);
  }
  
  /* Footer Styles */
  .footer {
    background-color: var(--primary-color);
    color: white;
    padding: calc(var(--spacing-unit) * 3) 0;
    margin-top: auto;
  }
  
  .footer a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--transition-fast);
  }
  
  .footer a:hover {
    opacity: 0.8;
    color: inherit;
  }
  
  .footer-social {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
  }

  /* Enhanced Footer Styles */
  .footer {
    background-color: var(--primary-color);
    color: var(--light-color);
  }

  .footer-brand i {
    color: var(--accent-color);
  }

  .footer h6 {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
  }

  .footer-contact li i {
    color: var(--accent-color);
  }

  .social-links a {
    transition: color var(--transition-fast);
  }

  .social-links a:hover {
    color: var(--accent-color) !important;
  }

  .footer a {
    transition: color var(--transition-fast);
  }

  .footer a:hover {
    color: var(--accent-color) !important;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .card {
      margin-bottom: var(--spacing-unit);
    }
  
    .card-img-top {
      height: 150px;
    }
  
    #map {
      height: 300px;
    }
  }

  /* Activity Show Page Styles */
  .activity-gallery {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
  }
  
  .price-display {
    color: var(--accent-color);
  }
  
  .info-panel {
    background-color: var(--light-color);
    border: none;
  }
  
  .info-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: transform var(--transition-fast);
  }

  .info-item:hover {
    transform: translateY(-2px);
  }
  
  .info-item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .info-item h6 {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
  }

  .info-item p {
    font-weight: 500;
    color: var(--primary-color);
  }
  
  .sticky-top {
    top: 2rem;
    z-index: 1020;
  }
  
  /* Swiper Gallery */
  .swiper {
    width: 100%;
    height: 500px; /* Fixed height */
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Updated Swiper Gallery Styles */
.swiper-button-next,
.swiper-button-prev {
    color: var(--light-color);
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 30px;  /* Reduced from 40px */
    height: 30px; /* Reduced from 40px */
    opacity: 0;   /* Hide by default */
    transition: opacity 0.3s ease;
}

/* Make arrows smaller */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px !important; /* Reduced from default size */
}

/* Show on hover */
.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    opacity: 1;
}

/* Add hover effect */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0,0,0,0.7);
}

/* Position adjustments */
.swiper-button-prev {
    left: 10px;
}

.swiper-button-next {
    right: 10px;
}

.swiper-pagination-bullet {
    background: var(--light-color);
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 30px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

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

.activitySwiper {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next,
.swiper-button-prev {
    width: 10px;
    height: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

  /* Difficulty Badge Colors */
  .bg-Beginner {
    background-color: var(--accent-color);
  }

  .bg-Intermediate {
    background-color: var(--secondary-color);
  }

  .bg-Advanced {
    background-color: #e74c3c;  /* Red */
  }

  .bg-Expert {
    background-color: #8e44ad;  /* Purple */
  }