/* --------------------- Gallery Masonry Grid --------------------- */
.rajasthanTrip-gallery {
  column-count: 3;
  column-gap: 15px;
  padding: 0;
}

.rajasthanTrip-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.rajasthanTrip-item img,
.rajasthanTrip-item video {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.5s;
}

.rajasthanTrip-item:hover img,
.rajasthanTrip-item:hover video {
  transform: scale(1.1);
}

.rajasthanTrip-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.3s;
}

.rajasthanTrip-item:hover::after {
  opacity: 1;
}

/* --------------------- Modal --------------------- */
.rajasthanTrip-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  padding: 20px;
  overflow: hidden;
}

.rajasthanTrip-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rajasthanTrip-modal-content img,
.rajasthanTrip-modal-content video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  transition: transform 0.4s, opacity 0.4s;
  cursor: pointer;
}

.rajasthanTrip-caption {
  color: #fff;
  font-size: 1.2em;
  margin-top: 15px;
  text-align: center;
}

.rajasthanTrip-close,
.rajasthanTrip-prev,
.rajasthanTrip-next {
  position: absolute;
  font-size: 2.5em;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

.rajasthanTrip-close {
  top: 20px;
  right: 30px;
}

.rajasthanTrip-prev {
  left: 10px;
}

.rajasthanTrip-next {
  right: 10px;
}

.rajasthanTrip-close:hover,
.rajasthanTrip-prev:hover,
.rajasthanTrip-next:hover {
  color: #ff6347;
}

/* Thumbnails */
.rajasthanTrip-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  scroll-behavior: smooth;
  overflow-x: auto;
}

.rajasthanTrip-thumbs img,
.rajasthanTrip-thumbs video {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.rajasthanTrip-thumbs .active {
  border-color: #ff6347;
}

/* Actions */
.rajasthanTrip-actions {
  position: absolute;
  top: 20px;
  left: 30px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.rajasthanTrip-actions button {
  padding: 8px 12px;
  font-size: 0.9em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background: #fff;
  transition: 0.3s;
}

.rajasthanTrip-actions button:hover {
  background: #ff6347;
  color: #fff;
}

/* Share dropdown */
.rajasthanTrip-share-options {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 5px 0;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.rajasthanTrip-share-options button {
  width: 100%;
  padding: 5px 10px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .rajasthanTrip-gallery {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .rajasthanTrip-gallery {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .rajasthanTrip-gallery {
    column-count: 2;
  }
}





.button-wrapper {
    display: flex;
    gap: 20px; /* space between buttons */
    justify-content: center; /* center them horizontally */
    flex-wrap: wrap; /* for smaller screens */
    margin-bottom: 20px;
}

.ai-gradient-btn {
    position: relative;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    background: linear-gradient(45deg, #00ff66, #33ffcc, #00cc66, #009933);
    background-size: 400% 400%;
    animation: gradientMove 6s ease infinite;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



.p_lineheight { line-height:normal !important; }
