/* Виртуальные туры - особенности */
.tour-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tour-feature {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tour-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tour-feature i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tour-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.tour-feature p {
    color: #666;
    font-size: 0.9rem;
}

/* Карточки туров */
.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.tour-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tour-preview {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.tour-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover .tour-preview img {
    transform: scale(1.05);
}

.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge.popular {
    background: #ffeb3b;
    color: #333;
}

.badge.vr {
    background: #00bcd4;
    color: white;
}

.badge.new {
    background: #f44336;
    color: white;
}

.badge.ar {
    background: #9c27b0;
    color: white;
}

.tour-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.tour-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

.tour-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

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

.tour-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tour-tag {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.tour-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 0.95rem;
    white-space: nowrap;
}

.start-tour {
    background: var(--primary-color);
    color: white;
}

.start-tour:hover {
    background: var(--secondary-color);
}

.tour-btn.preview {
    background: var(--light-color);
    color: var(--primary-color);
}

.tour-btn.preview:hover {
    background: #d5d8f0;
}

/* Инструкция по использованию */
.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 40px auto;
}

.tutorial-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Для преподавателей */
.for-teachers {
    margin: 60px 0;
}

.teachers-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.teachers-icon {
    font-size: 60px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.teachers-content {
    flex-grow: 1;
}

.teachers-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.teachers-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.teachers-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.teachers-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    white-space: nowrap;
}

.teachers-btn.demo {
    background: var(--primary-color);
    color: white;
}

.teachers-btn.contact {
    background: var(--light-color);
    color: var(--primary-color);
}

.teachers-btn.demo:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.teachers-btn.contact:hover {
    background: #d5d8f0;
    transform: translateY(-2px);
}

/* Responsive для virtual-tours.html */
@media (max-width: 768px) {
    .tour-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .teachers-card,
    .tutorial-step {
        flex-direction: column;
        text-align: center;
    }
    
    .teachers-icon,
    .step-number {
        margin-bottom: 20px;
    }
    
    .tour-actions {
        flex-direction: column;
    }
    
    .tour-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .tour-features {
        grid-template-columns: 1fr;
    }
    
    .tour-badge {
        flex-direction: row;
        top: 10px;
        right: 10px;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .teachers-actions {
        flex-direction: column;
    }
    
    .teachers-btn {
        width: 100%;
        justify-content: center;
    }
}