/* VRX VR Gallery Grid */
.vrx-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

/* Laptop large screen - 4 columns */
/* No media query needed since default is 4 */

/* Tablet: 2 columns */
@media (max-width: 992px) {
  .vrx-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
  .vrx-gallery {
    grid-template-columns: 1fr;
  }
}

/* Individual item */
.vrx-item {
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.vrx-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.vrx-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.vrx-item h4 {
  font-size: 1rem;
  color: #333;
  margin: 0;
  padding: 0 5px;
  line-height: 1.2;
}

/* Pagination styling */
.vrx-pagination {
  margin-top: 30px;
  text-align: center;
	background: black;
	margin: 0px 20px 0px 20px;
}

.vrx-pagination ul {
  list-style: none;
  display: inline-flex;
  gap: 0px;
  padding: 0;
  margin: 0;
	
}

.vrx-pagination ul li {
  display: inline-block;
}

.vrx-pagination ul li a,
.vrx-pagination ul li span {
  display: block;
  padding: 5px 8px;
/*   background: #FF4444; */
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.vrx-pagination ul li a:hover {
/*   background-color: #A65BF4; */
	background: transparent;
  color: #fff;
}

.vrx-pagination ul li .current {
  background-color:  #FF4444;
  color: #fff;
  cursor: default;
}

/* Modal for image viewer */
.vrx-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.vrx-modal.active {
  display: flex;
}

.vrx-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
}

#vrx-viewer {
  width: 90vw;
  max-width: 1200px;
  height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  background: #000;
}

/* Iframe modal styles */
.vrx-iframe-wrapper {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.vrx-iframe-wrapper.active {
  display: flex;
}

.vrx-iframe-wrapper iframe {
  width: 90%;
  height: 90%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.vrx-iframe-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10001;
}
