/* Virtual Tour Page Specific Styles */

/* Tour page hero */
.page-hero {
    background: linear-gradient(rgba(44, 62, 80, 0.80), rgba(44, 62, 80, 0.85)), url('../images/_A9A7539.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* Tour Navigation */
.tour-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tour-nav-btn {
    background: var(--white);
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tour-nav-btn i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.tour-nav-btn span {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.tour-nav-btn:hover,
.tour-nav-btn.active {
    background: var(--primary);
    transform: translateY(-5px);
}

.tour-nav-btn:hover i,
.tour-nav-btn:hover span,
.tour-nav-btn.active i,
.tour-nav-btn.active span {
    color: var(--white);
}

/* Tour Viewer */
.tour-container {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tour-view {
    display: none;
}

.tour-view.active {
    display: block;
}

.tour-frame {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.tour-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.tour-frame video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.tour-info {
    display: none;
    padding: 20px;
    background: var(--light);
    border-radius: 10px;
    margin-top: 30px;
}

.tour-info.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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

.tour-info p {
    color: var(--text-body);
    margin-bottom: 20px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.feature-list li i {
    width: 35px;
    height: 35px;
    background: rgba(198, 40, 40, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.feature-list li:hover i {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

/* Instructions Section */
.instruction-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.instruction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.instruction-icon {
    width: 70px;
    height: 70px;
    background: rgba(198, 40, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.instruction-icon i {
    font-size: 1.8rem;
    color: var(--primary);
}

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

.instruction-card p {
    color: var(--text-body);
    margin: 0;
}

/* CTA Section */
.tour-cta {
    background: linear-gradient(rgba(44, 62, 80, 0.95), rgba(44, 62, 80, 0.95)), url('/assets/images/_A9A7604.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.tour-cta h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tour-cta .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-view.active {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .tour-nav {
        gap: 15px;
    }

    .tour-nav-btn {
        padding: 12px 20px;
    }

    .tour-nav-btn i {
        font-size: 1.3rem;
    }

    .tour-container {
        padding: 20px;
    }

    .tour-frame video {
        border-radius: 8px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .instruction-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        background-attachment: scroll !important;
    }
    
    .tour-nav {
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .tour-nav-btn {
        padding: 10px 15px;
        flex: 1 1 calc(50% - 10px);
        min-width: 0;
    }

    .tour-nav-btn i {
        font-size: 1.2rem;
    }
    
    .tour-nav-btn span {
        font-size: 0.8rem;
    }
    
    .tour-container {
        padding: 20px 15px;
    }

    .tour-frame {
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .tour-frame video {
        border-radius: 8px;
    }
    
    .tour-info {
        padding: 18px;
        margin-top: 20px;
    }

    .tour-info h2 {
        font-size: 1.5rem;
    }
    
    .tour-info p {
        font-size: 0.95rem;
    }
    
    .feature-list li {
        font-size: 0.95rem;
    }
    
    .instruction-card {
        padding: 25px 20px;
    }

    .instruction-icon {
        width: 60px;
        height: 60px;
    }

    .instruction-icon i {
        font-size: 1.5rem;
    }
    
    .instruction-card h3 {
        font-size: 1.2rem;
    }
    
    .instruction-card p {
        font-size: 0.95rem;
    }

    .tour-cta {
        background-attachment: scroll !important;
    }
    
    .tour-cta h2 {
        font-size: 1.8rem;
    }
    
    .tour-cta .lead {
        font-size: 1rem;
    }
}
