/*
Custom CSS for Sundarban Royal Delta Tourism
*/
/* --- Hero Section for Package Details --- */
.hero-section-package-details {
    height: 400px; /* Adjust height as needed */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-section-package-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 17, 31, 0.7), rgba(60, 59, 140, 0.5)); /* Dark overlay */
    z-index: 1;
}

.hero-section-package-details .container {
    position: relative;
    z-index: 2;
}

.hero-section-package-details h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-section-package-details p {
    font-size: 1.25rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

/* Responsive adjustments for hero section */
@media (max-width: 768px) {
    .hero-section-package-details {
        height: 300px;
    }
    .hero-section-package-details h1 {
        font-size: 2.5rem;
    }
    .hero-section-package-details p {
        font-size: 1rem;
    }
}
.card-header-tabs .nav-link:hover {
    color: var(--color-white) !important;
    transform: translateY(-2px);
}
.package-booking-section.sticky-top{
    top: 80px !important
}
/* --- General Styling --- */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

.page-section {
  padding: 70px 0 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-primary);
}

.btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 8px solid var(--bg-secondary);
  border-top: 8px solid var(--primary-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

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

/* --- Header --- */
#mainNav {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#mainNav .navbar-brand .logo {
  height: 50px;
}

#mainNav .nav-link {
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 10px 15px;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--primary-color);
}

.btn-book-now {
  background-color: var(--accent-color);
  color: var(--text-light);
  border-color: var(--accent-color);
}

.btn-book-now:hover {
  background-color: var(--accent-color-dark);
  border-color: var(--accent-color-dark);
}

/* --- Mobile Sidebar (MUI-inspired) --- */
.mobile-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    background-color: var(--marian-blue) !important;
    overflow-x: hidden;
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-top: 60px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-sidebar .sidebar-nav {
    list-style: none;
    padding: 20px;
}

.mobile-sidebar .sidebar-nav a {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    color: var(--text-primary);
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
    margin-bottom: 10px;
    font-weight: 500;
}

.mobile-sidebar .sidebar-nav a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.mobile-sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-sidebar .close-btn:hover {
    color: var(--text-primary);
}


/* --- Hero Section --- */
.hero-section {
  height: 100vh;
  position: relative;
  color: var(--text-light);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
}

.btn-get-quote {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.btn-get-quote:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
}

.btn-explore {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-explore:hover {
  background-color: var(--text-light);
  color: var(--text-primary);
}

/* --- How It Works Section --- */
.how-it-works-step {
  padding: 30px;
  border: 1px solid var(--bg-secondary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.how-it-works-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* --- About Us Section (MUI-inspired) --- */
.about-us-section {
  background-color: var(--bg-light-gray);
  padding: 80px 0;
}

.about-us-card {
  background-color: var(--bg-primary);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-us-image {
  overflow: hidden;
}

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

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

.about-us-content {
  padding: 40px 60px;
}

.about-us-content .section-title {
  text-align: left;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.about-us-content .section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
}

.about-us-content .lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.8;
}

.about-us-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-us-content .btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 15px 40px;
  font-size: 1rem;
  margin-top: 20px;
}

.about-us-content .btn-primary:hover {
  background-color: var(--secondary-color-dark);
  border-color: var(--secondary-color-dark);
}

/* --- Packages Section --- */
.package-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
}

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

.package-image {
  position: relative;
}

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

/* .category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(0, 123, 255, 0.9);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
} */

.package-content {
  padding: 25px;
}

.package-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.package-duration {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* Fix for package card button hover */
.package-card-link .btn-primary:hover {
  color: var(--text-light);
}

/* --- Testimonials Section --- */
.testimonials-section {
  background-color: var(--dark-color);
  color: var(--text-light);
}

.testimonial-card {
  background-color: var(--bg-primary);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: var(--text-primary);
}

.testimonial-rating {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

/* --- Final CTA Section --- */
.final-cta-section {
  background-color: var(--bg-secondary);
}

/* --- Footer --- */
.main-footer {
  background-color: var(--dark-color);
  color: var(--text-light);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.social-links a {
  color: var(--text-light);
  margin-right: 15px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

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

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

.footer-copyright {
  color: var(--light-color);
}

.footer-legal-link {
  color: var(--light-color);
  text-decoration: none;
}

.footer-legal-link:hover {
  color: var(--text-light);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  transition: background 0.5s;
  z-index: 99;
}

.back-to-top.active {
  display: flex;
}

.back-to-top i {
  font-size: 24px;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--primary-color-dark);
}

/* --- Header Image --- */
.logo-container img {
  /* max-width: 100px; */
  height: 50px;
}

/* --- Filter Modal --- */
#filterModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#filterModal .modal-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom: none;
}

#filterModal .modal-title {
    font-weight: 600;
}

#filterModal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#filterModal .form-label {
    font-weight: 600;
    color: var(--text-primary);
}

#filterModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#priceRange {
    accent-color: var(--primary-color);
}


/* --- Responsive --- */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    display: none !important;
  }
  .hero-title {
    font-size: 3rem;
  }
  .about-us-content {
    padding: 20px 20px;
  }

  .hero-section {
    height: 50vh;
    position: relative;
    color: #fff;
  }
}
/* --- Filter Section Enhancements (MUI Inspired) --- */
.card {
    border: none; /* Remove default Bootstrap border */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.05); /* Subtle, layered shadow */
    overflow: hidden; /* Ensure rounded corners apply to content */
}

.card-header {
    background-color: var(--primary-color); /* Use primary color for header */
    color: var(--text-light); /* Light text for contrast */
    border-bottom: none; /* Remove default border */
    padding: 1.25rem 1.5rem; /* More generous padding */
    font-size: 1.2rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem; /* Consistent padding */
}

/* Form Elements within Filter */
.form-label {
    font-weight: 600; /* Bolder labels */
    color: var(--text-primary);
    margin-bottom: 0.75rem; /* More space below labels */
    font-size: 0.95rem;
}

.form-select,
.form-control {
    border: 1px solid var(--cadet-gray-light); /* Lighter border */
    border-radius: 8px; /* Consistent rounded corners */
    padding: 0.75rem 1rem; /* More padding */
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color); /* Primary color on focus */
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25); /* Subtle focus ring */
    outline: none;
}

/* Custom Checkbox Styling (MUI-inspired) */
.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-top: 0.25em;
    vertical-align: top;
    background-color: #fff;
    border: 1px solid var(--cadet-gray-light);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px; /* Slightly rounded square */
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
    outline: none;
}

.form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
}

/* Range Slider Styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover,
input[type="range"]::-moz-range-thumb:hover {
    background: var(--primary-color-dark);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Filter Buttons */
.d-grid.gap-2 .btn {
    border-radius: 8px; /* Slightly less rounded than main buttons */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.d-grid.gap-2 .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.d-grid.gap-2 .btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    color: var(--color-white);
}

.d-grid.gap-2 .btn-secondary {
    background-color: var(--bg-secondary);
    border-color: var(--bg-secondary);
    color: var(--text-primary);
}

.d-grid.gap-2 .btn-secondary:hover {
    background-color: var(--cadet-gray-light);
    border-color: var(--cadet-gray-light);
}
@media (max-width: 767.98px) {
  #mainNav .navbar-brand .logo {
    height: 35px;
  }
  .page-section {
    padding: 58px 0 0;
}
}