/* Panorama Styles */
.about-panorama {
    position: relative;
    animation: fadeIn 1s ease-out;
    user-select: none;
}

.panorama-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.panorama-scene {
    width: 100% !important;
    height: 400px !important;
    border-radius: 12px;
}

.panorama-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.panorama-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panorama-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 2rem 1.5rem 1rem;
    color: white;
    font-size: 0.9rem;
}

.panorama-caption p {
    margin: 0;
}


.panorama-instructions {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    z-index: 10;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    transition: opacity 0.5s ease;
}

.panorama-instructions p {
    margin: 0;
}

.hint-icon {
    animation: pulse 2s infinite;
}

/* A-Frame Custom Styles */
.a-enter-vr {
    position: absolute !important;
    bottom: 5px !important;
    left: 10px !important;
}

.a-enter-vr-button {
    background-color: rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    backdrop-filter: blur(5px) !important;
}

/* Gallery Styles */
  .trip-gallery {
    margin-top: 2rem;
  }
  
  .trip-gallery h3 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: var(--dark);
  }
  
  .gallery-container {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: auto;
  }
  
  .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 180px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .gallery-overlay i {
    font-size: 2rem;
  }
  
  .gallery-overlay span {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }




@media (max-width: 786px) {
  .gallery-container .gallery-item:nth-child(n+4) {
    display: none;
    }
  
}

/* Gallery Responsive Styles */
@media screen and (max-width: 992px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .panorama-scene {
        height: 300px !important;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

