/* Base resets specific to this page */
body { 
  margin: 0; 
  background-color: #f5f5f5; /* Light ash background */
}

/* Top announcement bar */
.top-bar {
  background: linear-gradient(90deg, #ff9466, #ffb38a);
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-align: center;
  padding: 8px 12px;
}

/* Navbar overrides and layout */
.site-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.site-navbar .navbar-brand img {
  height: 68px;
}

.site-navbar .nav-link {
  color: #222;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  margin: 0 0.3rem;
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 3px solid transparent;
}

.site-navbar .nav-link:hover {
  color: #fbbf24;
}

.site-navbar .nav-link.active {
  color: #000;
  border-bottom-color: #fbbf24;
}

.site-navbar .dropdown-toggle.active {
  color: #000;
  border-bottom-color: transparent;
}

.nav-search-icon {
  line-height: 1;
}

.nav-search-img { height: 24px; width: 24px; display: block; }

/* Align items nicely on large screens */
@media (min-width: 992px) {
  .navbar-nav { 
    gap: 0.8rem; 
  }
  
  .navbar-nav .nav-item {
    margin: 0;
  }
}



/* Reduce padding on small screens for compact look */
@media (max-width: 575.98px) {
  .top-bar { font-size: .95rem; padding: 8px 10px; }
  .site-navbar .navbar-brand img { height: 48px; }
}

/* Hero banner */
.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 155px;
  max-height: 155px;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.25));
  background-image: none !important;
}

.hero-content { color: #fff; padding: 19px 0; }
.hero-title { font-weight: 700; margin: 0 0 24px; letter-spacing: 0.2px; }

@media (max-width: 991.98px) {
  .hero-banner { 
    min-height: 155px; 
    max-height: 155px;
  }
  .hero-title { font-size: 1.75rem; }
  .victor-shape{
  display: none;
  }
}

/* Search panel overlapping hero bottom */
.search-panel-wrapper { position: relative; margin-top: -40px; }
.search-panel { border-radius: 8px; overflow: hidden; }
.search-panel .nav-tabs { border-bottom: none; }
.search-panel .nav-tabs .nav-link { 
  font-weight: 600; 
  color: #666; 
  border: none;
  background: none;
  padding: 4px 16px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}
.search-panel .nav-tabs .nav-link:hover {
  color: #333;
  background: none;
  border-bottom: 3px solid transparent;
}
.search-panel .nav-tabs .nav-link.active { 
  color: #1e40af; 
  background: none;
  border-bottom: 3px solid #10b981;
}
.tab-content .row > * {
  margin-top: 0.25rem !important;
}
/* Form styling to match image design */
.search-panel .form-label {
  font-weight: 600;
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.search-panel .dropdown-input {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 40px 12px 12px;
  font-size: 0.875rem;
  color: #374151;
  background: #fff;
}

.search-panel .dropdown-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}

.search-panel .btn-warning {
  background-color: #fbbf24;
  border-color: #fbbf24;
  color: #1e40af;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.search-panel .btn-warning:hover {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #1e40af;
  transform: translateY(-1px);
}

/* Tab icons styling */
.search-panel .nav-tabs .nav-link i {
  font-size: 1rem;
  margin-right: 8px;
}

.search-panel .nav-tabs .nav-link.active i {
  color: #1e40af;
}

.search-panel .nav-tabs .nav-link:not(.active) i {
  color: #6b7280;
}

@media (max-width: 575.98px) {
  .search-panel-wrapper { margin-top: -60px; }
  .search-panel .nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 0.875rem;
  }
  .search-panel .nav-tabs .nav-link i {
    font-size: 0.875rem;
    margin-right: 6px;
  }
}


/* Winter Destinations Section */
.winter-destinations-section .destination-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.winter-destinations-section .destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.winter-destinations-section .destination-card .card-img-top {
  height: 140px;
  object-fit: cover;
  border-radius: 0;
}

.winter-destinations-section .destination-card .card-body {
  padding: 20px;
}
.card-body .card-title,.card-body .card-text{  
  font-size: .88rem;
}
.card-body .small{  
  font-size: .75rem;
}
.winter-destinations-section .destination-card .card-title {
  font-weight: 700;
  color: #1f2937;
  font-size: .88rem;
}

.winter-destinations-section .destination-card .card-text {
  color: #6b7280;
  font-size: 0.75rem;
}

.winter-destinations-section .destination-card ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}

.winter-destinations-section .destination-card ul li {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 4px;
  position: relative;
  padding-left: 16px;
}

.winter-destinations-section .destination-card ul li:before {
  content: "•";
  color: #9ca3af;
  position: absolute;
  left: 0;
}

.winter-destinations-section .destination-price {
  color: #ff6a3d;
  font-size: 0.875rem;
  margin-top: 12px;
}

.winter-destinations-section .destination-price .price-accent {
  color: #ff6a3d;
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 6px;
  margin-right: 6px;
}

.winter-destinations-section .destination-price .fa-arrow-right {
  color: #ff6a3d;
  font-size: 0.875rem;
}

.winter-destinations-section .text-primary {
  color: #3b82f6 !important;
  font-weight: 600;
  font-size: 0.95rem;
}

.winter-destinations-section .text-primary:hover {
  color: #2563eb !important;
  text-decoration: underline !important;
}

/* Category section */
.category-card { display: block; text-align: center; text-decoration: none; color: inherit; background: #fff; border-radius: 22px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); }
.category-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 15px 15px 0 0; }
.category-label { margin-top: 14px; background: #fff; border-radius: 14px; padding: 14px 16px; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }

@media (max-width: 575.98px) {
  .category-card img { height: 150px; }
}

/* Featured Trips */
.featured-trips-section {
  background: url('../images/home/feature_trip_background.png') no-repeat center/cover;
}
.trip-card .card-img-top {
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  margin: 14px; /* inner padding look around image */
  width: calc(100% - 28px);
  display: block;
}
.card-body{padding: 0.5rem;}
.trip-card .card-body { border-radius: 14px; }
.trip-card { border-radius: 18px; overflow: hidden; }
.trip-card ul { margin-bottom: 0; }

.trip-price { color: #ff6a3d; font-size: 1rem; }
.trip-price .price-accent { color: #ff6a3d; font-size: 1.25rem; margin-left: 6px; margin-right: 6px; }
.trip-price .fa-arrow-right { color: #ff6a3d; }

/* Destination of the Month */
.destination-section {
  background: linear-gradient(180deg, #eef7ff 0%, #fff 100%);
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

.destination-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: url('../images/home/destination_background.png') no-repeat top center/cover;
  z-index: 1;
}

.destination-section .container {
  position: relative;
  z-index: 2;
}

.destination-card {
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  position: relative;
  z-index: 3;
}

.dest-metrics .metric .label { font-weight: 700; margin-right: 6px; }
.dest-metrics .metric .value { color: #6c757d; }

.destination-section .victor-shape {
    position: absolute;
    top: -10px;
    left: 0;
    width: 180px;
    opacity: 1;
    z-index: 18;
}

/* Travel Tips */
.travel-tips-section {
  background: url('../images/home/travel_tip_background.png') center/cover no-repeat fixed;
}
.glass-card {
  background: rgba(255,255,255,0.65);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);
}
.tips-item img { height: 180px; object-fit: cover; width: 100%; }
.tips-item h5 { margin-bottom: 10px; }

/* Footer */
.site-footer {
  background: url('../images/home/footer-background.png') center bottom/cover no-repeat, linear-gradient(180deg, #0b0f1a 0%, #121826 100%);
  color: #cfd8e3;
}
.site-footer .container{
  padding-top: 30px !important;
  padding-bottom: 8px !important;
}
.site-footer .footer-links a { color: #cfd8e3; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer .footer-links a:hover { color: #ffffff; }

/* Room and Travelers Modal */
#roomTravelersModal .modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

#roomTravelersModal .modal-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 24px;
}

#roomTravelersModal .modal-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.25rem;
}

#roomTravelersModal .modal-body {
  padding: 24px;
}

#roomTravelersModal .modal-footer {
  border-top: 1px solid #e5e7eb;
  padding: 20px 24px;
}

#roomTravelersModal .form-label {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 8px;
}

#roomTravelersModal .input-group .btn {
  border-color: #d1d5db;
  color: #6b7280;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#roomTravelersModal .input-group .btn:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
  color: #374151;
}

#roomTravelersModal .input-group .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#roomTravelersModal .form-control {
  border-color: #d1d5db;
  height: 40px;
  font-size: 0.875rem;
}

#roomTravelersModal .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#roomTravelersModal .btn-warning {
  background-color: #fbbf24;
  border-color: #fbbf24;
  color: #1e40af;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

#roomTravelersModal .btn-warning:hover {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #1e40af;
  transform: translateY(-1px);
}

