/*/====================Packages Page Configration ===============================/*/
/* Main heading style */
.packages-heading {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 2.5rem;        
  font-weight: 700;         
  color: #1976d2;           
  margin-bottom: 24px;      
  text-align: center;       
  letter-spacing: 1px;      
  text-transform: uppercase;
}

/* Tabs */
.tabs {
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.tab-button {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid #1976d2;
  background: #fff;
  color: #1976d2;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.tab-button.active,
.tab-button:hover {
  background: #1976d2;
  color: #fff;
  font-weight: 700;
}

/* Search bar */
.search-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-bar input[type="text"],
.search-bar input[type="date"],
.search-bar input[type="number"] {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  flex: 1 0 150px;
  max-width: 180px;
}

.search-bar input[type="number"] {
  width: 80px;
  flex: 0 0 auto;
}

.search-bar .search-btn {
  padding: 8px 20px;
  border-radius: 8px;
  background: #1976d2;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* Packages grid */
.packages-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.package-card {
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.package-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
}

.package-card h4 {
  margin-bottom: 4px;
  font-weight: 600;
}

.package-card p {
  color: #1976d2;
  font-weight: bold;
  margin-top: 0;
}

.package-card div {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
}

.view-details-btn {
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #d74180;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.view-details-btn:hover {
  background: #b52f66;
}

/* Modal styles */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  min-width: 380px;
  max-width: 480px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 21px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 700;
}

.hotel-pictures-list {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.hotel-pictures-list img {
  border-radius: 8px;
  width: 90px;
  height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .packages-grid {
    justify-content: center;
  }
  .tabs {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .packages-grid {
    flex-direction: column;
    align-items: center;
  }
  .package-card {
    width: 95vw;
    max-width: 400px;
  }
  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-bar input,
  .search-bar .search-btn {
    max-width: 100%;
    width: 100%;
  }
  .modal-content {
    width: 95vw;
    max-width: 95vw;
    max-height: 85vh;
  }
}
