
/* Virtual Tours Page Styles */
.tours-hero {
    background-image: url('../images/living.jpg');
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                     url('https://images.unsplash.com/photo-1519669556878-63bdad8a1a49?ixlib=rb-4.0.3&auto=format&fit=crop&w=1771&q=80'); */
}

.featured-tour {
    padding: 60px 0;
    background-color: var(--white);
}

.tour-header {
    text-align: center;
    margin-bottom: 40px;
}

.tour-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.tour-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.tour-viewer {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.tour-navigation {
    position: relative;
    height: 500px;
}

.tour-scene {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.active-scene {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

/* Tour Card Slider Styles */
.tour-card-slider {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.tour-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tour-slide.active {
    opacity: 1;
    z-index: 1;
}

.tour-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-slider-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.slider-prev:hover,
.slider-next:hover {
    background: white;
    transform: scale(1.1);
    color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Modal Slider Styles */
.modal-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.modal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-slide.active {
    opacity: 1;
    z-index: 1;
}

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-slider-container.sliding .modal-slide {
    transition: opacity 0.5s ease;
}

/* Featured Tour Slider */
.scene-hotspots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.hotspot {
    position: absolute;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    z-index: 6;
}

.hotspot:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.hotspot:nth-child(1) {
    top: 30%;
    left: 20%;
}

.hotspot:nth-child(2) {
    top: 60%;
    left: 70%;
}

.hotspot:nth-child(3) {
    top: 80%;
    left: 40%;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
}

.nav-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.tour-controls {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: #111;
}

.control-btn {
    flex: 1;
    padding: 12px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    transition: var(--transition);
}

.control-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.tour-info {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tour-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.tour-details {
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
}

.detail-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #666;
}

.detail-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary-color);
}

.tour-description h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.tour-description p {
    line-height: 1.7;
    color: #666;
}

.all-tours {
    padding: 80px 0;
    background-color: var(--light-color);
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tour-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.tour-card:hover .tour-card-slider-controls {
    opacity: 1;
}

.tour-card-image {
    position: relative;
    height: 250px;
}

.tour-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 5;
}

.tour-card-content {
    padding: 25px;
}

.tour-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.tour-card-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tour-card-meta {
    display: flex;
    justify-content: space-between;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.start-tour-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.start-tour-btn:hover {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.tour-categories {
    text-align: center;
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark-color);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

.vr-experience {
    padding: 80px 0;
    background-color: var(--white);
}

.vr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.vr-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.vr-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.vr-features {
    margin-bottom: 30px;
}

.vr-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.vr-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.vr-feature h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.vr-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Tour Modal Styles */
.tour-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1200;
    overflow-y: auto;
    padding: 20px;
}

.tour-modal-content {
    max-width: 1200px;
    margin: 20px auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    animation: modalFade 0.5s ease-out;
}

.close-tour-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.close-tour-modal:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.tour-modal-body {
    padding: 0;
}

.tour-modal-viewer {
    position: relative;
}

.tour-modal-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: #000;
}

.tour-modal-scene {
    flex: 1;
    max-width: 900px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-prev-btn,
.modal-next-btn {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modal-prev-btn:hover:not(:disabled),
.modal-next-btn:hover:not(:disabled) {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.modal-prev-btn:disabled,
.modal-next-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tour-modal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
    border-top: 1px solid #333;
}

.scene-indicator {
    display: flex;
    gap: 10px;
}

.scene-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scene-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.scene-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.6);
}

.modal-control-buttons {
    display: flex;
    gap: 15px;
}

.modal-control-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.modal-control-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.modal-control-btn.playing {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.tour-modal-info {
    padding: 30px;
    background: #000;
    color: white;
    border-top: 1px solid #333;
}

.tour-modal-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.tour-modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.modal-detail-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.modal-detail-item h4 {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-detail-item p {
    font-size: 1.1rem;
    color: white;
    font-weight: 500;
}

.tour-scene-counter {
    text-align: center;
    font-size: 1.1rem;
    color: #aaa;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-slide img {
    animation: fadeIn 0.5s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .tour-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tour-navigation {
        height: 400px;
    }
    
    .modal-slider-container {
        height: 400px;
    }
    
    .vr-content {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .tour-header h2 {
        font-size: 2rem;
    }
    
    .tour-navigation {
        height: 350px;
    }
    
    .tour-controls {
        flex-direction: column;
    }
    
    .tour-card-slider {
        height: 200px;
    }
    
    .modal-slider-container {
        height: 350px;
    }
    
    .tour-modal-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .tour-modal-scene {
        order: 1;
    }
    
    .modal-prev-btn,
    .modal-next-btn {
        position: static;
        order: 2;
    }
    
    .tours-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .vr-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .vr-feature {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tour-header h2 {
        font-size: 1.8rem;
    }
    
    .tour-navigation {
        height: 250px;
    }
    
    .tour-card-slider {
        height: 180px;
    }
    
    .modal-slider-container {
        height: 250px;
    }
    
    .tour-modal-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-control-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .hotspot {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hotspot:nth-child(1) {
        top: 25%;
        left: 10%;
    }
    
    .hotspot:nth-child(2) {
        top: 65%;
        left: 75%;
    }
    
    .hotspot:nth-child(3) {
        top: 85%;
        left: 30%;
    }
}

/* Additional CSS for new features */

/* Room Navigation Styles */
.tour-room-nav {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.room-btn {
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.room-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    text-align: center;
}

.room-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.room-overlay .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.room-overlay .btn-secondary:hover {
    background: white;
    color: #000;
}

/* VR Container Styles */
#vrContainer {
    width: 100%;
    height: 500px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

#vrVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vr-controls {
    padding: 15px;
    text-align: center;
    background: #111;
}

/* Audio Guide Indicator */
.modal-control-btn.playing {
    background: var(--primary-color);
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Category Count Badges */
.category-btn {
    position: relative;
}

.category-btn::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: var(--secondary-color);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    display: none;
}

.category-btn.active::after {
    display: inline-block;
}

/* Loading Animation */
.tour-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: 1;
    border-radius: 10px 10px 0 0;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Additional CSS for new sections */

/* Loading Spinner */
.tour-loading {
    text-align: center;
    padding: 60px 0;
    grid-column: 1 / -1;
}

.loading-spinner {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.tour-loading p {
    font-size: 1.2rem;
    color: #666;
}

.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Audio Guide Section */
.audio-guide-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.audio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.audio-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.audio-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.audio-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.audio-features {
    list-style: none;
    margin-bottom: 30px;
}

.audio-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.audio-features li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.audio-controls-demo {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.audio-controls-demo small {
    display: block;
    margin-top: 10px;
    color: #888;
    font-size: 0.9rem;
}

/* Locations Section */
.locations-section {
    padding: 80px 0;
    background-color: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.location-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-info {
    padding: 20px;
    background: var(--white);
}

.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.location-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.location-count {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* VR Overlay */
.vr-image {
    position: relative;
}

.vr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
}

.vr-overlay i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.vr-overlay h3 {
    font-size: 2rem;
    text-align: center;
}

/* Footer Tours Links */
.footer-tours h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-tours ul {
    list-style: none;
}

.footer-tours li {
    margin-bottom: 10px;
}

.footer-tours a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-tours a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Modal Styles for VR Setup and Audio Demo */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1300;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    max-width: 800px;
    margin: 50px auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    position: relative;
    animation: modalFade 0.5s ease-out;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.vr-setup-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.step {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step ul {
    list-style: none;
    padding-left: 0;
}

.step li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.step li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Audio Demo Styles */
.audio-demo {
    margin-top: 30px;
}

.audio-player {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.audio-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.audio-info p {
    color: #666;
    margin-bottom: 20px;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.audio-control {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.audio-control:hover {
    transform: scale(1.1);
}

.progress-container {
    flex: 1;
    height: 5px;
    background: #ddd;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    border-radius: 5px;
    transition: width 0.1s linear;
}

.time-display {
    color: #666;
    font-size: 0.9rem;
    min-width: 80px;
    text-align: center;
}

.audio-transcript {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
}

.audio-transcript h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.audio-transcript p {
    line-height: 1.7;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .audio-content {
        gap: 30px;
    }
    
    .vr-setup-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .audio-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .audio-features li {
        justify-content: center;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-content {
        padding: 30px 20px;
        margin: 20px auto;
    }
    
    .audio-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .progress-container {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        padding: 20px 15px;
    }
    
    .audio-controls {
        gap: 10px;
    }
    
    .audio-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Hotspot Overlay Styles */
.hotspot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.hotspot-content {
    max-width: 800px;
    width: 90%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.hotspot-content img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hotspot-info {
    padding: 25px;
    text-align: center;
}

.hotspot-info h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.hotspot-info p {
    color: #666;
    margin-bottom: 20px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* VR Play Overlay */
.vr-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
}

.vr-play-content {
    text-align: center;
    color: white;
}

.vr-play-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.vr-play-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.vr-play-content p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Room Slide Styles */
.room-slide {
    position: relative;
}

.room-slide .room-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px 20px;
    color: white;
    text-align: center;
}

.room-slide .room-overlay h4 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.room-slide .room-overlay p {
    color: #ddd;
    font-size: 1rem;
}

/* Animation for modal */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for audio */
audio:not([src]) {
    display: none;
}

/* Audio button states */
.modal-control-btn.playing {
    background: var(--primary-color);
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

/* Dark mode adjustments */
body.dark-mode .hotspot-content {
    background: #2a2a2a;
}

body.dark-mode .hotspot-info h4 {
    color: #f0f0f0;
}

body.dark-mode .hotspot-info p {
    color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hotspot-content img {
        height: 300px;
    }
    
    .hotspot-info {
        padding: 20px;
    }
    
    .hotspot-info h4 {
        font-size: 1.5rem;
    }
    
    .vr-play-content i {
        font-size: 3rem;
    }
    
    .vr-play-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hotspot-content img {
        height: 250px;
    }
    
    .hotspot-info {
        padding: 15px;
    }
    
    .hotspot-info h4 {
        font-size: 1.3rem;
    }
    
    .vr-play-content i {
        font-size: 2.5rem;
    }
    
    .vr-play-content h3 {
        font-size: 1.2rem;
    }
}

/* Dark Mode Styles */
body.dark-mode .audio-guide-section {
    background-color: #2a2a2a;
}

body.dark-mode .audio-controls-demo,
body.dark-mode .step,
body.dark-mode .audio-player,
body.dark-mode .audio-transcript {
    background-color: #333;
    color: #f0f0f0;
}

body.dark-mode .audio-info h3,
body.dark-mode .audio-transcript h4,
body.dark-mode .step h3 {
    color: #f0f0f0;
}

body.dark-mode .audio-info p,
body.dark-mode .audio-transcript p {
    color: #ccc;
}

body.dark-mode .modal-content {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

body.dark-mode .close-modal {
    color: #ccc;
}

body.dark-mode .close-modal:hover {
    color: var(--primary-color);
}

body.dark-mode .location-info {
    background-color: #2a2a2a;
}

body.dark-mode .location-info h3 {
    color: #f0f0f0;
}

body.dark-mode .location-info p {
    color: #ccc;
}

body.dark-mode .footer-tours a {
    color: #ccc;
}

body.dark-mode .footer-tours a:hover {
    color: var(--primary-color);
}

/* Dark mode adjustments */
body.dark-mode .tour-room-nav .room-btn {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f0f0f0;
    border-color: #555;
}

body.dark-mode .tour-room-nav .room-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tour-room-nav {
        gap: 8px;
    }
    
    .room-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    #vrContainer {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .tour-room-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .room-btn {
        width: 80%;
        justify-content: center;
    }
}

/* Dark mode styles for tours */
body.dark-mode .tour-info,
body.dark-mode .tour-card {
    background-color: #2a2a2a;
    color: #f0f0f0;
}

body.dark-mode .tour-info h3,
body.dark-mode .tour-card-content h3,
body.dark-mode .tour-description h4,
body.dark-mode .detail-item p {
    color: #f0f0f0;
}

body.dark-mode .detail-item h4 {
    color: #ccc;
}

body.dark-mode .tour-card-description {
    color: #ccc;
}

body.dark-mode .category-btn {
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .category-btn:hover,
body.dark-mode .category-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

body.dark-mode .vr-text h2 {
    color: #f0f0f0;
}

body.dark-mode .vr-text p {
    color: #ccc;
}

body.dark-mode .vr-feature h4 {
    color: #f0f0f0;
}

body.dark-mode .control-btn {
    background-color: #333;
    color: #f0f0f0;
}

body.dark-mode .control-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

body.dark-mode .tour-card-slider-controls .slider-prev,
body.dark-mode .tour-card-slider-controls .slider-next {
    background: rgba(255, 255, 255, 0.2);
    color: #f0f0f0;
}

body.dark-mode .tour-card-slider-controls .slider-dots {
    background: rgba(0, 0, 0, 0.7);
}

body.dark-mode .tour-card-slider-controls .slider-dot {
    background: rgba(255, 255, 255, 0.4);
}

body.dark-mode .tour-card-slider-controls .slider-dot.active {
    background: white;
}

/* Audio Demo Modal Styles */
.audio-demo-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.audio-demo-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-audio-demo {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-audio-demo:hover {
    color: var(--primary-color);
}

.audio-demo-body h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.audio-player-demo {
    background: linear-gradient(135deg, var(--light-color), #f5f5f5);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.05);
}

.play-btn.playing {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: #ddd;
    border-radius: 3px;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
}

.time-info {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    min-width: 70px;
}

.mute-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mute-btn:hover {
    color: var(--primary-color);
}

.mute-btn.muted {
    color: var(--primary-color);
}

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

#volumeSlider {
    flex: 1;
    height: 4px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: #ddd;
    border-radius: 2px;
    outline: none;
}

#volumeSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

#volumeSlider::-webkit-slider-thumb:hover {
    background: var(--secondary-color);
    width: 16px;
    height: 16px;
}

#volumeSlider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

#volumeSlider::-moz-range-thumb:hover {
    background: var(--secondary-color);
    width: 16px;
    height: 16px;
}

.audio-description {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.audio-description p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Dark Mode Styles for Audio Demo Modal */
body.dark-mode .audio-demo-modal-content {
    background-color: #2a2a2a;
}

body.dark-mode .audio-demo-body h3 {
    color: #f0f0f0;
}

body.dark-mode .audio-player-demo {
    background: linear-gradient(135deg, #1a1a1a, #252525);
}

body.dark-mode .time-info {
    color: #aaa;
}

body.dark-mode .mute-btn {
    color: #bbb;
}

body.dark-mode .mute-btn:hover {
    color: var(--primary-color);
}

body.dark-mode .audio-description {
    background: #1a1a1a;
}

body.dark-mode .audio-description p {
    color: #aaa;
}

body.dark-mode .progress-container {
    background: #444;
}

body.dark-mode .progress-bar {
    background: #444;
}

body.dark-mode #volumeSlider {
    background: #444;
}
