/* Main CSS Here */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --background-color1: #fafaff;
  --background-color2: #ffffff;
  --background-color3: #ededed;
  --background-color4: #cad7fda4;
  --primary-color: #4b49ac;
  --secondary-color: #0c007d;
  --Border-color: #3f0097;
  --one-use-color: #3f0097;
  --two-use-color: #5500cb;
}

body {
  background-color: var(--background-color4);
  max-width: 100%;
  overflow-x: hidden;
}

header {
  height: 70px;
  width: 100vw;
  padding: 0 30px;
  background-color: var(--background-color1);
  position: fixed;
  z-index: 2;
  box-shadow: 1px 1px 15px rgba(161, 182, 253, 0.825);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 27px;
  font-weight: 600;
  color: rgb(47, 141, 70);
}

.icn {
  height: 30px;
}

.menuicn {
  display: none;
  cursor: pointer;
}

.message {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  /* To handle absolute positioning of dropdown menus */
}

.searchbar,
.logosec {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logosec {
  gap: 60px;
}

/* =====================MOST-POPULAR================================ */
button.option {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  margin: 15px 5px 5px;
  color: #333;
}

button.option:hover {
  background-color: #dadada;
}

button.option.active {
  background: linear-gradient(135deg, #3f0498, #0056b3);
  color: #ffff;
}

.tourList {
  position: relative;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: first baseline;
  margin-top: 20px;
  overflow: hidden;
}

.tourList::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background-image: url('');
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  z-index: 1;
}

.tourList::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

s .tourList>img,
.tourDetails {
  position: relative;
  z-index: 6;
}

.tourList img {
  z-index: 6;
  width: 300px;
  border-radius: 8px;
  height: 200px;
  object-fit: cover;
}

.tourDetails {
  margin: 20px;
  color: #dce5fd;
}

.tourDetails h1 {
  font-size: 2.5em;
  margin-bottom: 50px;
}

.smallDetails {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =====================MOST-POPULAR END================================ */

input[type=text]:focus {
  transition: width 2s, height 2s, transform 2s;
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  border: 1px solid rgba(81, 203, 238, 1);
}

.searchbar {
  position: relative;
}

#dropdown {
  padding: 5px;
  display: none;
  position: absolute;
  top: 100%;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 3;
  display: none;
}

.searchbar i {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.searchbar input {
  width: 485px;
  height: 42px;
  border-radius: 50px;
  background-color: var(--background-color3);
  padding: 0 20px;
  font-size: 15px;
  outline: none;
  border: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, width 2s, height 2s, transform 2s;
}

.searchbar input:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  border: 1px solid rgba(81, 203, 238, 1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, width 2s, height 2s, transform 2s;

}

.login {
  width: 150px;
  padding: 10px 20px;
  font-size: 15px;
  color: #3f0498;
  border: none;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.login:hover {
  background-color: #3f0498;
  color: #ffffff;
}

.circle {
  height: 7px;
  width: 7px;
  position: absolute;
  background-color: #fa7bb4;
  border-radius: 50%;
  left: 19px;
  top: 8px;
}

.dp {
  height: 40px;
  width: 40px;
  background-color: #626262;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-container {
  position: relative;
  display: inline-block;
}

.dpicn {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
}

.crown-icon {
  position: absolute;
  top: -10px;
  /* Adjust to position the crown properly */
  left: -7px;
  /* Adjust to position the crown properly */
  width: 30px;
  /* Adjust size as needed */
  z-index: 1;
  /* Ensure crown is above the profile image */
}

.dp .account-menu ul li a {
  text-decoration: none;
  text-align: right;
}

.main-container {
  height: calc(100vh - 70px);
  display: flex;
  width: 100%;
  position: relative;
  z-index: 1;
}

.dpicn {
  height: 42px;
}

.main {
  width: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 40px 30px 30px 30px;
}

.main a {
  color: #333;
  text-decoration: none;
}

.main::-webkit-scrollbar-thumb {
  background-image:
    linear-gradient(to bottom, rgb(0, 0, 85), rgb(0, 0, 50));
}

.main::-webkit-scrollbar {
  width: 5px;
}

.main::-webkit-scrollbar-thumb:hover {
  background-image:
    linear-gradient(to bottom, rgb(0, 0, 85), rgb(0, 0, 50), rgb(0, 0, 30));
}

.main::-webkit-scrollbar-track {
  background-color: #9e9e9eb2;
}

.box-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.nav {
  min-height: 91vh;
  background-color: var(--background-color2);
  position: absolute;
  top: 0px;
  z-index: 3;
  left: 00;
  box-shadow: 1px 1px 10px rgba(198, 189, 248, 0.825);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px 0 20px 10px;
}

.nav a {
  text-decoration: none;
  color: #000000;
}

.navcontainer {
  height: calc(100vh - 70px);
  width: 300px;
  position: relative;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: all 0.5s ease-in-out;
}

.navcontainer::-webkit-scrollbar {
  display: none;
}

.navclose {
  width: 80px;
}

.nav-option {
  width: 250px;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 30px 0 20px;
  gap: 20px;
  transition: all 0.1s ease-in-out;
}

.nav-option:hover {
  border-left: 5px solid #a2a2a2;
  background-color: #dadada;
  cursor: pointer;
}

.nav-img {
  height: 30px;
}

.nav-upper-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nav-option.active {
  border-left: 5px solid #010058af;
  background-color: var(--Border-color);
  color: white;
  cursor: pointer;
}

.nav-option.active:hover {
  border-left: 5px solid #010058af;
  background-color: var(--Border-color);
}


.topic {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
}

.topic-heading {
  font-size: 30px;
  letter-spacing: 3px;
}

.report-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: #f8f9fa;
  width: 100%;
  margin: 0 0 20px 0;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.report-header {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 10px 20px;
  border-bottom: 2px solid rgba(0, 20, 151, 0.59);
}

.recent-Articles {
  font-size: 30px;
  font-weight: 600;
  color: #5500cb;
}

.view {
  height: 35px;
  width: 90px;
  border-radius: 8px;
  background-color: #5500cb;
  color: white;
  font-size: 15px;
  border: none;
  cursor: pointer;
}

.report-body {
  max-width: 1160px;
  overflow-x: auto;
  padding: 20px;
}

.report-topic-heading,
.item1 {
  width: 1120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.t-op {
  font-size: 18px;
  letter-spacing: 0px;
}

.items {
  width: 1120px;
  margin-top: 15px;
}

.item1 {
  margin-top: 20px;
}

.t-op-nextlvl {
  font-size: 14px;
  letter-spacing: 0px;
  font-weight: 600;
}

.label-tag {
  width: 100px;
  text-align: center;
  background-color: rgb(0, 177, 0);
  color: white;
  border-radius: 4px;
}

.cards {
  background: #ffffff;
  color: #1f1f1f;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.cards:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cards .card {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cards .img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.cards .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 16px 16px 0 0;
}

.cards:hover .img img {
  transform: scale(1.05);
}

.cards .title {
  font-size: 1.1em;
  margin: 15px 15px 10px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards .rating {
  margin: 0 15px 15px;
  color: #f39c12;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.cards .rating span {
  color: #666;
  font-size: 0.85em;
}

/* Status Badge and Tooltip */
.cards .status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.status-badge {
  z-index: 5;
}

.cards .status-badge i {
  font-size: 1.1em;
}

/* Status Types */
.cards .status-badge.booking {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
}

.cards .status-badge.free {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.cards .status-badge.closed {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.cards .status-badge.upcoming {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.cards .status-badge.special {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: white;
}

.cards .status-badge.limited {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

/* Tooltip Styles */
.cards .status-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 0.75em;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cards .status-badge:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* Hover Effects */
.cards:hover .status-badge {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .cards .status-badge {
    padding: 5px 10px;
    font-size: 0.7em;
    top: 10px;
    right: 10px;
  }

  .cards .status-badge i {
    font-size: 1em;
  }

  .cards .status-badge::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .cards .status-badge {
    padding: 4px 8px;
    font-size: 0.65em;
    top: 8px;
    right: 8px;
  }

  .cards .status-badge i {
    font-size: 0.9em;
  }
}

.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination button {
  background-color: #cccccc;
  border: none;
  padding: 8px 12px;
  height: 40px;
  width: 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,123,255,0.2);
  align-items: center;
  justify-content: center;
}

.pagination button.pagination-btn {
  min-width: 35px;
  padding: 6px 8px;
}

.pagination button.prev-btn,
.pagination button.next-btn {
  width: auto;
  min-width: 80px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.pagination button.prev-btn:hover:not(:disabled),
.pagination button.next-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #3f0498, #0056b3);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.pagination button.prev-btn:disabled,
.pagination button.next-btn:disabled {
  background-color: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.pagination button.active {
  background: linear-gradient(135deg, #3f0498, #0056b3);
  color: white;
}

.pagination button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  color: #666;
  font-weight: bold;
  user-select: none;
  min-width: 20px;
}

.page-info {
  text-align: center;
  margin: 15px 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.go-to-page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
  flex-wrap: wrap;
}

.go-to-page-container label {
  color: #666;
  font-size: 14px;
  font-weight: 500;
}

.go-to-page-container input {
  width: 50px;
  padding: 5px 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
}

.go-to-page-container input:focus {
  outline: none;
  border-color: #3f0498;
  box-shadow: 0 0 0 2px rgba(63, 4, 152, 0.2);
}

.go-btn {
  background: linear-gradient(135deg, #3f0498, #0056b3);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.go-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(63, 4, 152, 0.3);
}

.btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

.btn.history:hover {
  background-color: #0056b3;
}

.spots::-webkit-scrollbar {
  width: 20px;
}

@media screen and (max-width: 550px) {
  .title {
    font-size: 15px;

  }

  .cards {
    width: calc(50% - 10px);
  }
  
  .pagination {
    gap: 5px;
  }
  
  .pagination button.prev-btn,
  .pagination button.next-btn {
    min-width: 60px;
    font-size: 12px;
    padding: 6px 8px;
  }
  
  .pagination button.pagination-btn {
    min-width: 35px;
    padding: 6px 8px;
  }
}

@media screen and (max-width: 1150px) {
  .spots {
    justify-content: first baseline;
    object-fit: cover;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .spot {
    flex: 0 0 auto;
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }


}

/* popularspot */

/* Base styles for popular spots */
.popularspot {
  text-align: left;
  padding: 10px;
  margin-top: 10px;
  position: relative;
}

.popularspot h2 {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 20px;
  font-weight: 800;
}

.spots {
  margin-bottom: 20px;
  justify-content: flex-start;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  position: relative;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.spots::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

/* Navigation Buttons */


.spot-nav.prev {
  left: 0;
}

.spot-nav.next {
  right: 0;
}

.spot-nav i {
  font-size: 1.4em;
  color: #333;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: auto;
}

.spot-nav:hover i {
  transform: scale(1.1);
}

.spot-nav.prev:hover i {
  transform: translateX(-2px) scale(1.1);
}

.spot-nav.next:hover i {
  transform: translateX(2px) scale(1.1);
}

/* Hide navigation buttons on mobile */
@media screen and (max-width: 768px) {
  .spot-nav {
    display: none;
  }

  .spots {
    padding: 10px 0;
  }
}


.spinner {
  border: 2px solid #f3f3f3;
  /* Light gray */
  border-top: 2px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 12px;
  height: 12px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 5px;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.spot {
  color: #000000;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex: 0 0 auto;
  width: 280px;
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: center;
}

.spot:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spot a {
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.spot .img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 16px 16px 0 0;
}

.spot:hover img {
  transform: scale(1.05);
}

.spot h3 {
  font-size: 1.1em;
  margin: 15px 15px 10px;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot p {
  font-size: 0.9em;
  margin: 0 15px 10px;
  color: #666;
  line-height: 1.4;
}

.spot .rating {
  margin: 0 15px 15px;
  color: #f39c12;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.spot .rating span {
  color: #666;
  font-size: 0.85em;
}

/* Status Badge for Spots */
.spot .status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.spot .status-badge i {
  font-size: 1.1em;
}

/* Status Types for Spots */
.spot .status-badge.booking {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
}

.spot .status-badge.free {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.spot .status-badge.closed {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.spot .status-badge.upcoming {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.spot .status-badge.special {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: white;
}

.spot .status-badge.limited {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

/* Tooltip Styles for Spots */
.spot .status-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 0.75em;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.spot .status-badge:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* Event Specific Styles */
.spot.event {
  width: 300px;
}

.spot.event .img {
  height: 220px;
}

.event-meta {
  margin: 10px 15px 15px;
  font-size: 0.9em;
  color: #666;
}

.event-meta p {
  margin: 5px 0;
}

/* Responsive Design for Spots */
@media screen and (max-width: 768px) {
  .spot {
    width: 240px;
  }

  .spot .img {
    height: 180px;
  }

  .spot.event .img {
    height: 200px;
  }

  .spot h3 {
    font-size: 1em;
    margin: 12px 12px 8px;
  }

  .spot p {
    font-size: 0.85em;
    margin: 0 12px 8px;
  }

  .spot .rating {
    margin: 0 12px 12px;
    font-size: 0.85em;
  }

  .spot .status-badge {
    padding: 5px 10px;
    font-size: 0.7em;
    top: 10px;
    right: 10px;
  }

  .spot .status-badge i {
    font-size: 1em;
  }

  .spot .status-badge::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .spot {
    width: 220px;
  }

  .spot .img {
    height: 160px;
  }

  .spot.event .img {
    height: 180px;
  }

  .spot h3 {
    font-size: 0.95em;
    margin: 10px 10px 6px;
  }

  .spot p {
    font-size: 0.8em;
    margin: 0 10px 6px;
  }

  .spot .rating {
    margin: 0 10px 10px;
    font-size: 0.8em;
  }

  .spot .status-badge {
    padding: 4px 8px;
    font-size: 0.65em;
    top: 8px;
    right: 8px;
  }

  .spot .status-badge i {
    font-size: 0.9em;
  }
}

/* Touch Device Optimizations for Spots */
@media (hover: none) {
  .spot:hover {
    transform: none;
  }

  .spot:hover img {
    transform: none;
  }

  .spot:hover .status-badge {
    transform: none;
  }

  .spot .status-badge::after {
    display: none;
  }
}

/*MODAL*/
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 4;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: rgba(138, 138, 138, 0.6);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  width: 100%;
  height: auto;
  max-width: 80vw;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease-in-out;
  color: black;
  padding: 20px;
}

.modal-content.show {
  transform: scale(1);
}

.modal-content .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
}

.modal-content .close-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.error-message {
  position: relative;
  height: 10px;
  color: red;
  text-align: right;
  font-size: 14px;
  top: -52px;
  margin-top: -10px;
}

.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 520px;
  align-items: center;
  color: #fff;
}

.modal-content h2 {
  margin-bottom: 20px;
  text-align: left;
  color: black;
}

.form-container #forgot-password {
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  color: blue;
}

.form-container #forgot-password:hover {
  color: lightblue;
}

.form-container p {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: white;
}

.form-container a {
  text-decoration: none;
  color: skyblue;
}

.form-container a:hover {
  color: whitesmoke;
  text-decoration: underline;
}

.form-container button {
  padding: 10px;
  background-color: #007BFF;
  margin-top: 10px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

.comment-save-btn {
  padding: 10px;
  background-color: #007BFF;
  color: white;
  border: none;
  white-space: nowrap;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  width: 80px;
}

.bxs-send {
  font-size: smaller;
}

.comment-save-btn:hover {
  background-color: #0056b3;
}

.form-container button:hover {
  background-color: #0056b3;
}

.hidden {
  display: none;
}

.form-container.slide-in {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.checkbox {
  display: flex;
  align-items: center;
}

.checkbox input {
  margin-right: 5px;
}

/* /MODAL */

@media screen and (min-width: 300px) and (max-width: 600px) {


  .spot {
    flex: 0 0 auto;
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* Carousel improvements */
.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.carousel-slide {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-out;
  cursor: grab;
}

.carousel-slide:active {
  cursor: grabbing;
}

.carousel-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

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

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, rgba(0,0,0,0) 100%);
  color: #fff;
  text-align: left;
  z-index: 2;
}

@media (max-width: 600px) {
  .carousel-container {
    height: 250px;
  }
  
  .carousel-item {
    height: 100%;
  }
  
  .carousel-item a {
    height: 100%;
  }
  
  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
  
  .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
  }
}

.carousel-caption h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.carousel-caption p {
  margin: 5px 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-indicators div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicators div.active {
  background: white;
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-container {
    height: 300px;
  }

  .carousel-caption h3 {
    font-size: 1.2em;
  }

  .carousel-caption p {
    font-size: 0.9em;
  }

  .prev,
  .next {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 250px;
  }

  .carousel-caption {
    padding: 15px;
  }

  .carousel-caption h3 {
    font-size: 1em;
  }

  .carousel-caption p {
    font-size: 0.8em;
  }

  .prev,
  .next {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}

/* Add smooth loading for images */
.carousel-item img {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-item img.loaded {
  opacity: 1;
}

/* Responsive CSS Here */
@media screen and (max-width: 950px) {
  .map h3 {
    display: none;
  }

  .nav-img {
    height: 25px;
  }

  .nav-option {
    gap: 30px;
  }

  .nav-option h3 {
    font-size: 15px;
  }

  .report-topic-heading,
  .item1,
  .items {
    width: 800px;
  }
}

@media screen and (max-width: 650px) {
  .modal-content {
    max-width: 100%;
    margin: 0;
    align-items: center;
  }
}

@media screen and (max-width: 850px) {
  .comment {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .tourList {
    margin-bottom: 0px;
  }

  .tourList img {
    width: 100%;
  }

  .navcontainer {
    width: 280px;
    z-index: 3;
  }

  .navcontainer.navclose~.main {
    filter: blur(10px);
  }

  .nav-img {
    height: 30px;
  }

  .nav-option {
    gap: 30px;
  }

  .nav-option h3 {
    font-size: 20px;
  }

  .report-topic-heading,
  .item1,
  .items {
    width: 700px;
  }

  .navcontainer {
    font-size: 16px;
    position: absolute;
    transition: all 0.6s ease-in-out;
    top: 0;
    left: -100vw;
  }

  .menuicn {
    display: block;
    height: 25px;
  }

  .searchbar {
    position: relative;
    display: flex;
    transition: width 0.0s ease-out;
    width: 0px;
    justify-content: flex-end;
  }

  .searchbar i {
    font-size: 25px;
    cursor: pointer;
  }

  .searchbar input[type="text"] {
    width: 0;
    opacity: 0;
    transition: width 0.06s ease-in;
    transform: translateX(0);
  }

  .searchbar.expanded {
    width: 100%;
    opacity: 1;
  }

  .searchbar.expanded input[type="text"] {
    transition: width 0.6s ease-out;
    width: 50vw;
    opacity: 1;
  }

  header.expanded .logosec,
  header.expanded .login {
    width: 0;
    opacity: 0;
  }

  .navclose {
    left: 00px;
  }

  .main {
    padding: 15px 10px 10px 10px;
  }

}

@media screen and (max-width: 490px) {
  .login {
    width: 80px;
  }

  .searchbar.expanded input[type="text"] {
    width: 85vw;
  }


  .carousel-container {
    height: 200px;
  }

  .carousel-caption {
    font-size: 13px;
    bottom: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0) 100%);
  }

  .carousel-caption h3 {
    font-size: 1.1em;
    margin-bottom: 2px;
  }

  .carousel-caption p {
    font-size: 0.9em;
  }

  .menuicn {
    display: block;
  }

  .logosec {
    width: 100%;
    justify-content: flex-start;
  }

  .logo {
    font-size: 20px;
  }

  .message {
    gap: 10px;
  }


  .menuicn {
    display: block;
    height: 25px;
  }

  .nav-img {
    height: 25px;
  }

  .nav-option {
    gap: 25px;
  }

  .nav-option h3 {
    font-size: 12px;
  }

  .nav-upper-options {
    gap: 15px;
  }

  .recent-Articles {
    font-size: 20px;
  }

  .report-topic-heading,
  .item1,
  .items {
    width: 550px;
  }
}

@media screen and (max-width: 400px) {
  .recent-Articles {
    font-size: 17px;
  }

  .view {
    width: 60px;
    font-size: 10px;
    height: 27px;
  }

  .logosec {
    gap: 20px;
    margin: 0;
  }

  .logo {
    font-size: 20px;
  }


  .report-header {
    height: 60px;
    padding: 10px 10px 5px 10px;
  }
}

@media screen and (max-width: 320px) {
  .recent-Articles {
    font-size: 12px;
  }

  .view {
    width: 50px;
    font-size: 8px;
    height: 27px;
  }

  .report-header {
    height: 60px;
    padding: 10px 5px 5px 5px;
  }

  .t-op {
    font-size: 12px;
  }

  .t-op-nextlvl {
    font-size: 10px;
  }

  .report-topic-heading,
  .item1,
  .items {
    width: 300px;
  }

  .report-body {
    padding: 10px;
  }

  .label-tag {
    width: 70px;
  }

  .searchbtn {
    width: 40px;
  }

}

/* Single image display */
.single-image {
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.single-image .carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  text-align: left;
}

.single-image .carousel-caption h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.single-image .carousel-caption p {
  margin: 5px 0 0;
  font-size: 1em;
  opacity: 0.9;
}

/* Loading state for images */
.single-image img:not(.loaded) {
  opacity: 0;
}

.single-image img.loaded {
  opacity: 1;
}

/* Responsive adjustments for single image */
@media (max-width: 768px) {
  .single-image {
    height: 300px;
  }

  .single-image .carousel-caption h3 {
    font-size: 1.2em;
  }

  .single-image .carousel-caption p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .single-image {
    height: 250px;
  }

  .single-image .carousel-caption {
    padding: 15px;
  }

  .single-image .carousel-caption h3 {
    font-size: 1em;
  }

  .single-image .carousel-caption p {
    font-size: 0.8em;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .report-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
  }
}

@media screen and (max-width: 768px) {
  .report-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .cards {
    min-width: 100%;
  }

  .cards .img {
    height: 180px;
  }

  .cards .title {
    font-size: 1em;
    margin: 12px 12px 8px;
  }

  .cards .rating {
    margin: 0 12px 12px;
    font-size: 0.85em;
  }

  .cards .status-badge {
    padding: 5px 10px;
    font-size: 0.7em;
    top: 10px;
    right: 10px;
  }

  .cards .status-badge i {
    font-size: 1em;
  }

  .cards .status-badge::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .report-container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }

  .cards {
    min-width: 100%;
    max-width: 100%;
  }

  .cards .img {
    height: 160px;
  }

  .cards .title {
    font-size: 1.1em;
    margin: 15px 15px 10px;
  }

  .cards .rating {
    margin: 0 15px 15px;
    font-size: 0.9em;
  }

  .cards .status-badge {
    padding: 6px 12px;
    font-size: 0.75em;
    top: 12px;
    right: 12px;
  }

  .cards .status-badge i {
    font-size: 1.1em;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .cards:hover {
    transform: none;
  }

  .cards:hover .img img {
    transform: none;
  }

  .cards:hover .status-badge {
    transform: none;
  }

  .cards .status-badge::after {
    display: none;
  }
}

/* Remove old bookable styles */
.spot .bookable {
  display: none;
}

/* Use the same status-badge styles from report container */
.spot .status-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.spot .status-badge i {
  font-size: 1.1em;
}

/* Status Types */
.spot .status-badge.booking {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
}

.spot .status-badge.free {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
}

.spot .status-badge.closed {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.spot .status-badge.upcoming {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  color: white;
}

.spot .status-badge.special {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: white;
}

.spot .status-badge.limited {
  background: linear-gradient(135deg, #e67e22, #d35400);
  color: white;
}

/* Tooltip Styles */
.spot .status-badge::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  font-size: 0.75em;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.spot .status-badge:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: -40px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .spot .status-badge {
    padding: 5px 10px;
    font-size: 0.7em;
    top: 10px;
    right: 10px;
  }

  .spot .status-badge i {
    font-size: 1em;
  }

  .spot .status-badge::after {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .spot .status-badge {
    padding: 4px 8px;
    font-size: 0.65em;
    top: 8px;
    right: 8px;
  }

  .spot .status-badge i {
    font-size: 0.9em;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .spot .status-badge:hover::after {
    display: none;
  }
}